Btrfs Ubuntu 12.04 Disk

Testing out various Btrfs file-system mount options from Ubuntu 12.04 LTS with Linux 3.2 kernel for a future article on Phoronix.com.

HTML result view exported from: https://openbenchmarking.org/result/1203163-BY-BTRFSUBUN38&gru&sor.

Btrfs Ubuntu 12.04 DiskProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionStockSpace CachingNo Data Copy-On-WriteZlib CompressionLZO CompressionAuto-DefragFree Inode CacheIntel Core i5-2520M @ 2.50GHz (4 Cores)HP 161CIntel 2nd Generation Core Family DRAM4096MB160GB INTEL SSDSA2M160Intel Sandybridge Mobile (GT2+)IDT 92HD81B1X5Intel 82579LM Gigabit Connection + Intel Centrino Advanced-N 6205Ubuntu 12.043.2.0-18-generic (x86_64)Unity 5.6.0X Server 1.11.3intel 2.17.03.0 Mesa 8.0.1GCC 4.6btrfs1600x900OpenBenchmarking.orgCompiler Details- --build=x86_64-linux-gnu --disable-werror --enable-checking=release --enable-clocale=gnu --enable-gnu-unique-object --enable-languages=c,c++,fortran,objc,obj-c++,go --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: CFQ / nospace_cache,relatime,rw,ssd- Space Caching: CFQ / relatime,rw,space_cache,ssd- No Data Copy-On-Write: CFQ / nodatacow,nodatasum,nospace_cache,relatime,rw,ssd- Zlib Compression: CFQ / compress=zlib,nospace_cache,relatime,rw,ssd- LZO Compression: CFQ / compress=lzo,nospace_cache,relatime,rw,ssd- Auto-Defrag: CFQ / autodefrag,nospace_cache,relatime,rw,ssd- Free Inode Cache: CFQ / inode_cache,nospace_cache,relatime,rw,ssdSystem Details- Disk Scheduler: CFQ. Python 2.7.3rc1. Compiz was running on this system.

Btrfs Ubuntu 12.04 Diskfs-mark: 1000 Files, 1MB Sizefs-mark: 1000 Files, 1MB Size, No Sync/FSyncfs-mark: 5000 Files, 1MB Size, 4 Threadsfs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizedbench: 1compilebench: Initial Createcompilebench: Compilecompilebench: Read Compiled Treeiozone: 4Kb - 8GB - Write Performanceiozone: 4Kb - 8GB - Read Performancetiobench: Rand Write - 64MB - 16postmark: Disk Transaction Performancefio: Intel IOMeter File Server Access PatternStockSpace CachingNo Data Copy-On-WriteZlib CompressionLZO CompressionAuto-DefragFree Inode Cache52.13128.0786.5058.90140.6875.21105.14377.79102.22224.8192.832209555.1859.03149.4091.6361.40152.3163.48105.50364.63102.87225.0590.17561.8678.73153.6792.4077.43164.4470.05103.67495.04102.68220.5488.87548.3194.27344.83400.8596.83133.8685.89366.08511.64501.76226.5188.67554.74167.431251.47788.58175.77152.61113.49946.38185.65570.48211.6088.38558.3060.43149.3890.8056.63146.3452.88101.20380.16103.07223.8592.652683.4634.75130.7065.0753.2090.0150.4595.60277.06100.58224.9766.442500561.15OpenBenchmarking.org

FS-Mark

Test: 1000 Files, 1MB Size

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeLZO CompressionZlib CompressionNo Data Copy-On-WriteAuto-DefragSpace CachingStockFree Inode Cache4080120160200SE +/- 3.23, N = 6SE +/- 0.49, N = 3SE +/- 0.61, N = 3SE +/- 1.13, N = 3SE +/- 0.41, N = 3SE +/- 1.68, N = 6SE +/- 0.99, N = 6167.4394.2778.7360.4359.0352.1334.751. (CC) gcc options: -static

FS-Mark

