Docker performance IO

I’m running a benchmark to test IO runtime differences between Docker containers and its host, and I noticed something strange. I’ve performed random writes/reads.
The storage driver for the container is aufs.

If the file to be written/read is smaller or equals to 1GB, docker is faster than the host (otherwise, if the file is bigger, docker is slower).
Why do I get those results for small files?

  • docker swarm mode multiple services same port
  • How can I create and use a variable inside docker?
  • Error Running Dockerrun.aws.json file ERROR: ValueError :: Extra data
  • Running docker commands in bash script leads to segmentation fault
  • docker rabbitmq hostname issue
  • docker - how do you disable auto-restart on a container?
  • How Can I Run A Command That Does Not Exit Upon Failure Until It Succeeds?
  • Unable to resolve ip from hostname inside container
  • My boot2docker installation seems to not be working. What am I doing wrong?
  • docker network port binding
  • docker build of Dockerfile fails
  • Sebp/elk not running on docker with error
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.