Ubuntu file system benchmarking

I found a neat way of benchmarking filesystems this morning. Using the following command:
dd bs=1000000 count=1000 if=/dev/zero of=testfile & speedometer testfile

Basically it monitors the creation of the file and plots a graph as it’s getting created. Running it on my ZFS partition (with dedup and compression), it got about 10MB/s, and on my RAID5 it got 100MB/s. It’s rather surprising because one would think that ZFS could write a whole bunch of zeros really easily. Clearly not. I’m beginning to form a strong dislike of ZFS.

András Fekete

Liked it? Take a second to support me on Patreon!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.