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&sor.

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 Patternnodatacownoatimecompress=lzonobarrierinode_cacheclear_cachecompress=zlibnospace_cacheStockdiscard2004006008001000SE +/- 2.46, N = 3SE +/- 0.76, N = 3SE +/- 3.76, N = 3SE +/- 4.02, N = 3SE +/- 2.99, N = 3SE +/- 2.17, N = 3SE +/- 2.47, N = 3SE +/- 4.88, N = 3SE +/- 2.45, N = 3SE +/- 8.49, N = 3661.77713.06713.95715.79715.86721.05721.72722.57724.41816.52

FS-Mark

Test: 1000 Files, 1MB Size

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB Sizecompress=lzocompress=zlibnodatacownobarrierinode_cachenospace_cachenoatimeclear_cacheStockdiscard4080120160200SE +/- 0.67, N = 3SE +/- 0.15, N = 3SE +/- 0.32, N = 3SE +/- 0.87, N = 3SE +/- 0.42, N = 3SE +/- 0.46, N = 3SE +/- 0.28, N = 3SE +/- 0.35, N = 3SE +/- 0.47, N = 3SE +/- 2.45, N = 6188.13101.1386.2370.8366.2066.0365.9765.5065.3759.401. (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 Threadscompress=lzocompress=zlibnodatacownoatimenobarriernospace_cacheinode_cacheclear_cacheStockdiscard2004006008001000SE +/- 13.89, N = 3SE +/- 0.27, N = 3SE +/- 0.25, N = 3SE +/- 0.55, N = 3SE +/- 0.58, N = 3SE +/- 0.52, N = 3SE +/- 0.70, N = 3SE +/- 0.74, N = 3SE +/- 0.62, N = 3SE +/- 0.94, N = 6832.43237.9399.1093.9093.8793.8393.5793.5793.2370.521. (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 Sizecompress=lzocompress=zlibnodatacownobarrierStockinode_cacheclear_cachenospace_cachenoatimediscard4080120160200SE +/- 0.92, N = 3SE +/- 0.15, N = 3SE +/- 0.40, N = 3SE +/- 0.34, N = 3SE +/- 0.26, N = 3SE +/- 0.20, N = 3SE +/- 0.12, N = 3SE +/- 0.12, N = 3SE +/- 0.20, N = 3SE +/- 1.43, N = 6185.6099.0776.8068.9764.0063.9063.9063.8063.2054.931. (CC) gcc options: -static

Dbench

Client Count: 1

OpenBenchmarking.orgMB/s, More Is BetterDbench 4.0Client Count: 1nodatacowinode_cachecompress=lzonobarriernospace_cacheStockclear_cachecompress=zlibnoatimediscard4080120160200SE +/- 0.24, N = 3SE +/- 1.30, N = 3SE +/- 0.49, N = 3SE +/- 0.31, N = 3SE +/- 0.26, N = 3SE +/- 0.24, N = 3SE +/- 0.63, N = 3SE +/- 1.88, N = 3SE +/- 0.83, N = 3SE +/- 0.14, N = 3193.99191.24187.59181.87170.64170.36169.72169.11168.49148.721. (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 Performancecompress=zlibcompress=lzodiscardnospace_cacheStockinode_cachenobarrierclear_cachenodatacownoatime2004006008001000SE +/- 18.51, N = 4SE +/- 11.23, N = 3SE +/- 5.51, N = 6SE +/- 8.22, N = 6SE +/- 4.39, N = 5SE +/- 5.64, N = 3SE +/- 5.71, N = 3SE +/- 5.48, N = 3SE +/- 0.93, N = 3SE +/- 9.94, N = 61072.391018.11310.42302.79292.69289.47288.37287.90278.89259.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 Performancecompress=lzocompress=zlibdiscardclear_cachenospace_cacheStockinode_cachenobarriernodatacownoatime70140210280350SE +/- 5.86, N = 3SE +/- 6.50, N = 6SE +/- 4.70, N = 3SE +/- 3.61, N = 3SE +/- 2.24, N = 3SE +/- 2.42, N = 3SE +/- 1.30, N = 3SE +/- 1.78, N = 3SE +/- 0.97, N = 3SE +/- 3.14, N = 3322.96309.67300.61292.42287.20286.04285.79285.02274.59220.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 Performancecompress=lzocompress=zlibnodatacownobarrierdiscardclear_cachenospace_cacheStockinode_cachenoatime30060090012001500SE +/- 39.86, N = 6SE +/- 14.31, N = 6SE +/- 0.30, N = 3SE +/- 0.26, N = 3SE +/- 0.37, N = 3SE +/- 0.05, N = 3SE +/- 0.50, N = 3SE +/- 0.06, N = 3SE +/- 0.10, N = 3SE +/- 0.38, N = 31285.86313.89103.05103.01102.83102.63102.61102.44102.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 Performancecompress=lzocompress=zlibnodatacowclear_cacheinode_cachenospace_cachenobarrierStockdiscardnoatime50100150200250SE +/- 38.65, N = 6SE +/- 29.60, N = 6SE +/- 0.21, N = 3SE +/- 0.23, N = 3SE +/- 0.18, N = 3SE +/- 0.10, N = 3SE +/- 0.28, N = 3SE +/- 0.09, N = 3SE +/- 0.18, N = 3SE +/- 1.57, N = 3212.67193.81102.97102.82102.61102.57102.48102.30101.4297.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 Performancecompress=zlibcompress=lzodiscardinode_cacheStockclear_cachenobarriernospace_cachenodatacownoatime2004006008001000SE +/- 7.62, N = 3SE +/- 9.95, N = 3SE +/- 4.88, N = 5SE +/- 3.62, N = 3SE +/- 5.74, N = 3SE +/- 1.17, N = 3SE +/- 1.53, N = 3SE +/- 5.60, N = 3SE +/- 4.63, N = 6SE +/- 8.86, N = 61048.391029.06320.97298.31294.92294.81292.75291.59275.35232.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 Performancecompress=lzocompress=zlibnodatacownospace_cacheStockinode_cacheclear_cachenobarrierdiscardnoatime30060090012001500SE +/- 3.96, N = 3SE +/- 0.70, N = 3SE +/- 0.05, N = 3SE +/- 0.38, N = 3SE +/- 0.20, N = 3SE +/- 0.12, N = 3SE +/- 0.33, N = 3SE +/- 0.19, N = 3SE +/- 0.24, N = 3SE +/- 0.28, N = 31291.38326.80103.19102.88102.86102.79102.79102.68102.15101.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: 4nodatacowdiscardStockclear_cachenospace_cacheinode_cachenobarriercompress=lzocompress=zlibnoatime20406080100SE +/- 0.55, N = 4SE +/- 2.30, N = 8SE +/- 1.22, N = 8SE +/- 1.78, N = 8SE +/- 2.27, N = 8SE +/- 3.19, N = 8SE +/- 5.25, N = 8SE +/- 1.86, N = 8SE +/- 1.31, N = 8SE +/- 7.10, N = 897.2575.6275.1073.3172.5470.1467.7263.9263.1659.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: 8nodatacowclear_cacheinode_cachenobarriernospace_cachediscardStocknoatimecompress=lzocompress=zlib20406080100SE +/- 0.56, N = 4SE +/- 2.92, N = 8SE +/- 0.57, N = 4SE +/- 3.20, N = 8SE +/- 2.51, N = 8SE +/- 3.12, N = 8SE +/- 3.03, N = 8SE +/- 5.10, N = 8SE +/- 1.85, N = 8SE +/- 3.11, N = 896.2182.2481.6278.7477.3475.5375.0073.4169.4162.57

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: 4nodatacowStockclear_cachenobarriernospace_cachediscardnoatimeinode_cachecompress=zlibcompress=lzo20406080100SE +/- 0.59, N = 4SE +/- 0.86, N = 4SE +/- 2.51, N = 8SE +/- 0.96, N = 4SE +/- 0.96, N = 5SE +/- 1.77, N = 8SE +/- 0.91, N = 4SE +/- 0.25, N = 4SE +/- 0.96, N = 4SE +/- 4.92, N = 893.6174.2672.9471.6469.5668.8968.8268.6663.3458.12

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: 8nodatacownospace_cachenoatimenobarrierStockclear_cacheinode_cachediscardcompress=lzocompress=zlib20406080100SE +/- 1.45, N = 4SE +/- 0.39, N = 4SE +/- 3.52, N = 8SE +/- 3.24, N = 8SE +/- 2.20, N = 8SE +/- 1.99, N = 8SE +/- 5.13, N = 8SE +/- 8.00, N = 8SE +/- 0.92, N = 4SE +/- 3.72, N = 893.3379.9579.8978.3377.2373.7168.7860.6657.6057.46

Compile Bench

Test: Compile

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Compilecompress=lzocompress=zlibdiscardStocknospace_cacheclear_cachenobarriernodatacowinode_cachenoatime150300450600750SE +/- 2.51, N = 3SE +/- 0.51, N = 3SE +/- 0.19, N = 3SE +/- 0.30, N = 3SE +/- 0.27, N = 3SE +/- 0.33, N = 3SE +/- 0.06, N = 3SE +/- 0.33, N = 3SE +/- 1.56, N = 4SE +/- 0.46, N = 3705.81210.2698.5096.7696.6796.5895.6195.5093.4491.84

Compile Bench

Test: Initial Create

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial Createcompress=lzonospace_cachenobarriernoatimeclear_cacheinode_cacheStocknodatacowcompress=zlibdiscard1632486480SE +/- 1.18, N = 3SE +/- 1.95, N = 3SE +/- 1.36, N = 3SE +/- 0.93, N = 3SE +/- 3.14, N = 3SE +/- 2.15, N = 4SE +/- 1.11, N = 3SE +/- 1.41, N = 3SE +/- 0.61, N = 3SE +/- 2.06, N = 370.2165.7364.2262.9761.8759.4459.1156.4851.7051.46

Unpacking The Linux Kernel

linux-2.6.32.tar.bz2

OpenBenchmarking.orgSeconds, Fewer Is BetterUnpacking The Linux Kernellinux-2.6.32.tar.bz2nodatacownospace_cachenobarrierinode_cacheStocknoatimeclear_cachediscardcompress=lzocompress=zlib612182430SE +/- 0.15, N = 4SE +/- 0.07, N = 4SE +/- 0.19, N = 4SE +/- 0.11, N = 4SE +/- 0.18, N = 4SE +/- 0.19, N = 4SE +/- 0.26, N = 4SE +/- 0.25, N = 4SE +/- 0.13, N = 4SE +/- 0.05, N = 415.7315.8415.9416.0516.0716.0916.2117.2719.1527.05

PostMark

Disk Transaction Performance

OpenBenchmarking.orgTPS, More Is BetterPostMark 1.51Disk Transaction Performancenodatacowcompress=lzonoatimenospace_cachediscardStockinode_cacheclear_cachenobarrier5001000150020002500SE +/- 30.40, N = 10SE +/- 26.67, N = 10SE +/- 21.01, N = 7SE +/- 21.93, N = 6SE +/- 21.93, N = 6SE +/- 21.40, N = 10SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5231820031607159715971594156215621562


Phoronix Test Suite v10.8.4