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?

  • Host port with DB to Docker container
  • Docker container unable to clone from
  • docker : where to find the docker-compose.yml and the physical image of the machine
  • Why does running some docker images must add a command?
  • Can docker-compose directly reference other docker-compose files and start everything in them?
  • How to automatically update your docker containers, if base-images are updated
  • Unable to install docker-compose with pip, “ImportError: No module named dockerpycreds”
  • Flow of registration between kafka and zookeeper
  • How containerd compares to runC
  • How to build docker image frome .drone.yml?
  • How to keep the docker container up and running?
  • How to tunnel a docker X windows to a remote host?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.