Skip to content

About Benchmark

On this section you can found several tools to bench the performance of your hardware/system.

We don't use the benchmark to play. We use the benchmark process to validate our infrastructure and his stability.

Disk benchmark

We want to know the read and write speeds of our hard drives and SSDs.

Linux purpose several tools to do these test.

Cache cleaning

First step, before to test your write & read speed you must clean the cache.

To do that just enter in your terminal sudo sysctl -w vm.drop_caches=3.

Test the write speed

sync; dd if=/dev/zero of=/your/path/tempfile bs=1M count=1024; sync

If you want to grow the tempfile size to test with more larger file you can grow the bs value or the count as you wish.

Test the read speed

Warning

Before to test your read speed don't forget to create the source tempfile in first (you can use the same you have used to write speed test).

sysctl -w vm.drop_caches=3
dd if=/your/path/tempfile of=/dev/null bs=1M count=1024