Btrfs Mount Option Performance Tuning On Linux 3.11
To complement the EXT4, XFS, Btrfs, and F2FS benchmark results that were published yesterday from the Linux 3.11 kernel and its predecessors, here are some Btrfs tuning benchmarks on the Linux 3.11 kernel with various performance-sensitive Btrfs mount options being tried.
As earlier articles have shown, the Btrfs mount options can make a big difference in terms of increased performance over the "out of the box" configuration. A big performance tunable for Btrfs has been the transparent file-system compression support.
Anyhow, the Zlib compression (compress=zlib), LZO compression (compress=lzo), no data copy-on-write (nodatacow), no barrier (nobarrier), SSD spread (ssd_spread), and auto-defragmentation (autodefrag) mount options were tried on the Btrfs partition when using the Linux 3.11 Git kernel as of this week. A description of all the Btrfs mount options can be found on the Btrfs Wiki. Between comparing the different mount options, the file-system was cleanly formatted.
All benchmarking happened in a clear and reproducible way using the Phoronix Test Suite software.