Linux 3.11 Kernel Btrfs File-System Benchmarks

Intel Core i7-4770K Haswell desktop benchmarks of the Linux 3.11 kernel with Btrfs and different file-system mount options / tuning parameters. Linux Btrfs benchmarks for a future article on Phoronix.com by Michael Larabel.

HTML result view exported from: https://openbenchmarking.org/result/1307204-SO-LINUXBTRF26&grw&rdt.

Linux 3.11 Kernel Btrfs File-System BenchmarksProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionBtrfsBtrfs - Zlib CompressionBtrfs - LZO CompressionBtrfs - No Data COWBtrfs - No BarrierBtrfs - SSD SpreadBtrfs - Auto DefragIntel Core i7-4770K @ 3.50GHz (8 Cores)Intel DH87RLIntel 4th Gen Core DRAM15360MB240GB OCZ VERTEX3Intel Haswell DesktopRealtek ALC892Intel Connection I217-VUbuntu 13.103.11.0-999-generic (x86_64)Unity 7.0.2X Server 1.14.2intel 2.21.123.1 Mesa 9.2.0-devel (git-7fd30a8)GCC 4.8 + LLVM 3.3btrfs1920x1080OpenBenchmarking.orgCompiler Details- --build=x86_64-linux-gnu --disable-browser-plugin --disable-werror --enable-checking=release --enable-clocale=gnu --enable-gnu-unique-object --enable-gtk-cairo --enable-java-awt=gtk --enable-java-home --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-multilib-list=m32,m64,mx32 --with-tune=generic -v Disk Details- Btrfs: DEADLINE / relatime,rw,space_cache,ssd- Btrfs - Zlib Compression: DEADLINE / compress=zlib,relatime,rw,space_cache,ssd- Btrfs - LZO Compression: DEADLINE / compress=lzo,relatime,rw,space_cache,ssd- Btrfs - No Data COW: DEADLINE / nodatacow,nodatasum,relatime,rw,space_cache,ssd- Btrfs - No Barrier: DEADLINE / nobarrier,relatime,rw,space_cache,ssd- Btrfs - SSD Spread: DEADLINE / relatime,rw,space_cache,ssd_spread- Btrfs - Auto Defrag: DEADLINE / autodefrag,relatime,rw,space_cache,ssdProcessor Details- Btrfs: Scaling Governor: acpi-cpufreq ondemandSystem Details- Disk Scheduler: DEADLINE. Python 2.7.5+.

Linux 3.11 Kernel Btrfs File-System Benchmarkscompilebench: Compilecompilebench: Initial Createdbench: 1fio: Intel IOMeter File Server Access Patternfs-mark: 1000 Files, 1MB Sizefs-mark: 5000 Files, 1MB Size, 4 Threadsfs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizeiozone: 64Kb - 8GB - Read Performanceiozone: 64Kb - 8GB - Write PerformanceBtrfsBtrfs - Zlib CompressionBtrfs - LZO CompressionBtrfs - No Data COWBtrfs - No BarrierBtrfs - SSD SpreadBtrfs - Auto Defrag406.92144.69292.19163.33247.52391.57229.475998.34494.58494.31108.02266.28164.42208.28781.83208.706005.051110.891009.67133.27271.96163.25265.801344.43261.536051.922208.60558.63148.06304.08201.06229.52404.13222.735934.64494.81405.65145.86370.81162.16250.90427.33237.626062.90493.91406.15145.15293.14162.48232.88390.17242.125977.28493.85408.87146.14292.24333.12217.83393.17231.406031.25493.39OpenBenchmarking.org

Compile Bench

Test: Compile

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileBtrfsBtrfs - Zlib CompressionBtrfs - LZO CompressionBtrfs - No Data COWBtrfs - No BarrierBtrfs - SSD SpreadBtrfs - Auto Defrag2004006008001000SE +/- 0.23, N = 3SE +/- 1.51, N = 3SE +/- 4.00, N = 3SE +/- 1.27, N = 3SE +/- 0.92, N = 3SE +/- 0.38, N = 3SE +/- 0.24, N = 3406.92494.311009.67558.63405.65406.15408.87

Compile Bench

Test: Initial Create

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateBtrfsBtrfs - Zlib CompressionBtrfs - LZO CompressionBtrfs - No Data COWBtrfs - No BarrierBtrfs - SSD SpreadBtrfs - Auto Defrag306090120150SE +/- 0.50, N = 3SE +/- 0.71, N = 3SE +/- 0.51, N = 3SE +/- 2.51, N = 3SE +/- 2.08, N = 3SE +/- 1.34, N = 3SE +/- 1.05, N = 3144.69108.02133.27148.06145.86145.15146.14

Dbench

Client Count: 1

