Btrfs file-system tuning of different mount options after fresh Btrfs formatting each time and using a Linux 3.14 kernel in development stage. Benchmarks by Michael Larabel for a future article on Phoronix.com.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 1402263-PL-BTRFSLINU58 Btrfs Linux 3.14 Testing - Phoronix Test Suite Btrfs Linux 3.14 Testing Btrfs file-system tuning of different mount options after fresh Btrfs formatting each time and using a Linux 3.14 kernel in development stage. Benchmarks by Michael Larabel for a future article on Phoronix.com.
HTML result view exported from: https://openbenchmarking.org/result/1402263-PL-BTRFSLINU58&sro&export=pdf&gru .
Btrfs Linux 3.14 Testing Processor Motherboard Chipset Memory Disk Graphics Audio Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution Default Mount Options LZO Compression Zlib Compression Space Cache Noatime Nodatacow SSD_spread Discard Intel Core i7-3517U @ 3.00GHz (4 Cores) ASUS UX32VDA v1.0 Intel 3rd Gen Core DRAM 4096MB 2 x 128GB SanDisk SD5SF212 Intel HD 4000 512MB (1150MHz) Realtek ALC269VB Intel Centrino Advanced-N 6235 Ubuntu 14.04 3.14.0-999-generic (x86_64) Unity 7.1.2 X Server 1.15.0 intel 2.99.910 3.3 Mesa 10.0.1 GCC 4.8 btrfs 1920x1080 Intel HD 4000 512MB (270/324MHz) nouveau 1.0.10 Intel HD 4000 512MB (1150MHz) intel 2.99.910 Intel HD 4000 512MB nouveau 1.0.10 OpenBenchmarking.org Compiler Details - --build=x86_64-linux-gnu --disable-browser-plugin --disable-libmudflap --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-multilib-list=m32,m64,mx32 --with-tune=generic -v Disk Details - Default Mount Options: DEADLINE / relatime,rw,space_cache,ssd - LZO Compression: DEADLINE / compress=lzo,relatime,rw,space_cache,ssd - Zlib Compression: DEADLINE / compress=zlib,relatime,rw,space_cache,ssd - Space Cache: DEADLINE / relatime,rw,space_cache,ssd - Noatime: DEADLINE / noatime,rw,space_cache,ssd - Nodatacow: DEADLINE / nodatacow,nodatasum,relatime,rw,space_cache,ssd - SSD_spread: DEADLINE / relatime,rw,space_cache,ssd_spread - Discard: DEADLINE / discard,relatime,rw,space_cache,ssd System Details - Disk Scheduler: DEADLINE. Python 2.7.6.
Btrfs Linux 3.14 Testing fs-mark: 1000 Files, 1MB Size fs-mark: 5000 Files, 1MB Size, 4 Threads aio-stress: Rand Write dbench: 1 iozone: 64Kb - 4GB - Read Performance iozone: 64Kb - 4GB - Write Performance compilebench: Compile compilebench: Initial Create postmark: Disk Transaction Performance fio: Intel IOMeter File Server Access Pattern Default Mount Options LZO Compression Zlib Compression Space Cache Noatime Nodatacow SSD_spread Discard 53.14 89.97 275.82 57.62 437.78 286.80 245.79 142.82 1439 254.06 121.85 230.30 287.28 65.15 1000.35 1929.18 1200.22 143.83 1476 253.29 93.70 188.63 277.60 69.62 1255.85 483.05 352.89 143.74 2348 250.44 53.38 88.50 282.63 58.33 431.64 261.20 245.39 133.73 1562 243.33 52.88 89.67 282.70 58.69 433.00 266.97 255.21 132.83 1575 244.66 54.93 94.37 193.61 65.23 432.96 253.44 253.43 133.65 1842 254.56 53.03 89.87 286.25 58.80 431.02 273.39 263.38 134.65 1572 247.27 50.52 89.93 281.68 71.41 355.67 319.69 247.38 118.28 1479 266.37 OpenBenchmarking.org
FS-Mark Test: 1000 Files, 1MB Size OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 1000 Files, 1MB Size Default Mount Options Discard LZO Compression Noatime Nodatacow SSD_spread Space Cache Zlib Compression 30 60 90 120 150 SE +/- 0.80, N = 5 SE +/- 1.94, N = 6 SE +/- 2.08, N = 6 SE +/- 0.80, N = 5 SE +/- 0.18, N = 3 SE +/- 0.69, N = 3 SE +/- 0.69, N = 6 SE +/- 2.62, N = 6 53.14 50.52 121.85 52.88 54.93 53.03 53.38 93.70 1. (CC) gcc options: -static
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 Default Mount Options Discard LZO Compression Noatime Nodatacow SSD_spread Space Cache Zlib Compression 50 100 150 200 250 SE +/- 0.23, N = 3 SE +/- 0.90, N = 3 SE +/- 1.80, N = 3 SE +/- 0.18, N = 3 SE +/- 0.37, N = 3 SE +/- 0.15, N = 3 SE +/- 0.59, N = 3 SE +/- 0.37, N = 3 89.97 89.93 230.30 89.67 94.37 89.87 88.50 188.63 1. (CC) gcc options: -static
AIO-Stress Test: Random Write OpenBenchmarking.org MB/s, More Is Better AIO-Stress 0.21 Test: Random Write Default Mount Options Discard LZO Compression Noatime Nodatacow SSD_spread Space Cache Zlib Compression 60 120 180 240 300 SE +/- 11.41, N = 6 SE +/- 8.31, N = 6 SE +/- 13.74, N = 6 SE +/- 11.20, N = 6 SE +/- 5.25, N = 6 SE +/- 10.51, N = 6 SE +/- 10.48, N = 6 SE +/- 12.66, N = 6 275.82 281.68 287.28 282.70 193.61 286.25 282.63 277.60 1. (CC) gcc options: -pthread -laio
Dbench Client Count: 1 OpenBenchmarking.org MB/s, More Is Better Dbench 4.0 Client Count: 1 Default Mount Options Discard LZO Compression Noatime Nodatacow SSD_spread Space Cache Zlib Compression 16 32 48 64 80 SE +/- 0.28, N = 3 SE +/- 0.48, N = 3 SE +/- 0.11, N = 3 SE +/- 0.69, N = 3 SE +/- 0.38, N = 3 SE +/- 0.95, N = 3 SE +/- 0.24, N = 3 SE +/- 1.07, N = 3 57.62 71.41 65.15 58.69 65.23 58.80 58.33 69.62 1. (CC) gcc options: -lpopt -O2
IOzone Record Size: 64Kb - File Size: 4GB - Disk Test: Read Performance OpenBenchmarking.org MB/s, More Is Better IOzone 3.405 Record Size: 64Kb - File Size: 4GB - Disk Test: Read Performance Default Mount Options Discard LZO Compression Noatime Nodatacow SSD_spread Space Cache Zlib Compression 300 600 900 1200 1500 SE +/- 1.40, N = 3 SE +/- 1.70, N = 3 SE +/- 2.81, N = 3 SE +/- 1.56, N = 3 SE +/- 1.92, N = 3 SE +/- 0.73, N = 3 SE +/- 3.39, N = 3 SE +/- 0.50, N = 3 437.78 355.67 1000.35 433.00 432.96 431.02 431.64 1255.85 1. (CC) gcc options: -O3
IOzone Record Size: 64Kb - File Size: 4GB - Disk Test: Write Performance OpenBenchmarking.org MB/s, More Is Better IOzone 3.405 Record Size: 64Kb - File Size: 4GB - Disk Test: Write Performance Default Mount Options Discard LZO Compression Noatime Nodatacow SSD_spread Space Cache Zlib Compression 400 800 1200 1600 2000 SE +/- 8.81, N = 6 SE +/- 6.77, N = 6 SE +/- 10.32, N = 3 SE +/- 8.59, N = 6 SE +/- 1.08, N = 3 SE +/- 6.15, N = 6 SE +/- 6.07, N = 6 SE +/- 0.27, N = 3 286.80 319.69 1929.18 266.97 253.44 273.39 261.20 483.05 1. (CC) gcc options: -O3
Compile Bench Test: Compile OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Compile Default Mount Options Discard LZO Compression Noatime Nodatacow SSD_spread Space Cache Zlib Compression 300 600 900 1200 1500 SE +/- 6.24, N = 6 SE +/- 8.40, N = 6 SE +/- 6.76, N = 3 SE +/- 6.29, N = 6 SE +/- 7.63, N = 6 SE +/- 3.37, N = 3 SE +/- 6.27, N = 6 SE +/- 0.56, N = 3 245.79 247.38 1200.22 255.21 253.43 263.38 245.39 352.89
Compile Bench Test: Initial Create OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Initial Create Default Mount Options Discard LZO Compression Noatime Nodatacow SSD_spread Space Cache Zlib Compression 30 60 90 120 150 SE +/- 1.48, N = 3 SE +/- 0.18, N = 3 SE +/- 2.35, N = 3 SE +/- 2.05, N = 3 SE +/- 1.13, N = 3 SE +/- 3.79, N = 3 SE +/- 4.79, N = 3 SE +/- 1.81, N = 3 142.82 118.28 143.83 132.83 133.65 134.65 133.73 143.74
PostMark Disk Transaction Performance OpenBenchmarking.org TPS, More Is Better PostMark 1.51 Disk Transaction Performance Default Mount Options Discard LZO Compression Noatime Nodatacow SSD_spread Space Cache Zlib Compression 500 1000 1500 2000 2500 SE +/- 17.82, N = 3 SE +/- 9.00, N = 3 SE +/- 6.00, N = 3 SE +/- 13.33, N = 3 SE +/- 16.18, N = 3 SE +/- 5.77, N = 3 SE +/- 14.95, N = 3 SE +/- 114.18, N = 6 1439 1479 1476 1575 1842 1572 1562 2348 1. (CC) gcc options: -O3
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 Default Mount Options Discard LZO Compression Noatime Nodatacow SSD_spread Space Cache Zlib Compression 60 120 180 240 300 SE +/- 2.02, N = 3 SE +/- 2.19, N = 3 SE +/- 2.52, N = 3 SE +/- 0.91, N = 3 SE +/- 0.26, N = 3 SE +/- 4.28, N = 3 SE +/- 1.17, N = 3 SE +/- 3.82, N = 3 254.06 266.37 253.29 244.66 254.56 247.27 243.33 250.44 1. (CC) gcc options: -std=gnu99 -O2 -rdynamic -lm -lpthread -ldl -lrt -laio
Phoronix Test Suite v10.8.4