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?

  • Using variables in composer scripts
  • How to make mysql and php work together and without show the database password
  • How do I link two running docker containers together?
  • Problems with Sailsjs application in Docker container
  • Conditional Block in Docker
  • Docker-machine - set configuration as default
  • Docker: how to manage development and production settings?
  • Is it possible to set maximum delay timeout for restart policy for a container?
  • Using Azure Container Service with volume mapping
  • Docker - running commands from all containers
  • docker swarm - etcd cluster is unavailable or misconfigured
  • how to save a docker redis container
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.