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

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 Linuxcompilebench: Compileiozone: 64Kb - 8GB - Read Performanceiozone: 1MB - 8GB - Read Performancefs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizefs-mark: 1000 Files, 1MB Sizeiozone: 4Kb - 8GB - Write Performanceiozone: 64Kb - 8GB - Write Performanceiozone: 1MB - 8GB - Write Performancefs-mark: 5000 Files, 1MB Size, 4 Threadsunpack-linux: linux-2.6.32.tar.bz2postmark: Disk Transaction Performanceiozone: 4Kb - 8GB - Read Performancedbench: 1fio: Intel IOMeter File Server Access Patterncompilebench: Initial Createtiobench: Rand Write - 64MB - 8tiobench: Rand Write - 64MB - 4tiobench: Rand Write - 32MB - 8tiobench: Rand Write - 32MB - 4Stocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime96.76294.92292.6964.0065.37102.30102.86102.4493.2316.071594286.04170.36724.4159.1177.2374.2675.0075.1095.50275.35278.8976.8086.23102.97103.19103.0599.1015.732318274.59193.99661.7756.4893.3393.6196.2197.2595.61292.75288.3768.9770.83102.48102.68103.0193.8715.941562285.02181.87715.7964.2278.3371.6478.7467.72210.261048.391072.3999.07101.13193.81326.80313.89237.9327.05309.67169.11721.7251.7057.4663.3462.5763.16705.811029.061018.11185.60188.13212.671291.381285.86832.4319.152003322.96187.59713.9570.2157.6058.1269.4163.9298.50320.97310.4254.9359.40101.42102.15102.8370.5217.271597300.61148.72816.5251.4660.6668.8975.5375.6296.67291.59302.7963.8066.03102.57102.88102.6193.8315.841597287.20170.64722.5765.7379.9569.5677.3472.5496.58294.81287.9063.9065.50102.82102.79102.6393.5716.211562292.42169.72721.0561.8773.7172.9482.2473.3193.44298.31289.4763.9066.20102.61102.79102.4393.5716.051562285.79191.24715.8659.4468.7868.6681.6270.1491.84232.97259.7463.2065.9797.56101.20100.8593.9016.091607220.49168.49713.0662.9779.8968.8273.4159.66OpenBenchmarking.org

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

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: 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

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

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

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: 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

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

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

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

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

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

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

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

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

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: 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: 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


Phoronix Test Suite v10.8.4