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&sro&grw.

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 - Auto DefragBtrfs - LZO CompressionBtrfs - No BarrierBtrfs - No Data COWBtrfs - SSD SpreadBtrfs - Zlib Compression2004006008001000SE +/- 0.23, N = 3SE +/- 0.24, N = 3SE +/- 4.00, N = 3SE +/- 0.92, N = 3SE +/- 1.27, N = 3SE +/- 0.38, N = 3SE +/- 1.51, N = 3406.92408.871009.67405.65558.63406.15494.31

Compile Bench

Test: Initial Create

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

Dbench

Client Count: 1

OpenBenchmarking.orgMB/s, More Is BetterDbench 4.0Client Count: 1BtrfsBtrfs - Auto DefragBtrfs - LZO CompressionBtrfs - No BarrierBtrfs - No Data COWBtrfs - SSD SpreadBtrfs - Zlib Compression80160240320400SE +/- 0.42, N = 3SE +/- 0.74, N = 3SE +/- 0.59, N = 3SE +/- 1.31, N = 3SE +/- 0.33, N = 3SE +/- 0.44, N = 3SE +/- 0.29, N = 3292.19292.24271.96370.81304.08293.14266.281. (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 - Auto DefragBtrfs - LZO CompressionBtrfs - No BarrierBtrfs - No Data COWBtrfs - SSD SpreadBtrfs - Zlib Compression70140210280350SE +/- 1.40, N = 3SE +/- 2.63, N = 3SE +/- 1.10, N = 3SE +/- 1.15, N = 3SE +/- 1.84, N = 3SE +/- 0.57, N = 3SE +/- 2.10, N = 3163.33333.12163.25162.16201.06162.48164.421. (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 - Auto DefragBtrfs - LZO CompressionBtrfs - No BarrierBtrfs - No Data COWBtrfs - SSD SpreadBtrfs - Zlib Compression60120180240300SE +/- 14.07, N = 6SE +/- 15.56, N = 6SE +/- 1.80, N = 3SE +/- 14.22, N = 6SE +/- 10.07, N = 6SE +/- 12.08, N = 6SE +/- 3.09, N = 4247.52217.83265.80250.90229.52232.88208.281. (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 - Auto DefragBtrfs - LZO CompressionBtrfs - No BarrierBtrfs - No Data COWBtrfs - SSD SpreadBtrfs - Zlib Compression30060090012001500SE +/- 0.93, N = 3SE +/- 0.44, N = 3SE +/- 2.49, N = 3SE +/- 1.28, N = 3SE +/- 1.32, N = 3SE +/- 1.13, N = 3SE +/- 3.58, N = 3391.57393.171344.43427.33404.13390.17781.831. (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 - Auto DefragBtrfs - LZO CompressionBtrfs - No BarrierBtrfs - No Data COWBtrfs - SSD SpreadBtrfs - Zlib Compression60120180240300SE +/- 5.25, N = 6SE +/- 5.94, N = 6SE +/- 4.02, N = 3SE +/- 8.55, N = 6SE +/- 3.92, N = 3SE +/- 11.51, N = 6SE +/- 2.77, N = 3229.47231.40261.53237.62222.73242.12208.701. (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 - Auto DefragBtrfs - LZO CompressionBtrfs - No BarrierBtrfs - No Data COWBtrfs - SSD SpreadBtrfs - Zlib Compression13002600390052006500SE +/- 23.16, N = 3SE +/- 32.93, N = 3SE +/- 12.00, N = 3SE +/- 13.08, N = 3SE +/- 28.14, N = 3SE +/- 49.13, N = 3SE +/- 26.92, N = 35998.346031.256051.926062.905934.645977.286005.051. (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 - Auto DefragBtrfs - LZO CompressionBtrfs - No BarrierBtrfs - No Data COWBtrfs - SSD SpreadBtrfs - Zlib Compression5001000150020002500SE +/- 0.24, N = 3SE +/- 0.23, N = 3SE +/- 10.46, N = 3SE +/- 0.55, N = 3SE +/- 0.52, N = 3SE +/- 0.42, N = 3SE +/- 11.48, N = 3494.58493.392208.60493.91494.81493.851110.891. (CC) gcc options: -O3


Phoronix Test Suite v10.8.5