Btrfs Mount Options On Ubuntu Linux

Testing various Btrfs file-system mount options from an early Linux 3.7 development kernel. Benchmarking for a future article on Phoronix.com by Michael Larabel.

HTML result view exported from: https://openbenchmarking.org/result/1210138-RA-BTRFSMOUN28.

Btrfs Mount Options On Ubuntu LinuxProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionStocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatimeIntel Core i7 720Q @ 1.60GHz (8 Cores)LENOVO 4318CTOIntel Core DMI2 x 2048 MB DDR3-1066MHz M471B5673FH0-CF8160GB INTEL SSDSA2M160NVIDIA Quadro FX 880M (405/324MHz)Conexant CX20585Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300Ubuntu 12.103.6.0-999-generic (x86_64)Unity 6.8.0X Server 1.13.0nouveau 1.0.23.0 Mesa 9.0-devel Gallium 0.4GCC 4.7btrfs1600x900OpenBenchmarking.orgCompiler Details- --build=x86_64-linux-gnu --disable-werror --enable-checking=release --enable-clocale=gnu --enable-gnu-unique-object --enable-languages=c,c++,go,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-arch-32=i686 --with-tune=generic -v Disk Details- Stock: DEADLINE / relatime,rw,space_cache,ssd- nodatacow: DEADLINE / nodatacow,nodatasum,relatime,rw,space_cache,ssd- nobarrier: DEADLINE / nobarrier,relatime,rw,space_cache,ssd- compress=zlib: DEADLINE / compress=zlib,relatime,rw,space_cache,ssd- compress=lzo: DEADLINE / compress=lzo,relatime,rw,space_cache,ssd- discard: DEADLINE / discard,relatime,rw,space_cache,ssd- nospace_cache: DEADLINE / nospace_cache,relatime,rw,ssd- clear_cache: DEADLINE / clear_cache,relatime,rw,space_cache,ssd- inode_cache: DEADLINE / inode_cache,relatime,rw,space_cache,ssd- noatime: DEADLINE / noatime,rw,space_cache,ssdSystem Details- Disk Scheduler: DEADLINE. Python 2.7.3. Compiz was running on this system.

Btrfs Mount Options On Ubuntu Linuxfio: 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 Sizedbench: 1iozone: 1MB - 8GB - Read Performanceiozone: 4Kb - 8GB - Read Performanceiozone: 1MB - 8GB - Write Performanceiozone: 4Kb - 8GB - Write Performanceiozone: 64Kb - 8GB - Read Performanceiozone: 64Kb - 8GB - Write Performancetiobench: Rand Write - 32MB - 4tiobench: Rand Write - 32MB - 8tiobench: Rand Write - 64MB - 4tiobench: Rand Write - 64MB - 8compilebench: Compilecompilebench: Initial Createunpack-linux: linux-2.6.32.tar.bz2postmark: Disk Transaction PerformanceStocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime724.4165.3793.2364.00170.36292.69286.04102.44102.30294.92102.8675.1075.0074.2677.2396.7659.1116.071594661.7786.2399.1076.80193.99278.89274.59103.05102.97275.35103.1997.2596.2193.6193.3395.5056.4815.732318715.7970.8393.8768.97181.87288.37285.02103.01102.48292.75102.6867.7278.7471.6478.3395.6164.2215.941562721.72101.13237.9399.07169.111072.39309.67313.89193.811048.39326.8063.1662.5763.3457.46210.2651.7027.05713.95188.13832.43185.60187.591018.11322.961285.86212.671029.061291.3863.9269.4158.1257.60705.8170.2119.152003816.5259.4070.5254.93148.72310.42300.61102.83101.42320.97102.1575.6275.5368.8960.6698.5051.4617.271597722.5766.0393.8363.80170.64302.79287.20102.61102.57291.59102.8872.5477.3469.5679.9596.6765.7315.841597721.0565.5093.5763.90169.72287.90292.42102.63102.82294.81102.7973.3182.2472.9473.7196.5861.8716.211562715.8666.2093.5763.90191.24289.47285.79102.43102.61298.31102.7970.1481.6268.6668.7893.4459.4416.051562713.0665.9793.9063.20168.49259.74220.49100.8597.56232.97101.2059.6673.4168.8279.8991.8462.9716.091607OpenBenchmarking.org

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 PatternStocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime2004006008001000SE +/- 2.45, N = 3SE +/- 2.46, N = 3SE +/- 4.02, N = 3SE +/- 2.47, N = 3SE +/- 3.76, N = 3SE +/- 8.49, N = 3SE +/- 4.88, N = 3SE +/- 2.17, N = 3SE +/- 2.99, N = 3SE +/- 0.76, N = 3724.41661.77715.79721.72713.95816.52722.57721.05715.86713.06

FS-Mark

