Benchmarks Of The Btrfs Space Cache Option

Published on December 24, 2010
Written by Michael Larabel
Page 4 of 4
Discuss This Article

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.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.

4
Next Page >>
Latest Hardware Reviews
  1. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  2. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  3. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
  4. AMD Radeon Gallium3D More Competitive With Catalyst On Linux
Latest Software Articles
  1. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  2. GCC 4.8.1 Compiler Due To Be Out Next Week
  3. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
  4. Linux's "Ondemand" Governor Is No Longer Fit
  5. Firefox 22 Beta Enables WebRTC Support
  6. OpenSUSE 13.1 Milestone 1 Released
  7. DRM Graphics Driver Comes For Dove/Cubox
  8. JADE: An LLVM-Based Video Decoder For MPEG RVC
  9. Ubuntu 13.10 Likely Switching To Chromium Browser
  10. Unity 7, Compiz To Be Polished For Ubuntu 13.10
  11. Unity 8, Mir To Be Experimental Choice In Ubuntu 13.10
Latest Forum Talk
  1. Linux Game Development and a Qt Developers Rage
  2. Linux's "Ondemand" Governor Is No...
  3. Greater Radeon Gallium3D Shader Optimization Tests
  4. Fedora 19 Alpha Gets Its First Delay Due To UEFI
  5. OpenSUSE 13.1 Milestone 1 Released
  6. Firefox 22 Beta Enables WebRTC Support
  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