Test: 1000 Files, 1MB Size, No Sync/FSync

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB Size, No Sync/FSyncLZO CompressionZlib CompressionNo Data Copy-On-WriteSpace CachingAuto-DefragFree Inode CacheStock30060090012001500SE +/- 16.52, N = 6SE +/- 5.10, N = 3SE +/- 2.91, N = 3SE +/- 2.02, N = 3SE +/- 3.86, N = 6SE +/- 11.72, N = 6SE +/- 5.65, N = 61251.47344.83153.67149.40149.38130.70128.071. (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 ThreadsLZO CompressionZlib CompressionNo Data Copy-On-WriteSpace CachingAuto-DefragStockFree Inode Cache2004006008001000SE +/- 20.47, N = 6SE +/- 13.40, N = 6SE +/- 1.01, N = 3SE +/- 0.72, N = 3SE +/- 0.92, N = 3SE +/- 1.54, N = 6SE +/- 2.66, N = 6788.58400.8592.4091.6390.8086.5065.071. (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 SizeLZO CompressionZlib CompressionNo Data Copy-On-WriteSpace CachingStockAuto-DefragFree Inode Cache4080120160200SE +/- 2.54, N = 3SE +/- 0.64, N = 3SE +/- 1.38, N = 3SE +/- 0.10, N = 3SE +/- 1.06, N = 6SE +/- 0.58, N = 3SE +/- 0.72, N = 3175.7796.8377.4361.4058.9056.6353.201. (CC) gcc options: -static

Dbench

Client Count: 1

OpenBenchmarking.orgMB/s, More Is BetterDbench 4.0Client Count: 1No Data Copy-On-WriteLZO CompressionSpace CachingAuto-DefragStockZlib CompressionFree Inode Cache4080120160200SE +/- 0.76, N = 3SE +/- 2.33, N = 4SE +/- 0.65, N = 3SE +/- 1.13, N = 3SE +/- 1.35, N = 3SE +/- 1.55, N = 3SE +/- 2.89, N = 6164.44152.61152.31146.34140.68133.8690.011. (CC) gcc options: -lpopt

Compile Bench

Test: Initial Create

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateLZO CompressionZlib CompressionStockNo Data Copy-On-WriteSpace CachingAuto-DefragFree Inode Cache306090120150SE +/- 0.21, N = 3SE +/- 1.30, N = 6SE +/- 3.00, N = 6SE +/- 2.73, N = 6SE +/- 0.71, N = 3SE +/- 0.93, N = 3SE +/- 0.97, N = 3113.4985.8975.2170.0563.4852.8850.45

Compile Bench

Test: Compile

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileLZO CompressionZlib CompressionSpace CachingStockNo Data Copy-On-WriteAuto-DefragFree Inode Cache2004006008001000SE +/- 1.83, N = 3SE +/- 0.90, N = 3SE +/- 1.53, N = 3SE +/- 0.94, N = 3SE +/- 0.45, N = 3SE +/- 0.90, N = 3SE +/- 0.76, N = 3946.38366.08105.50105.14103.67101.2095.60

Compile Bench

Test: Read Compiled Tree

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Read Compiled TreeZlib CompressionNo Data Copy-On-WriteAuto-DefragStockSpace CachingFree Inode CacheLZO Compression110220330440550SE +/- 54.62, N = 6SE +/- 61.64, N = 6SE +/- 78.31, N = 3SE +/- 45.43, N = 6SE +/- 148.08, N = 2SE +/- 17.55, N = 3SE +/- 16.66, N = 3511.64495.04380.16377.79364.63277.06185.65

IOzone

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

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.347Record Size: 4Kb - File Size: 8GB - Disk Test: Write PerformanceLZO CompressionZlib CompressionAuto-DefragSpace CachingNo Data Copy-On-WriteStockFree Inode Cache120240360480600SE +/- 210.77, N = 6SE +/- 2.00, N = 3SE +/- 0.30, N = 3SE +/- 0.85, N = 3SE +/- 0.42, N = 3SE +/- 0.53, N = 3SE +/- 0.45, N = 3570.48501.76103.07102.87102.68102.22100.581. (CC) gcc options: -O3

IOzone

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

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.347Record Size: 4Kb - File Size: 8GB - Disk Test: Read PerformanceZlib CompressionSpace CachingFree Inode CacheStockAuto-DefragNo Data Copy-On-WriteLZO Compression50100150200250SE +/- 1.04, N = 3SE +/- 0.54, N = 3SE +/- 0.52, N = 3SE +/- 0.76, N = 3SE +/- 0.61, N = 3SE +/- 0.83, N = 3SE +/- 9.62, N = 6226.51225.05224.97224.81223.85220.54211.601. (CC) gcc options: -O3

Threaded I/O Tester

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

OpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 64MB - Thread Count: 16StockAuto-DefragSpace CachingNo Data Copy-On-WriteZlib CompressionLZO CompressionFree Inode Cache20406080100SE +/- 1.10, N = 4SE +/- 1.00, N = 12SE +/- 1.56, N = 12SE +/- 0.31, N = 4SE +/- 0.45, N = 4SE +/- 0.18, N = 4SE +/- 8.63, N = 892.8392.6590.1788.8788.6788.3866.44

PostMark

Disk Transaction Performance

OpenBenchmarking.orgTPS, More Is BetterPostMark 1.51Disk Transaction PerformanceFree Inode CacheStock5001000150020002500SE +/- 63.00, N = 325002209

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 PatternNo Data Copy-On-WriteZlib CompressionStockLZO CompressionFree Inode CacheSpace CachingAuto-Defrag6001200180024003000SE +/- 4.80, N = 3SE +/- 1.23, N = 3SE +/- 0.49, N = 3SE +/- 0.58, N = 3SE +/- 1.21, N = 3SE +/- 1.66, N = 3SE +/- 372.69, N = 3548.31554.74555.18558.30561.15561.862683.46


Phoronix Test Suite v10.8.5