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&grr&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 Linuxpostmark: Disk Transaction Performanceunpack-linux: linux-2.6.32.tar.bz2compilebench: Initial Createcompilebench: Compiletiobench: Rand Write - 64MB - 8tiobench: Rand Write - 64MB - 4tiobench: Rand Write - 32MB - 8tiobench: Rand Write - 32MB - 4iozone: 64Kb - 8GB - Write Performanceiozone: 64Kb - 8GB - Read Performanceiozone: 4Kb - 8GB - Write Performanceiozone: 1MB - 8GB - Write Performanceiozone: 4Kb - 8GB - Read Performanceiozone: 1MB - 8GB - Read Performancedbench: 1fs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizefs-mark: 5000 Files, 1MB Size, 4 Threadsfs-mark: 1000 Files, 1MB Sizefio: Intel IOMeter File Server Access PatternStocknodatacownobarriercompress=zlibcompress=lzodiscardnospace_cacheclear_cacheinode_cachenoatime159416.0759.1196.7677.2374.2675.0075.10102.86294.92102.30102.44286.04292.69170.3664.0093.2365.37724.41231815.7356.4895.5093.3393.6196.2197.25103.19275.35102.97103.05274.59278.89193.9976.8099.1086.23661.77156215.9464.2295.6178.3371.6478.7467.72102.68292.75102.48103.01285.02288.37181.8768.9793.8770.83715.7927.0551.70210.2657.4663.3462.5763.16326.801048.39193.81313.89309.671072.39169.1199.07237.93101.13721.72200319.1570.21705.8157.6058.1269.4163.921291.381029.06212.671285.86322.961018.11187.59185.60832.43188.13713.95159717.2751.4698.5060.6668.8975.5375.62102.15320.97101.42102.83300.61310.42148.7254.9370.5259.40816.52159715.8465.7396.6779.9569.5677.3472.54102.88291.59102.57102.61287.20302.79170.6463.8093.8366.03722.57156216.2161.8796.5873.7172.9482.2473.31102.79294.81102.82102.63292.42287.90169.7263.9093.5765.50721.05156216.0559.4493.4468.7868.6681.6270.14102.79298.31102.61102.43285.79289.47191.2463.9093.5766.20715.86160716.0962.9791.8479.8968.8273.4159.66101.20232.9797.56100.85220.49259.74168.4963.2093.9065.97713.06OpenBenchmarking.org

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

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

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

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

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

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

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

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

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


Phoronix Test Suite v10.8.4