Btrfs vs. F2FS Ubuntu 13.04 File-Systems

Btrfs and F2FS file-system benchmarks on Ubuntu 13.04 with the Linux 3.8 kernel with a solid-state drive. Benchmarking for a future article on Phoronix.com.

HTML result view exported from: https://openbenchmarking.org/result/1304138-UT-F2FSUBUNT01&grw&sro.

Btrfs vs. F2FS Ubuntu 13.04 File-SystemsProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionStockssd_spreadZLIB CompressionLZO CompressionNo Data COWNo BarrierDiscardF2FS - Linux 3.8F2FS - Linux 3.9EXT4 - Linux 3.9XFS - Linux 3.9Intel Core i7 720Q @ 1.60GHz (8 Cores)LENOVO 4318CTOIntel Core DMI4096MB160GB INTEL SSDSA2M160NVIDIA Quadro FX 880M 1024MB (550/790MHz)Conexant CX20585Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300Ubuntu 13.043.8.0-17-generic (x86_64)Xfce 4.10X Server 1.13.3NVIDIA 304.843.3.0 NVIDIAGCC 4.7btrfs1600x900F2FS3.9.0-999-generic (x86_64)ext4xfsOpenBenchmarking.orgCompiler Details- --build=x86_64-linux-gnu --disable-cloog-version-check --disable-ppl-version-check --disable-werror --enable-checking=release --enable-clocale=gnu --enable-cloog-backend=ppl --enable-gnu-unique-object --enable-languages=c,c++,go,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-cloog --with-multilib-list=m32,m64,mx32 --with-tune=generic -v Disk Details- Stock: DEADLINE / relatime,rw,space_cache,ssd- ssd_spread: DEADLINE / relatime,rw,space_cache,ssd_spread- ZLIB Compression: DEADLINE / compress=zlib,relatime,rw,space_cache,ssd- LZO Compression: DEADLINE / compress=lzo,relatime,rw,space_cache,ssd- No Data COW: DEADLINE / nodatacow,nodatasum,relatime,rw,space_cache,ssd- No Barrier: DEADLINE / nobarrier,relatime,rw,space_cache,ssd- Discard: DEADLINE / discard,relatime,rw,space_cache,ssd- F2FS - Linux 3.8: DEADLINE / acl,active_logs=6,background_gc_on,relatime,rw,user_xattr- F2FS - Linux 3.9: DEADLINE / acl,active_logs=6,background_gc_on,relatime,rw,user_xattr- EXT4 - Linux 3.9: DEADLINE / data=ordered,relatime,rw- XFS - Linux 3.9: DEADLINE / attr2,inode64,noquota,relatime,rwProcessor Details- Scaling Governor: ondemandSystem Details- Disk Scheduler: DEADLINE. Python 2.7.4.

Btrfs vs. F2FS Ubuntu 13.04 File-Systemscompilebench: Compilecompilebench: Initial Createfio: 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 Sizepostmark: Disk Transaction Performancepgbench: TPC-B Transactions Per SecondStockssd_spreadZLIB CompressionLZO CompressionNo Data COWNo BarrierDiscardF2FS - Linux 3.8F2FS - Linux 3.9EXT4 - Linux 3.9XFS - Linux 3.9108.8272.15658.8669.6094.4367.3011091366.29108.0371.51660.3673.5794.6068.0011131362.01261.6766.50662.35119.13313.87113.0330121303.04763.5282.53663.12193.40842.20189.0714561414.07108.0179.96629.2686.4399.2388.2015491723.26105.1472.61654.0770.5395.3069.1711011421.92728.9759.9879.2255.201071934.6196.7954.46362.6695.87100.0393.4316333048.6896.9454.63361.3997.03100.2093.7015793000.57106.65102.90103.3379.3797.2077.2714423221.51103.2889.10226.6684.1395.2082.3315182166.15OpenBenchmarking.org

Compile Bench

Test: Compile

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileEXT4 - Linux 3.9F2FS - Linux 3.8F2FS - Linux 3.9LZO CompressionNo BarrierNo Data COWStockXFS - Linux 3.9ZLIB Compressionssd_spread160320480640800SE +/- 0.51, N = 3SE +/- 0.45, N = 3SE +/- 0.14, N = 3SE +/- 2.55, N = 3SE +/- 1.14, N = 3SE +/- 0.18, N = 3SE +/- 0.26, N = 3SE +/- 0.86, N = 3SE +/- 2.09, N = 2106.6596.7996.94763.52105.14108.01108.82103.28261.67108.03

Compile Bench

