Docker Storage Performance Tests

Want to help support this blog? Try out Oh Dear, the best all-in-one monitoring tool for your entire website, co-founded by me (the guy that wrote this blogpost). Start with a 10-day trial, no strings attached.

We offer uptime monitoring, SSL checks, broken links checking, performance & cronjob monitoring, branded status pages & so much more. Try us out today!

Profile image of Mattias Geniar

Mattias Geniar, February 01, 2015

Follow me on Twitter as @mattiasgeniar

homepage-docker-logo

Red Hat has published two very interesting blogposts concerning the performance of Docker, and more specifically – the storage drivers available. They’re over 6 months old, but still relevant and mentioned in this weekends’ Fosdem talks.

Which storage driver are you using?

You can use docker info to find out.

$ docker info
Containers: 21
Images: 47
...
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Dirs: 89
...

The “Storage Driver” section contains all your info. In my case, it’s using aufs because the aufs-tools package is installed. After the install, Docker will magically start to use the aufs driver for your docker containers.

Storage “Graph” Driver performance tests

Docker users can chose between devicemapper, vfs, aufs, btrfs and OverlayFS (kernel 3.18+) for their storage driver. Each having their own pro’s and con’s. So which to pick?

The Red Hat blogpost “Comprehensive Overview of Storage Scalability in Docker” has some very interesting stats on each of those drivers. I suggest having a look at it when implementing Docker in your environment.

Docker performance on RHEL 7

A month earlier, Red Hat published another blogpost on the docker performance on their RHEL7 platform. This led to a presentation they shared on Youtube.

Again, a recommendation if you’re going to give Docker a try.



Want to subscribe to the cron.weekly newsletter?

I write a weekly-ish newsletter on Linux, open source & webdevelopment called cron.weekly.

It features the latest news, guides & tutorials and new open source projects. You can sign up via email below.

No spam. Just some good, practical Linux & open source content.