Where The Btrfs Performance Is At Today

Published on June 09, 2010
Written by Michael Larabel
Page 1 of 4
Discuss This Article

With MeeGo using Btrfs by default, Canonical making plans for Btrfs in as soon as Ubuntu 10.10, and Novell now pushing Btrfs in openSUSE, among other milestones for this advanced Linux file-system, we decided to see where the Btrfs performance is now at with the Linux 2.6.35 kernel that's currently in development. We compare the Btrfs performance to EXT4 and see how some of the different mount options are affecting the file-system's performance in different benchmarks.

We have been benchmarking the Btrfs file-system for more than one year now and while it originally was not the performance king, its performance has improved as we have been delivering many benchmarks and compared it to competitors such as Reiser4. Just two months ago we delivered file-system benchmarks with the Linux 2.6.34 kernel, but with the Linux 2.6.35 kernel carrying more file-system changes and this is going to be the Ubuntu 10.10 kernel, we found it time for another extensive Btrfs performance analysis.

For testing we used a ZaReason Verix notebook that we are currently reviewing. This notebook that is based upon an MSI MS-1656 has an Intel Core i7 Q720 processor, 6GB of system memory, an 80GB Intel SSDSA2MH08 SSD, and a NVIDIA GeForce GTS 250M GPU. We loaded Ubuntu 10.04 LTS on this powerful notebook with the Linux 2.6.35-rc1 kernel while continuing to use X.Org Server 1.7.6, GCC 4.4.3, and the GNOME 2.30.0 desktop.

We compared the performance of the EXT4 file-system with the default mount options to Btrfs also with the default mount options. We then also tested out Btrfs with the compress mount option and then the compress mount option when using the nodatacow option too. The nodatacow option makes Btrfs not copy-on-write data where as the default settings does not allow partially updated files written to the disk for data safety, but with this option makes it like EXT4 where data can be directly overwritten. The SSD mount option is not needed when using a solid-state drive as Btrfs automatically detected that an SSD was being used and enabled this option by default for providing SSD-optimized behaviors.

Our EXT4/Btrfs file-system benchmarks on the Linux 2.6.35 kernel included Apache, PostgreSQL, CompileBench, FS-Mark, Flexible IO Tester, IOzone, Dbench, Threaded I/O Tester, and PostMark. The Phoronix Test Suite handled the automated test execution.

The EXT4 file-system is still much faster than Btrfs at simple static web-page serving using Apache. The EXT4 file-system could handle more than 12,600 requests per second but with Btrfs and the different mount options Apache was only doing just over 400 requests per second.

<< 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. LLVM Clang 3.3 RC2 Is Ready For Testing
  2. AMD RadeonSI Gallium3D Begins Simple CL Demos
  3. Intel Shows Off GNOME3-Based Tizen Shell
  4. Linux Desktop Security Could Be A Whole Lot Better
  5. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  6. New NVIDIA Linux Driver Supports The GeForce GTX 780
  7. Chrome 28 To Offer More Speed Improvements
  8. Digia Announces "Boot To Qt" Project
  9. X.Org Libraries Hit By Round Of Security Issues
  10. Wayland's Weston Gets Output Scaling Support
  11. Raspberry Pi Gets New Wayland Weston Renderer
Latest Forum Talk
  1. Intel Shows Off GNOME3-Based Tizen Shell
  2. VIA KMS Driver Now Supports HDMI Output
  3. AMD RadeonSI Gallium3D Begins Simple CL Demos
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  5. Linux Desktop Security Could Be A Whole Lot Better
  6. Microsoft's zombie attacks Android (again)
  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