Difficulty: Beginner
Estimated Time: 10 minutes

Part of OSCON 2016 Tutorial

Don’t stop now! The next scenario will only take about 10 minutes to complete.

CPU Hashing

CPU Hashing

Host

Identify the benchmark of the host machine using the following command.

dd if=/dev/zero bs=1M count=256 | md5sum

Container

Identify if Docker adds any overhead by running the command inside a container.

docker run -it ubuntu bash -c 'dd if=/dev/zero bs=1M count=256 | md5sum'