HAMMER2 File-System Now Uses LZ4 Compression By Default

Written by Michael Larabel in BSD on 30 May 2015 at 09:32 AM EDT. 2 Comments
BSD
DragonFlyBSD's HAMMER2 file-system has seen a lot of progress made recently. One of the latest additions to this HAMMER successor is enabling LZ4 compression by default.

Like Btrfs, HAMMER2 supports transparent file-system compression. With this commit by Matthew Dillon, there's now LZ4 enabled by default whenever creating a new PFS (Psuedo File-System). Previously there was no compression by default. This change doesn't affect existing HAMMER2 setups.

Besides saving disk space, it's possible to yield faster performance too depending upon the file contents. For some benchmarks I did a few years ago, there's some old Btrfs compression numbers. I haven't yet run any HAMMER2 file-system benchmarks but will do so on DragonFlyBSD once the file-system has stabilized or is nearing its rollout by default.
Related News
About The Author
Michael Larabel

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 20,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, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week