Test: Initial Create

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateEXT4 - Linux 3.9F2FS - Linux 3.8F2FS - Linux 3.9LZO CompressionNo BarrierNo Data COWStockXFS - Linux 3.9ZLIB Compressionssd_spread20406080100SE +/- 2.15, N = 3SE +/- 1.57, N = 3SE +/- 0.88, N = 3SE +/- 0.76, N = 3SE +/- 1.66, N = 3SE +/- 1.17, N = 3SE +/- 0.73, N = 3SE +/- 0.43, N = 3SE +/- 0.96, N = 2102.9054.4654.6382.5372.6179.9672.1589.1066.5071.51

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 PatternDiscardEXT4 - Linux 3.9F2FS - Linux 3.8F2FS - Linux 3.9LZO CompressionNo BarrierNo Data COWStockXFS - Linux 3.9ZLIB Compressionssd_spread160320480640800SE +/- 11.81, N = 4SE +/- 0.08, N = 3SE +/- 0.32, N = 3SE +/- 1.04, N = 3SE +/- 4.40, N = 3SE +/- 6.76, N = 3SE +/- 2.20, N = 3SE +/- 3.85, N = 3SE +/- 0.50, N = 3SE +/- 4.40, N = 3SE +/- 2.43, N = 3728.97103.33362.66361.39663.12654.07629.26658.86226.66662.35660.36

FS-Mark

Test: 1000 Files, 1MB Size

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeDiscardEXT4 - Linux 3.9F2FS - Linux 3.8F2FS - Linux 3.9LZO CompressionNo BarrierNo Data COWStockXFS - Linux 3.9ZLIB Compressionssd_spread4080120160200SE +/- 3.35, N = 6SE +/- 0.91, N = 3SE +/- 1.39, N = 3SE +/- 0.88, N = 3SE +/- 0.53, N = 3SE +/- 0.84, N = 3SE +/- 0.47, N = 3SE +/- 0.21, N = 3SE +/- 1.20, N = 3SE +/- 0.41, N = 3SE +/- 1.48, N = 359.9879.3795.8797.03193.4070.5386.4369.6084.13119.1373.571. (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 ThreadsDiscardEXT4 - Linux 3.9F2FS - Linux 3.8F2FS - Linux 3.9LZO CompressionNo BarrierNo Data COWStockXFS - Linux 3.9ZLIB Compressionssd_spread2004006008001000SE +/- 1.60, N = 6SE +/- 0.23, N = 3SE +/- 0.22, N = 3SE +/- 0.31, N = 3SE +/- 4.66, N = 3SE +/- 0.66, N = 3SE +/- 0.23, N = 3SE +/- 0.63, N = 3SE +/- 0.80, N = 3SE +/- 0.52, N = 3SE +/- 0.60, N = 379.2297.20100.03100.20842.2095.3099.2394.4395.20313.8794.601. (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 SizeDiscardEXT4 - Linux 3.9F2FS - Linux 3.8F2FS - Linux 3.9LZO CompressionNo BarrierNo Data COWStockXFS - Linux 3.9ZLIB Compressionssd_spread4080120160200SE +/- 0.40, N = 3SE +/- 0.13, N = 3SE +/- 0.17, N = 3SE +/- 0.12, N = 3SE +/- 2.48, N = 3SE +/- 0.32, N = 3SE +/- 0.10, N = 3SE +/- 0.42, N = 3SE +/- 0.47, N = 3SE +/- 1.65, N = 3SE +/- 0.12, N = 355.2077.2793.4393.70189.0769.1788.2067.3082.33113.0368.001. (CC) gcc options: -static

PostMark

Disk Transaction Performance

OpenBenchmarking.orgTPS, More Is BetterPostMark 1.51Disk Transaction PerformanceDiscardEXT4 - Linux 3.9F2FS - Linux 3.8F2FS - Linux 3.9LZO CompressionNo BarrierNo Data COWStockXFS - Linux 3.9ZLIB Compressionssd_spread6001200180024003000SE +/- 9.26, N = 3SE +/- 11.00, N = 3SE +/- 12.41, N = 3SE +/- 3.33, N = 3SE +/- 2.67, N = 3SE +/- 2.89, N = 3SE +/- 3.00, N = 3SE +/- 3.33, N = 3SE +/- 7.94, N = 3SE +/- 20.78, N = 3SE +/- 3.33, N = 3107114421633157914561101154911091518301211131. (CC) gcc options: -O3

PostgreSQL pgbench

TPC-B Transactions Per Second

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 8.4.11TPC-B Transactions Per SecondDiscardEXT4 - Linux 3.9F2FS - Linux 3.8F2FS - Linux 3.9LZO CompressionNo BarrierNo Data COWStockXFS - Linux 3.9ZLIB Compressionssd_spread7001400210028003500SE +/- 12.76, N = 3SE +/- 58.01, N = 6SE +/- 68.79, N = 6SE +/- 76.98, N = 6SE +/- 6.34, N = 3SE +/- 21.66, N = 5SE +/- 27.04, N = 6SE +/- 22.07, N = 4SE +/- 78.77, N = 6SE +/- 24.18, N = 6SE +/- 20.29, N = 6934.613221.513048.683000.571414.071421.921723.261366.292166.151303.041362.011. (CC) gcc options: -O2 -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm


Phoronix Test Suite v10.8.4