1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Using Disk Compression With Btrfs To Enhance Performance

Michael Larabel

Published on 28 August 2010
Written by Michael Larabel
Page 1 of 4 - 23 Comments

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.

Latest Articles & Reviews
  1. Linux Compiler Benchmarks Of LLVM Clang 3.5 vs. LLVM Clang 3.6-rc1
  2. Intel Broadwell HD Graphics 5500: Windows 8.1 vs. Linux
  3. Linux Benchmarks Of NVIDIA's Early 2015 GeForce Line-Up
  4. NVIDIA GeForce GTX 960: A Great $200 GPU For Linux Gamers
  5. Disk Encryption Tests On Fedora 21
  6. Xonotic 0.8 Performance With The Open-Source AMD/NVIDIA Gallium3D Drivers
Latest Linux News
  1. How To Use GCC 5's OpenMP & OpenACC Offloading Support
  2. Linux Users Upset By Chromium's Busted HiDPI Support
  3. BPF Backend Merged Into LLVM To Make Use Of New Kernel Functionality
  4. Dying Light Is Headed To Linux, SteamOS
  5. Wayland 1.6.1 & Weston 1.6.1 Released
  6. Mesa 10.4.3 Brings A Bunch Of Fixes For The Direct3D "Nine" Support
  7. Intel Has A Few More Graphics Changes For The Linux 3.20 Kernel
  8. Gummiboot Gains PE File Searching Support To Find Linux Kernels
  9. Wine 1.7.35 Starts Working On OpenGL Core Context Support
  10. X.Org Server 1.17 Pre-Release "TimTam" Is Out
Most Viewed News This Week
  1. Windows 10 To Be A Free Upgrade: What Linux Users Need To Know
  2. CoreOS Moves From Btrfs To EXT4 + OverlayFS
  3. Google Admin Encourages Trying Btrfs, Not ZFS On Linux
  4. TraceFS: The Newest Linux File-System
  5. Mozilla's Servo Still On Track For 2015 Alpha Release
  6. My Initial Intel Broadwell Linux Experience With The ThinkPad X1 Carbon
  7. Fedora 23 Likely To Pursue Wayland By Default
  8. Keith Packard Leaves Intel's Linux Graphics Work