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 Benchmarking Platform
Phoromatic Test Orchestration

Benchmarks Of The Btrfs Space Cache Option

Michael Larabel

Published on 24 December 2010
Written by Michael Larabel
Page 4 of 4 - 21 Comments

When the Dbench client count was set to 12, the benefits of using space_cache were much smaller but still measurable. There was also a small improvement tacked onto the compress results when using both mount options.

Using the compress mount option more than tripled the write performance with FS-Mark while the space_cache option only enhanced the Btrfs file-system performance by a tiny bit.

With 64MB random writes using 32 threads on Threaded I/O Tester, the space_cache option provided for some improvements while again the compress option resulted in a much more dramatic speed-up.

Lastly, with AO-Stress, the space_cache mount option was worthwhile but not as comparatively great as using the compress option.

Overall, the space_cache option when using the Btrfs file-system on Linux 2.6.37+ kernels will result in improved performance. However, in two of the tests there were odd performance regressions when pairing the space_cache and compress mount options. One of the only other drawbacks to using space_cache on Btrfs is that when the file-system is mounted with this option, the file-system can no longer be mounted later on by any pre-2.6.37 kernels due to the disk format changing. The compress mount option continues to work very well for speeding up the Btrfs performance in nearly every test. Going forward though the space_cache option is great and eventually will hopefully be used by default.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux News
  1. Phoronix Test Suite 5.8 Milestone 5 Brings Near Final "Belev" Experience
  2. For AMD Users, Linux 4.2 Will Bring The New AMDGPU Driver & VCE1 For Radeon
  3. Atomic Mode-Setting Still Baking For Samsung's Exynos DRM Driver
  4. Ubuntu Phone Update This Month Brings Many Improvements
  5. Fedora's "Fedup" To Be Replaced In Fedora 23
  6. Android M Should Bring Greater Performance & Efficiency
  7. AMD Teases Upcoming Radeon "Fiji" GPU Launch
  8. Dell Makes An Ubuntu Installation Guide, Suggests Users Try It Out
  9. Running Linux On The Intel Compute Stick
  10. AMD Launches The A10-7870K "Godavari" APU
Latest Articles & Reviews
  1. Opening The Gates To Our Daily Open-Source Linux Benchmark Results
  2. The Latest Features For Linux Performance Management + Benchmark Monitoring
  3. Noctua NH-U12DX i4 + NF-F12
  4. Btrfs RAID 0/1 Benchmarks On The Linux 4.1 Kernel
Most Viewed News This Week
  1. NVIDIA's Proprietary Driver Is Moving Closer With Kernel Mode-Setting
  2. Zapcc Claims To Be A "Much Faster C++ Compiler"
  3. OpenWRT 15.05 Preparing Improved Security & Better Networking
  4. Features Added To Mesa 10.6 For Open-Source GPU Drivers
  5. Ubuntu's LXD vs. KVM For The Linux Cloud
  6. The Latest Linux Kernel Git Code Fixes The EXT4 RAID0 Corruption Problem
  7. Fedora 22 Is Being Released Next Tuesday
  8. Friction Building Around An Ubuntu Community Council Decision