OpenBenchmarking.orgMB/s, More Is BetterDbench 4.0Client Count: 1BtrfsBtrfs - Zlib CompressionBtrfs - LZO CompressionBtrfs - No Data COWBtrfs - No BarrierBtrfs - SSD SpreadBtrfs - Auto Defrag80160240320400SE +/- 0.42, N = 3SE +/- 0.29, N = 3SE +/- 0.59, N = 3SE +/- 0.33, N = 3SE +/- 1.31, N = 3SE +/- 0.44, N = 3SE +/- 0.74, N = 3292.19266.28271.96304.08370.81293.14292.241. (CC) gcc options: -lpopt -O2

Flexible IO Tester

Test: Intel IOMeter File Server Access Pattern

OpenBenchmarking.orgSeconds (Run Time), Fewer Is BetterFlexible IO Tester 1.57Test: Intel IOMeter File Server Access PatternBtrfsBtrfs - Zlib CompressionBtrfs - LZO CompressionBtrfs - No Data COWBtrfs - No BarrierBtrfs - SSD SpreadBtrfs - Auto Defrag70140210280350SE +/- 1.40, N = 3SE +/- 2.10, N = 3SE +/- 1.10, N = 3SE +/- 1.84, N = 3SE +/- 1.15, N = 3SE +/- 0.57, N = 3SE +/- 2.63, N = 3163.33164.42163.25201.06162.16162.48333.121. (CC) gcc options: -std=gnu99 -O2 -rdynamic -lm -lpthread -ldl -lrt -laio

FS-Mark

Test: 1000 Files, 1MB Size

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeBtrfsBtrfs - Zlib CompressionBtrfs - LZO CompressionBtrfs - No Data COWBtrfs - No BarrierBtrfs - SSD SpreadBtrfs - Auto Defrag60120180240300SE +/- 14.07, N = 6SE +/- 3.09, N = 4SE +/- 1.80, N = 3SE +/- 10.07, N = 6SE +/- 14.22, N = 6SE +/- 12.08, N = 6SE +/- 15.56, N = 6247.52208.28265.80229.52250.90232.88217.831. (CC) gcc options: -static

FS-Mark

Test: 5000 Files, 1MB Size, 4 Threads

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 5000 Files, 1MB Size, 4 ThreadsBtrfsBtrfs - Zlib CompressionBtrfs - LZO CompressionBtrfs - No Data COWBtrfs - No BarrierBtrfs - SSD SpreadBtrfs - Auto Defrag30060090012001500SE +/- 0.93, N = 3SE +/- 3.58, N = 3SE +/- 2.49, N = 3SE +/- 1.32, N = 3SE +/- 1.28, N = 3SE +/- 1.13, N = 3SE +/- 0.44, N = 3391.57781.831344.43404.13427.33390.17393.171. (CC) gcc options: -static

FS-Mark

Test: 4000 Files, 32 Sub Dirs, 1MB Size

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 4000 Files, 32 Sub Dirs, 1MB SizeBtrfsBtrfs - Zlib CompressionBtrfs - LZO CompressionBtrfs - No Data COWBtrfs - No BarrierBtrfs - SSD SpreadBtrfs - Auto Defrag60120180240300SE +/- 5.25, N = 6SE +/- 2.77, N = 3SE +/- 4.02, N = 3SE +/- 3.92, N = 3SE +/- 8.55, N = 6SE +/- 11.51, N = 6SE +/- 5.94, N = 6229.47208.70261.53222.73237.62242.12231.401. (CC) gcc options: -static

IOzone

Record Size: 64Kb - File Size: 8GB - Disk Test: Read Performance

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 64Kb - File Size: 8GB - Disk Test: Read PerformanceBtrfsBtrfs - Zlib CompressionBtrfs - LZO CompressionBtrfs - No Data COWBtrfs - No BarrierBtrfs - SSD SpreadBtrfs - Auto Defrag13002600390052006500SE +/- 23.16, N = 3SE +/- 26.92, N = 3SE +/- 12.00, N = 3SE +/- 28.14, N = 3SE +/- 13.08, N = 3SE +/- 49.13, N = 3SE +/- 32.93, N = 35998.346005.056051.925934.646062.905977.286031.251. (CC) gcc options: -O3

IOzone

Record Size: 64Kb - File Size: 8GB - Disk Test: Write Performance

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 64Kb - File Size: 8GB - Disk Test: Write PerformanceBtrfsBtrfs - Zlib CompressionBtrfs - LZO CompressionBtrfs - No Data COWBtrfs - No BarrierBtrfs - SSD SpreadBtrfs - Auto Defrag5001000150020002500SE +/- 0.24, N = 3SE +/- 11.48, N = 3SE +/- 10.46, N = 3SE +/- 0.52, N = 3SE +/- 0.55, N = 3SE +/- 0.42, N = 3SE +/- 0.23, N = 3494.581110.892208.60494.81493.91493.85493.391. (CC) gcc options: -O3


Phoronix Test Suite v10.8.5