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

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 PatternStockclear_cachecompress=lzocompress=zlibdiscardinode_cachenoatimenobarriernodatacownospace_cache2004006008001000SE +/- 2.45, N = 3SE +/- 2.17, N = 3SE +/- 3.76, N = 3SE +/- 2.47, N = 3SE +/- 8.49, N = 3SE +/- 2.99, N = 3SE +/- 0.76, N = 3SE +/- 4.02, N = 3SE +/- 2.46, N = 3SE +/- 4.88, N = 3724.41721.05713.95721.72816.52715.86713.06715.79661.77722.57

FS-Mark

Test: 1000 Files, 1MB Size

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

Dbench

Client Count: 1

OpenBenchmarking.orgMB/s, More Is BetterDbench 4.0Client Count: 1Stockclear_cachecompress=lzocompress=zlibdiscardinode_cachenoatimenobarriernodatacownospace_cache4080120160200SE +/- 0.24, N = 3SE +/- 0.63, N = 3SE +/- 0.49, N = 3SE +/- 1.88, N = 3SE +/- 0.14, N = 3SE +/- 1.30, N = 3SE +/- 0.83, N = 3SE +/- 0.31, N = 3SE +/- 0.24, N = 3SE +/- 0.26, N = 3170.36169.72187.59169.11148.72191.24168.49181.87193.99170.641. (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 PerformanceStockclear_cachecompress=lzocompress=zlibdiscardinode_cachenoatimenobarriernodatacownospace_cache2004006008001000SE +/- 4.39, N = 5SE +/- 5.48, N = 3SE +/- 11.23, N = 3SE +/- 18.51, N = 4SE +/- 5.51, N = 6SE +/- 5.64, N = 3SE +/- 9.94, N = 6SE +/- 5.71, N = 3SE +/- 0.93, N = 3SE +/- 8.22, N = 6292.69287.901018.111072.39310.42289.47259.74288.37278.89302.791. (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 PerformanceStockclear_cachecompress=lzocompress=zlibdiscardinode_cachenoatimenobarriernodatacownospace_cache70140210280350SE +/- 2.42, N = 3SE +/- 3.61, N = 3SE +/- 5.86, N = 3SE +/- 6.50, N = 6SE +/- 4.70, N = 3SE +/- 1.30, N = 3SE +/- 3.14, N = 3SE +/- 1.78, N = 3SE +/- 0.97, N = 3SE +/- 2.24, N = 3286.04292.42322.96309.67300.61285.79220.49285.02274.59287.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 PerformanceStockclear_cachecompress=lzocompress=zlibdiscardinode_cachenoatimenobarriernodatacownospace_cache30060090012001500SE +/- 0.06, N = 3SE +/- 0.05, N = 3SE +/- 39.86, N = 6SE +/- 14.31, N = 6SE +/- 0.37, N = 3SE +/- 0.10, N = 3SE +/- 0.38, N = 3SE +/- 0.26, N = 3SE +/- 0.30, N = 3SE +/- 0.50, N = 3102.44102.631285.86313.89102.83102.43100.85103.01103.05102.611. (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 PerformanceStockclear_cachecompress=lzocompress=zlibdiscardinode_cachenoatimenobarriernodatacownospace_cache50100150200250SE +/- 0.09, N = 3SE +/- 0.23, N = 3SE +/- 38.65, N = 6SE +/- 29.60, N = 6SE +/- 0.18, N = 3SE +/- 0.18, N = 3SE +/- 1.57, N = 3SE +/- 0.28, N = 3SE +/- 0.21, N = 3SE +/- 0.10, N = 3102.30102.82212.67193.81101.42102.6197.56102.48102.97102.571. (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 PerformanceStockclear_cachecompress=lzocompress=zlibdiscardinode_cachenoatimenobarriernodatacownospace_cache2004006008001000SE +/- 5.74, N = 3SE +/- 1.17, N = 3SE +/- 9.95, N = 3SE +/- 7.62, N = 3SE +/- 4.88, N = 5SE +/- 3.62, N = 3SE +/- 8.86, N = 6SE +/- 1.53, N = 3SE +/- 4.63, N = 6SE +/- 5.60, N = 3294.92294.811029.061048.39320.97298.31232.97292.75275.35291.591. (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 PerformanceStockclear_cachecompress=lzocompress=zlibdiscardinode_cachenoatimenobarriernodatacownospace_cache30060090012001500SE +/- 0.20, N = 3SE +/- 0.33, N = 3SE +/- 3.96, N = 3SE +/- 0.70, N = 3SE +/- 0.24, N = 3SE +/- 0.12, N = 3SE +/- 0.28, N = 3SE +/- 0.19, N = 3SE +/- 0.05, N = 3SE +/- 0.38, N = 3102.86102.791291.38326.80102.15102.79101.20102.68103.19102.881. (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: 4Stockclear_cachecompress=lzocompress=zlibdiscardinode_cachenoatimenobarriernodatacownospace_cache20406080100SE +/- 1.22, N = 8SE +/- 1.78, N = 8SE +/- 1.86, N = 8SE +/- 1.31, N = 8SE +/- 2.30, N = 8SE +/- 3.19, N = 8SE +/- 7.10, N = 8SE +/- 5.25, N = 8SE +/- 0.55, N = 4SE +/- 2.27, N = 875.1073.3163.9263.1675.6270.1459.6667.7297.2572.54

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: 8Stockclear_cachecompress=lzocompress=zlibdiscardinode_cachenoatimenobarriernodatacownospace_cache20406080100SE +/- 3.03, N = 8SE +/- 2.92, N = 8SE +/- 1.85, N = 8SE +/- 3.11, N = 8SE +/- 3.12, N = 8SE +/- 0.57, N = 4SE +/- 5.10, N = 8SE +/- 3.20, N = 8SE +/- 0.56, N = 4SE +/- 2.51, N = 875.0082.2469.4162.5775.5381.6273.4178.7496.2177.34

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: 4Stockclear_cachecompress=lzocompress=zlibdiscardinode_cachenoatimenobarriernodatacownospace_cache20406080100SE +/- 0.86, N = 4SE +/- 2.51, N = 8SE +/- 4.92, N = 8SE +/- 0.96, N = 4SE +/- 1.77, N = 8SE +/- 0.25, N = 4SE +/- 0.91, N = 4SE +/- 0.96, N = 4SE +/- 0.59, N = 4SE +/- 0.96, N = 574.2672.9458.1263.3468.8968.6668.8271.6493.6169.56

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

Compile Bench

Test: Compile

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

Compile Bench

Test: Initial Create

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateStockclear_cachecompress=lzocompress=zlibdiscardinode_cachenoatimenobarriernodatacownospace_cache1632486480SE +/- 1.11, N = 3SE +/- 3.14, N = 3SE +/- 1.18, N = 3SE +/- 0.61, N = 3SE +/- 2.06, N = 3SE +/- 2.15, N = 4SE +/- 0.93, N = 3SE +/- 1.36, N = 3SE +/- 1.41, N = 3SE +/- 1.95, N = 359.1161.8770.2151.7051.4659.4462.9764.2256.4865.73

Unpacking The Linux Kernel

linux-2.6.32.tar.bz2

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

PostMark

Disk Transaction Performance

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


Phoronix Test Suite v10.8.4