Using Disk Compression With Btrfs To Enhance Performance

Written by Michael Larabel in Software on 28 August 2010 at 09:13 AM EDT. Page 4 of 4. 24 Comments.

Threaded random writes are not any faster with Btrfs compression.

The PostMark test results for using Btrfs compression were not measurably faster than using Btrfs in its stock SSD mode without block compression.

Lastly, when measuring the time to unpack the Linux kernel source package, using Btrfs compression slowed down the process dramatically.

In a number of tests the disk performance was faster when enabling the Btrfs transparent zlib compression (such as with IOzone and Dbench) while with others (Compile Bench, Threaded I/O Tester, and Unpack Linux) the performance actually dropped and in the remainder of the tests there was no statistical change in one direction or the other. Once the Linux 2.6.36 kernel is nearing its release, we will be back with many more Btrfs benchmarks especially if the current Btrfs regressions that degrade its performance against the EXT4 file-system are hopefully addressed.

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.


Related Articles
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.