Using Disk Compression With Btrfs To Enhance Performance

Published on August 28, 2010
Written by Michael Larabel
Page 1 of 4
Discuss This Article

Earlier this month we delivered benchmarks comparing the ZFS, EXT4, and Btrfs file-systems from both solid-state drives and hard drives. The EXT4 file-system was the clear winner in terms of the overall disk performance while Btrfs came in second followed by Sun's ZFS in FreeBSD 8.2. It was a surprise that in our most recent testing the EXT4 file-system turned around and did better than the next-generation Btrfs file-system, but it turns out that Btrfs regressed hard in Linux 2.6.35 as to be found in Ubuntu 10.10 and other soon-to-be-released distributions. However, regardless of where Btrfs is performing, its speed can be boosted by enabling its transparent zlib compression support.

In this article we have our Btrfs test results when the zlib compression mount option was enabled for looking at the SSD compression performance added to our EXT4 and Btrfs results from the last article. Again, the test system was a Lenovo ThinkPad W510 with an Intel Core i7 Q 720M CPU, there was 4GB of DDR3 system memory, an OCZ Vertex 2 60GB SSD was used as the disk, and NVIDIA Quadro FX 880M 1GB graphics. The operating system was an Ubuntu 10.10 (x86_64) development snapshot with the Linux 2.6.35 kernel, X.Org Server 1.8.2 RC2, NVIDIA 256.35 display driver, and GCC 4.4.5.

The Phoronix Test Suite tests included Gzip compression, Apache, Compile Bench, IOzone, Dbench, FS-Mark, Flexible I/O Tester, Threaded I/O Tester, PostMark, and Unpack Linux.

Starting off by measuring the time to compress a 2GB file using zlib compression, there was a small but statistically insignificant gain when enabling the zlib-based transparent compression for Btrfs.

There was also no measurable performance gain or loss when enabling the Btrfs compression and running the Apache server benchmark. With the regressed Linux 2.6.35 kernel, EXT4 still was the frontrunner.

Having zlib compression enabled with the "initial create" task in Compile Bench resulted in a 30% drop in performance for Btrfs, which put it at being nearly 70% slower than the common EXT4 file-system.

Guaranteed success in 350-018 exam with our self paced pass4sure 70-646 study packages, also get free 642-062 dumps for ensuring your 100% success.

<< Previous Page
1
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Linux Desktop Security Could Be A Whole Lot Better
  2. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  3. New NVIDIA Linux Driver Supports The GeForce GTX 780
  4. Chrome 28 To Offer More Speed Improvements
  5. Digia Announces "Boot To Qt" Project
  6. X.Org Libraries Hit By Round Of Security Issues
  7. Wayland's Weston Gets Output Scaling Support
  8. Raspberry Pi Gets New Wayland Weston Renderer
  9. Debian GNU/Hurd 2013 Release Brings New Packages
  10. Intel Ultrabook Performance Is Faster With Mesa 9.2
  11. Hot Relocation HDD To SSD Support For Btrfs
Latest Forum Talk
  1. X.Org Libraries Hit By Round Of Security Issues
  2. Fedora 18 Comes To ARMv6, Raspberry Pi
  3. Linux Desktop Security Could Be A Whole Lot Better
  4. ubuntu and intel
  5. What Would You Like To See Next?
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite