HAMMER vs. HAMMER2 Benchmarks On DragonFlyBSD 5.6
Written by Michael Larabel in BSD on 18 June 2019 at 07:33 PM EDT. 25 Comments
BSD --
With the newly released DragonFlyBSD 5.6 there are improvements to its original HAMMER2 file-system to the extent that it's now selected by its installer as the default file-system choice for new installations. Curious how the performance now compares between HAMMER and HAMMER2, here are some initial benchmarks on an NVMe solid-state drive using DragonFlyBSD 5.6.0.


With a 120GB Toshiba NVMe SSD on an Intel Core i7 8700K system, I ran some benchmarks of DragonFlyBSD 5.6.0 freshly installed with HAMMER2 and then again when returning to the original HAMMER file-system that remains available via its installer. No other changes were made to the setup during testing.

All of the benchmarks were carried out using the open-source Phoronix Test Suite benchmarking software.


Within the real-world PostgreSQL database server benchmarks, HAMMER2 is faster than HAMMER. In particular, the write performance is much better on this new version of HAMMER under development the past several years.


The BlogBench workload was also seeing much better performance.

In simple workloads like Git on the GTK source repository, the performance didn't end up being measurable different.

And then for the more synthetic workloads it was just a mix. But overall HAMMER2 was performing well during the initial testing and great to see it continuing to offer noticeable leads in real-world workloads compared to the aging HAMMER file-system. HAMMER2 also offers better clustering, online deduplication, snapshots, compression, encryption, and many other modern file-system features.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related BSD News
Popular News This Week