Difficulty: Beginner
Estimated Time: 10 minutes

Part of OSCON 2016 Tutorial

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'