Btrfs Zstd Compression Benchmarks On Linux 4.14
The threaded I/O tester with Btrfs compression led to slower performance.
While in Dbench, the compressed results were all about the same speed.
LZO and Zstd were the fastest with FS-Mark.
The same with CompileBench.
Over the course of all these I/O benchmarks executed, the CPU utilization of Btrfs LZO/Zlib/Zstd compression ended up being right around the same as Btrfs running out-of-the-box, for this Core i7 Broadwell CPU.
Overall, among the Btrfs compression options, Zstd is performing very well. Keep in mind though with I/O benchmarks, the data tends to be easily compressible compared to more real-world and unique data-sets. It will also be interesting to see how the Btrfs compression performance compares on Linux 4.15 where there is configurable Zlib compression levels and also improvements around the overall Btrfs compression heuristics.
If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.