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&export=pdf&grw&sro .
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 compilebench: Compile compilebench: Initial Create dbench: 1 fio: Intel IOMeter File Server Access Pattern fs-mark: 1000 Files, 1MB Size fs-mark: 5000 Files, 1MB Size, 4 Threads iozone: 64Kb - 4GB - Read Performance iozone: 64Kb - 4GB - Write Performance postmark: Disk Transaction Performance aio-stress: Rand Write Default Mount Options LZO Compression Zlib Compression Space Cache Noatime Nodatacow SSD_spread Discard 245.79 142.82 57.62 254.06 53.14 89.97 437.78 286.80 1439 275.82 1200.22 143.83 65.15 253.29 121.85 230.30 1000.35 1929.18 1476 287.28 352.89 143.74 69.62 250.44 93.70 188.63 1255.85 483.05 2348 277.60 245.39 133.73 58.33 243.33 53.38 88.50 431.64 261.20 1562 282.63 255.21 132.83 58.69 244.66 52.88 89.67 433.00 266.97 1575 282.70 253.43 133.65 65.23 254.56 54.93 94.37 432.96 253.44 1842 193.61 263.38 134.65 58.80 247.27 53.03 89.87 431.02 273.39 1572 286.25 247.38 118.28 71.41 266.37 50.52 89.93 355.67 319.69 1479 281.68 OpenBenchmarking.org
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
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
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
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
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
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
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
Phoronix Test Suite v10.8.4