Testing Out The SSD Mode In Btrfs

Published on May 29, 2009
Written by Michael Larabel
Page 1 of 7
Discuss This Article

One month ago we provided benchmarks of the Btrfs file-system and found that while it contained many features to make it a next-generation Linux file-system, its disk performance was rather displeasing. We had found the EXT4 file-system ran faster in a number of the tests and even EXT3 and XFS had their own advantages. Besides offering features like snapshots and online defragmentation, Btrfs has a mode that is optimized for solid-state drives. Will the Btrfs SSD mode cause this new Oracle-sponsored file-system to be the best for non-rotating media? We have benchmarks in this article, but the results may not be what one would expect.

In Btrfs there the solid-state drive mode can be enabled by using the -o ssd mount option or adding ssd to the /etc/fstab. Enabling this option will tune the Btrfs allocator for SSD usage, which is then designed to improve performance with this file-system still undergoing development. However, unless disabling the write cache for the drive, the SSD mode does not necessarily mean better performance. In fact, as our results are about to show, the quantitative disk performance can drop greatly in the SSD mode when the write cache remains enabled. However, not all write caches can be easily disabled right now under Linux. With the OCZ Vertex SATA 2.0 SSD, which we used for this testing today, had its write caching always enabled. When attempting to disable the write cache through hdparm it would remain enabled regardless and when using sdparm it would report change_mode_page: failed setting page: Caching (SBC).

The test system for this article included an Intel Core 2 Duo E8400 clocked at 4.00GHz, an ASUS P5E64 WS Professional motherboard, 2GB of OCZ DDR3-1333MHz system memory, an OCZ 64GB Vertex (v1.10 firmware) Serial ATA 2.0 SSD, and a NVIDIA GeForce 9500GT graphics card. On the software side was Fedora 11 with all Rawhide updates as of the 28th of May, 2009. The kernel was Linux 2.6.29.4, GNOME 2.26.1 was the desktop, the X Server was 1.6.2 RC1, xf86-video-nouveau display driver, GCC 4.4.0, and at installation time through Anaconda we setup the drive to using Btrfs.

We used the Phoronix Test Suite for running our filesystem test suite, which consisted of LZMA compression, GnuPG, Bork file encryption, SQLite, Apache Benchmark, IOzone, Flexible IO Tester, and the Threaded I/O Tester. Being unable to successfully disable the write cache on the OCZ Vertex SSD, for this brief look at the solid-state drive performance mode for Btrfs we simply compared the disk performance when btrfs was mounted with the defaults and then with the ssd option appended. We will be back soon with results from other drives where the write cache can be properly disabled.

<< 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. 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. FreeBSD Still Working On Next-Gen Package Manager
  2. DNF Still Advancing As Experimental Yum For Fedora
  3. Logitech Begins Supporting Linux Users
  4. Modern Intel Gallium3D Driver Still Being Toyed With
  5. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  6. GCC 4.8.1 Compiler Due To Be Out Next Week
  7. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
  8. Linux's "Ondemand" Governor Is No Longer Fit
  9. Firefox 22 Beta Enables WebRTC Support
  10. OpenSUSE 13.1 Milestone 1 Released
  11. DRM Graphics Driver Comes For Dove/Cubox
Latest Forum Talk
  1. DNF Still Advancing As Experimental Yum For Fedora
  2. Modern Intel Gallium3D Driver Still Being Toyed...
  3. Sumo Lounge Emperor
  4. Logitech Begins Supporting Linux Users
  5. KDE's Krita Ported To OpenGL 3.1, OpenGL ES 2.0
  6. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  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