Test: 1000 Files, 1MB Size

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeStocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime4080120160200SE +/- 0.47, N = 3SE +/- 0.32, N = 3SE +/- 0.87, N = 3SE +/- 0.15, N = 3SE +/- 0.67, N = 3SE +/- 2.45, N = 6SE +/- 0.46, N = 3SE +/- 0.35, N = 3SE +/- 0.42, N = 3SE +/- 0.28, N = 365.3786.2370.83101.13188.1359.4066.0365.5066.2065.971. (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 ThreadsStocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime2004006008001000SE +/- 0.62, N = 3SE +/- 0.25, N = 3SE +/- 0.58, N = 3SE +/- 0.27, N = 3SE +/- 13.89, N = 3SE +/- 0.94, N = 6SE +/- 0.52, N = 3SE +/- 0.74, N = 3SE +/- 0.70, N = 3SE +/- 0.55, N = 393.2399.1093.87237.93832.4370.5293.8393.5793.5793.901. (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 SizeStocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime4080120160200SE +/- 0.26, N = 3SE +/- 0.40, N = 3SE +/- 0.34, N = 3SE +/- 0.15, N = 3SE +/- 0.92, N = 3SE +/- 1.43, N = 6SE +/- 0.12, N = 3SE +/- 0.12, N = 3SE +/- 0.20, N = 3SE +/- 0.20, N = 364.0076.8068.9799.07185.6054.9363.8063.9063.9063.201. (CC) gcc options: -static

Dbench

Client Count: 1

OpenBenchmarking.orgMB/s, More Is BetterDbench 4.0Client Count: 1Stocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime4080120160200SE +/- 0.24, N = 3SE +/- 0.24, N = 3SE +/- 0.31, N = 3SE +/- 1.88, N = 3SE +/- 0.49, N = 3SE +/- 0.14, N = 3SE +/- 0.26, N = 3SE +/- 0.63, N = 3SE +/- 1.30, N = 3SE +/- 0.83, N = 3170.36193.99181.87169.11187.59148.72170.64169.72191.24168.491. (CC) gcc options: -lpopt

IOzone

Record Size: 1MB - File Size: 8GB - Disk Test: Read Performance

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 1MB - File Size: 8GB - Disk Test: Read PerformanceStocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime2004006008001000SE +/- 4.39, N = 5SE +/- 0.93, N = 3SE +/- 5.71, N = 3SE +/- 18.51, N = 4SE +/- 11.23, N = 3SE +/- 5.51, N = 6SE +/- 8.22, N = 6SE +/- 5.48, N = 3SE +/- 5.64, N = 3SE +/- 9.94, N = 6292.69278.89288.371072.391018.11310.42302.79287.90289.47259.741. (CC) gcc options: -O3

IOzone

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

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 4Kb - File Size: 8GB - Disk Test: Read PerformanceStocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime70140210280350SE +/- 2.42, N = 3SE +/- 0.97, N = 3SE +/- 1.78, N = 3SE +/- 6.50, N = 6SE +/- 5.86, N = 3SE +/- 4.70, N = 3SE +/- 2.24, N = 3SE +/- 3.61, N = 3SE +/- 1.30, N = 3SE +/- 3.14, N = 3286.04274.59285.02309.67322.96300.61287.20292.42285.79220.491. (CC) gcc options: -O3

IOzone

Record Size: 1MB - File Size: 8GB - Disk Test: Write Performance

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 1MB - File Size: 8GB - Disk Test: Write PerformanceStocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime30060090012001500SE +/- 0.06, N = 3SE +/- 0.30, N = 3SE +/- 0.26, N = 3SE +/- 14.31, N = 6SE +/- 39.86, N = 6SE +/- 0.37, N = 3SE +/- 0.50, N = 3SE +/- 0.05, N = 3SE +/- 0.10, N = 3SE +/- 0.38, N = 3102.44103.05103.01313.891285.86102.83102.61102.63102.43100.851. (CC) gcc options: -O3

IOzone

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

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 4Kb - File Size: 8GB - Disk Test: Write PerformanceStocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime50100150200250SE +/- 0.09, N = 3SE +/- 0.21, N = 3SE +/- 0.28, N = 3SE +/- 29.60, N = 6SE +/- 38.65, N = 6SE +/- 0.18, N = 3SE +/- 0.10, N = 3SE +/- 0.23, N = 3SE +/- 0.18, N = 3SE +/- 1.57, N = 3102.30102.97102.48193.81212.67101.42102.57102.82102.6197.561. (CC) gcc options: -O3

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 PerformanceStocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime2004006008001000SE +/- 5.74, N = 3SE +/- 4.63, N = 6SE +/- 1.53, N = 3SE +/- 7.62, N = 3SE +/- 9.95, N = 3SE +/- 4.88, N = 5SE +/- 5.60, N = 3SE +/- 1.17, N = 3SE +/- 3.62, N = 3SE +/- 8.86, N = 6294.92275.35292.751048.391029.06320.97291.59294.81298.31232.971. (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 PerformanceStocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime30060090012001500SE +/- 0.20, N = 3SE +/- 0.05, N = 3SE +/- 0.19, N = 3SE +/- 0.70, N = 3SE +/- 3.96, N = 3SE +/- 0.24, N = 3SE +/- 0.38, N = 3SE +/- 0.33, N = 3SE +/- 0.12, N = 3SE +/- 0.28, N = 3102.86103.19102.68326.801291.38102.15102.88102.79102.79101.201. (CC) gcc options: -O3

Threaded I/O Tester

Test: Random Write - Size Per Thread: 32MB - Thread Count: 4

OpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 32MB - Thread Count: 4Stocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime20406080100SE +/- 1.22, N = 8SE +/- 0.55, N = 4SE +/- 5.25, N = 8SE +/- 1.31, N = 8SE +/- 1.86, N = 8SE +/- 2.30, N = 8SE +/- 2.27, N = 8SE +/- 1.78, N = 8SE +/- 3.19, N = 8SE +/- 7.10, N = 875.1097.2567.7263.1663.9275.6272.5473.3170.1459.66

Threaded I/O Tester

Test: Random Write - Size Per Thread: 32MB - Thread Count: 8

OpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 32MB - Thread Count: 8Stocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime20406080100SE +/- 3.03, N = 8SE +/- 0.56, N = 4SE +/- 3.20, N = 8SE +/- 3.11, N = 8SE +/- 1.85, N = 8SE +/- 3.12, N = 8SE +/- 2.51, N = 8SE +/- 2.92, N = 8SE +/- 0.57, N = 4SE +/- 5.10, N = 875.0096.2178.7462.5769.4175.5377.3482.2481.6273.41

Threaded I/O Tester

Test: Random Write - Size Per Thread: 64MB - Thread Count: 4

OpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 64MB - Thread Count: 4Stocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime20406080100SE +/- 0.86, N = 4SE +/- 0.59, N = 4SE +/- 0.96, N = 4SE +/- 0.96, N = 4SE +/- 4.92, N = 8SE +/- 1.77, N = 8SE +/- 0.96, N = 5SE +/- 2.51, N = 8SE +/- 0.25, N = 4SE +/- 0.91, N = 474.2693.6171.6463.3458.1268.8969.5672.9468.6668.82

Threaded I/O Tester

Test: Random Write - Size Per Thread: 64MB - Thread Count: 8

OpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 64MB - Thread Count: 8Stocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime20406080100SE +/- 2.20, N = 8SE +/- 1.45, N = 4SE +/- 3.24, N = 8SE +/- 3.72, N = 8SE +/- 0.92, N = 4SE +/- 8.00, N = 8SE +/- 0.39, N = 4SE +/- 1.99, N = 8SE +/- 5.13, N = 8SE +/- 3.52, N = 877.2393.3378.3357.4657.6060.6679.9573.7168.7879.89

Compile Bench

Test: Compile

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileStocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime150300450600750SE +/- 0.30, N = 3SE +/- 0.33, N = 3SE +/- 0.06, N = 3SE +/- 0.51, N = 3SE +/- 2.51, N = 3SE +/- 0.19, N = 3SE +/- 0.27, N = 3SE +/- 0.33, N = 3SE +/- 1.56, N = 4SE +/- 0.46, N = 396.7695.5095.61210.26705.8198.5096.6796.5893.4491.84

Compile Bench

Test: Initial Create

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateStocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime1632486480SE +/- 1.11, N = 3SE +/- 1.41, N = 3SE +/- 1.36, N = 3SE +/- 0.61, N = 3SE +/- 1.18, N = 3SE +/- 2.06, N = 3SE +/- 1.95, N = 3SE +/- 3.14, N = 3SE +/- 2.15, N = 4SE +/- 0.93, N = 359.1156.4864.2251.7070.2151.4665.7361.8759.4462.97

Unpacking The Linux Kernel

linux-2.6.32.tar.bz2

OpenBenchmarking.orgSeconds, Fewer Is BetterUnpacking The Linux Kernellinux-2.6.32.tar.bz2Stocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime612182430SE +/- 0.18, N = 4SE +/- 0.15, N = 4SE +/- 0.19, N = 4SE +/- 0.05, N = 4SE +/- 0.13, N = 4SE +/- 0.25, N = 4SE +/- 0.07, N = 4SE +/- 0.26, N = 4SE +/- 0.11, N = 4SE +/- 0.19, N = 416.0715.7315.9427.0519.1517.2715.8416.2116.0516.09

PostMark

Disk Transaction Performance

OpenBenchmarking.orgTPS, More Is BetterPostMark 1.51Disk Transaction PerformanceStocknodatacownobarriercompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime5001000150020002500SE +/- 21.40, N = 10SE +/- 30.40, N = 10SE +/- 0.00, N = 5SE +/- 26.67, N = 10SE +/- 21.93, N = 6SE +/- 21.93, N = 6SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 21.01, N = 7159423181562200315971597156215621607


Phoronix Test Suite v10.8.4