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&grs .
Linux 3.11 Kernel Btrfs File-System Benchmarks Processor Motherboard Chipset Memory Disk Graphics Audio Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution Btrfs Btrfs - Zlib Compression Btrfs - LZO Compression Btrfs - No Data COW Btrfs - No Barrier Btrfs - SSD Spread Btrfs - Auto Defrag Intel Core i7-4770K @ 3.50GHz (8 Cores) Intel DH87RL Intel 4th Gen Core DRAM 15360MB 240GB OCZ VERTEX3 Intel Haswell Desktop Realtek ALC892 Intel Connection I217-V Ubuntu 13.10 3.11.0-999-generic (x86_64) Unity 7.0.2 X Server 1.14.2 intel 2.21.12 3.1 Mesa 9.2.0-devel (git-7fd30a8) GCC 4.8 + LLVM 3.3 btrfs 1920x1080 OpenBenchmarking.org Compiler 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,ssd Processor Details - Btrfs: Scaling Governor: acpi-cpufreq ondemand System Details - Disk Scheduler: DEADLINE. Python 2.7.5+.
Linux 3.11 Kernel Btrfs File-System Benchmarks iozone: 64Kb - 8GB - Write Performance fs-mark: 5000 Files, 1MB Size, 4 Threads compilebench: Compile fio: Intel IOMeter File Server Access Pattern dbench: 1 compilebench: Initial Create iozone: 64Kb - 8GB - Read Performance fs-mark: 4000 Files, 32 Sub Dirs, 1MB Size fs-mark: 1000 Files, 1MB Size Btrfs Btrfs - Zlib Compression Btrfs - LZO Compression Btrfs - No Data COW Btrfs - No Barrier Btrfs - SSD Spread Btrfs - Auto Defrag 494.58 391.57 406.92 163.33 292.19 144.69 5998.34 229.47 247.52 1110.89 781.83 494.31 164.42 266.28 108.02 6005.05 208.70 208.28 2208.60 1344.43 1009.67 163.25 271.96 133.27 6051.92 261.53 265.80 494.81 404.13 558.63 201.06 304.08 148.06 5934.64 222.73 229.52 493.91 427.33 405.65 162.16 370.81 145.86 6062.90 237.62 250.90 493.85 390.17 406.15 162.48 293.14 145.15 5977.28 242.12 232.88 493.39 393.17 408.87 333.12 292.24 146.14 6031.25 231.40 217.83 OpenBenchmarking.org
IOzone Record Size: 64Kb - File Size: 8GB - Disk Test: Write Performance OpenBenchmarking.org MB/s, More Is Better IOzone 3.405 Record Size: 64Kb - File Size: 8GB - Disk Test: Write Performance Btrfs Btrfs - Auto Defrag Btrfs - LZO Compression Btrfs - No Barrier Btrfs - No Data COW Btrfs - SSD Spread Btrfs - Zlib Compression 500 1000 1500 2000 2500 SE +/- 0.24, N = 3 SE +/- 0.23, N = 3 SE +/- 10.46, N = 3 SE +/- 0.55, N = 3 SE +/- 0.52, N = 3 SE +/- 0.42, N = 3 SE +/- 11.48, N = 3 494.58 493.39 2208.60 493.91 494.81 493.85 1110.89 1. (CC) gcc options: -O3
FS-Mark Test: 5000 Files, 1MB Size, 4 Threads OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 5000 Files, 1MB Size, 4 Threads Btrfs Btrfs - Auto Defrag Btrfs - LZO Compression Btrfs - No Barrier Btrfs - No Data COW Btrfs - SSD Spread Btrfs - Zlib Compression 300 600 900 1200 1500 SE +/- 0.93, N = 3 SE +/- 0.44, N = 3 SE +/- 2.49, N = 3 SE +/- 1.28, N = 3 SE +/- 1.32, N = 3 SE +/- 1.13, N = 3 SE +/- 3.58, N = 3 391.57 393.17 1344.43 427.33 404.13 390.17 781.83 1. (CC) gcc options: -static
Compile Bench Test: Compile OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Compile Btrfs Btrfs - Auto Defrag Btrfs - LZO Compression Btrfs - No Barrier Btrfs - No Data COW Btrfs - SSD Spread Btrfs - Zlib Compression 200 400 600 800 1000 SE +/- 0.23, N = 3 SE +/- 0.24, N = 3 SE +/- 4.00, N = 3 SE +/- 0.92, N = 3 SE +/- 1.27, N = 3 SE +/- 0.38, N = 3 SE +/- 1.51, N = 3 406.92 408.87 1009.67 405.65 558.63 406.15 494.31
Flexible IO Tester Test: Intel IOMeter File Server Access Pattern OpenBenchmarking.org Seconds (Run Time), Fewer Is Better Flexible IO Tester 1.57 Test: Intel IOMeter File Server Access Pattern Btrfs Btrfs - Auto Defrag Btrfs - LZO Compression Btrfs - No Barrier Btrfs - No Data COW Btrfs - SSD Spread Btrfs - Zlib Compression 70 140 210 280 350 SE +/- 1.40, N = 3 SE +/- 2.63, N = 3 SE +/- 1.10, N = 3 SE +/- 1.15, N = 3 SE +/- 1.84, N = 3 SE +/- 0.57, N = 3 SE +/- 2.10, N = 3 163.33 333.12 163.25 162.16 201.06 162.48 164.42 1. (CC) gcc options: -std=gnu99 -O2 -rdynamic -lm -lpthread -ldl -lrt -laio
Dbench Client Count: 1 OpenBenchmarking.org MB/s, More Is Better Dbench 4.0 Client Count: 1 Btrfs Btrfs - Auto Defrag Btrfs - LZO Compression Btrfs - No Barrier Btrfs - No Data COW Btrfs - SSD Spread Btrfs - Zlib Compression 80 160 240 320 400 SE +/- 0.42, N = 3 SE +/- 0.74, N = 3 SE +/- 0.59, N = 3 SE +/- 1.31, N = 3 SE +/- 0.33, N = 3 SE +/- 0.44, N = 3 SE +/- 0.29, N = 3 292.19 292.24 271.96 370.81 304.08 293.14 266.28 1. (CC) gcc options: -lpopt -O2
Compile Bench Test: Initial Create OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Initial Create Btrfs Btrfs - Auto Defrag Btrfs - LZO Compression Btrfs - No Barrier Btrfs - No Data COW Btrfs - SSD Spread Btrfs - Zlib Compression 30 60 90 120 150 SE +/- 0.50, N = 3 SE +/- 1.05, N = 3 SE +/- 0.51, N = 3 SE +/- 2.08, N = 3 SE +/- 2.51, N = 3 SE +/- 1.34, N = 3 SE +/- 0.71, N = 3 144.69 146.14 133.27 145.86 148.06 145.15 108.02
IOzone Record Size: 64Kb - File Size: 8GB - Disk Test: Read Performance OpenBenchmarking.org MB/s, More Is Better IOzone 3.405 Record Size: 64Kb - File Size: 8GB - Disk Test: Read Performance Btrfs Btrfs - Auto Defrag Btrfs - LZO Compression Btrfs - No Barrier Btrfs - No Data COW Btrfs - SSD Spread Btrfs - Zlib Compression 1300 2600 3900 5200 6500 SE +/- 23.16, N = 3 SE +/- 32.93, N = 3 SE +/- 12.00, N = 3 SE +/- 13.08, N = 3 SE +/- 28.14, N = 3 SE +/- 49.13, N = 3 SE +/- 26.92, N = 3 5998.34 6031.25 6051.92 6062.90 5934.64 5977.28 6005.05 1. (CC) gcc options: -O3
FS-Mark Test: 4000 Files, 32 Sub Dirs, 1MB Size OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 4000 Files, 32 Sub Dirs, 1MB Size Btrfs Btrfs - Auto Defrag Btrfs - LZO Compression Btrfs - No Barrier Btrfs - No Data COW Btrfs - SSD Spread Btrfs - Zlib Compression 60 120 180 240 300 SE +/- 5.25, N = 6 SE +/- 5.94, N = 6 SE +/- 4.02, N = 3 SE +/- 8.55, N = 6 SE +/- 3.92, N = 3 SE +/- 11.51, N = 6 SE +/- 2.77, N = 3 229.47 231.40 261.53 237.62 222.73 242.12 208.70 1. (CC) gcc options: -static
FS-Mark Test: 1000 Files, 1MB Size OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 1000 Files, 1MB Size Btrfs Btrfs - Auto Defrag Btrfs - LZO Compression Btrfs - No Barrier Btrfs - No Data COW Btrfs - SSD Spread Btrfs - Zlib Compression 60 120 180 240 300 SE +/- 14.07, N = 6 SE +/- 15.56, N = 6 SE +/- 1.80, N = 3 SE +/- 14.22, N = 6 SE +/- 10.07, N = 6 SE +/- 12.08, N = 6 SE +/- 3.09, N = 4 247.52 217.83 265.80 250.90 229.52 232.88 208.28 1. (CC) gcc options: -static
Phoronix Test Suite v10.8.5