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.

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-Systemsfio: 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 Sizecompilebench: Compilecompilebench: Initial Createpostmark: 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.9658.8669.6094.4367.30108.8272.1511091366.29660.3673.5794.6068.00108.0371.5111131362.01662.35119.13313.87113.03261.6766.5030121303.04663.12193.40842.20189.07763.5282.5314561414.07629.2686.4399.2388.20108.0179.9615491723.26654.0770.5395.3069.17105.1472.6111011421.92728.9759.9879.2255.201071934.61362.6695.87100.0393.4396.7954.4616333048.68361.3997.03100.2093.7096.9454.6315793000.57103.3379.3797.2077.27106.65102.9014423221.51226.6684.1395.2082.33103.2889.1015182166.15OpenBenchmarking.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 PatternStockssd_spreadZLIB CompressionLZO CompressionNo Data COWNo BarrierDiscardF2FS - Linux 3.8F2FS - Linux 3.9EXT4 - Linux 3.9XFS - Linux 3.9160320480640800SE +/- 3.85, N = 3SE +/- 2.43, N = 3SE +/- 4.40, N = 3SE +/- 4.40, N = 3SE +/- 2.20, N = 3SE +/- 6.76, N = 3SE +/- 11.81, N = 4SE +/- 0.32, N = 3SE +/- 1.04, N = 3SE +/- 0.08, N = 3SE +/- 0.50, N = 3658.86660.36662.35663.12629.26654.07728.97362.66361.39103.33226.66

FS-Mark

Test: 1000 Files, 1MB Size

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeStockssd_spreadZLIB CompressionLZO CompressionNo Data COWNo BarrierDiscardF2FS - Linux 3.8F2FS - Linux 3.9EXT4 - Linux 3.9XFS - Linux 3.94080120160200SE +/- 0.21, N = 3SE +/- 1.48, N = 3SE +/- 0.41, N = 3SE +/- 0.53, N = 3SE +/- 0.47, N = 3SE +/- 0.84, N = 3SE +/- 3.35, N = 6SE +/- 1.39, N = 3SE +/- 0.88, N = 3SE +/- 0.91, N = 3SE +/- 1.20, N = 369.6073.57119.13193.4086.4370.5359.9895.8797.0379.3784.131. (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 ThreadsStockssd_spreadZLIB CompressionLZO CompressionNo Data COWNo BarrierDiscardF2FS - Linux 3.8F2FS - Linux 3.9EXT4 - Linux 3.9XFS - Linux 3.92004006008001000SE +/- 0.63, N = 3SE +/- 0.60, N = 3SE +/- 0.52, N = 3SE +/- 4.66, N = 3SE +/- 0.23, N = 3SE +/- 0.66, N = 3SE +/- 1.60, N = 6SE +/- 0.22, N = 3SE +/- 0.31, N = 3SE +/- 0.23, N = 3SE +/- 0.80, N = 394.4394.60313.87842.2099.2395.3079.22100.03100.2097.2095.201. (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 SizeStockssd_spreadZLIB CompressionLZO CompressionNo Data COWNo BarrierDiscardF2FS - Linux 3.8F2FS - Linux 3.9EXT4 - Linux 3.9XFS - Linux 3.94080120160200SE +/- 0.42, N = 3SE +/- 0.12, N = 3SE +/- 1.65, N = 3SE +/- 2.48, N = 3SE +/- 0.10, N = 3SE +/- 0.32, N = 3SE +/- 0.40, N = 3SE +/- 0.17, N = 3SE +/- 0.12, N = 3SE +/- 0.13, N = 3SE +/- 0.47, N = 367.3068.00113.03189.0788.2069.1755.2093.4393.7077.2782.331. (CC) gcc options: -static

Compile Bench

Test: Compile

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileStockssd_spreadZLIB CompressionLZO CompressionNo Data COWNo BarrierF2FS - Linux 3.8F2FS - Linux 3.9EXT4 - Linux 3.9XFS - Linux 3.9160320480640800SE +/- 0.18, N = 3SE +/- 2.09, N = 2SE +/- 0.86, N = 3SE +/- 2.55, N = 3SE +/- 1.14, N = 3SE +/- 0.45, N = 3SE +/- 0.14, N = 3SE +/- 0.51, N = 3SE +/- 0.26, N = 3108.82108.03261.67763.52108.01105.1496.7996.94106.65103.28

Compile Bench

Test: Initial Create

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateStockssd_spreadZLIB CompressionLZO CompressionNo Data COWNo BarrierF2FS - Linux 3.8F2FS - Linux 3.9EXT4 - Linux 3.9XFS - Linux 3.920406080100SE +/- 1.17, N = 3SE +/- 0.96, N = 2SE +/- 0.43, N = 3SE +/- 0.76, N = 3SE +/- 1.66, N = 3SE +/- 1.57, N = 3SE +/- 0.88, N = 3SE +/- 2.15, N = 3SE +/- 0.73, N = 372.1571.5166.5082.5379.9672.6154.4654.63102.9089.10

PostMark

Disk Transaction Performance

OpenBenchmarking.orgTPS, More Is BetterPostMark 1.51Disk Transaction PerformanceStockssd_spreadZLIB CompressionLZO CompressionNo Data COWNo BarrierDiscardF2FS - Linux 3.8F2FS - Linux 3.9EXT4 - Linux 3.9XFS - Linux 3.96001200180024003000SE +/- 3.33, N = 3SE +/- 3.33, N = 3SE +/- 20.78, N = 3SE +/- 2.67, N = 3SE +/- 3.00, N = 3SE +/- 2.89, N = 3SE +/- 9.26, N = 3SE +/- 12.41, N = 3SE +/- 3.33, N = 3SE +/- 11.00, N = 3SE +/- 7.94, N = 3110911133012145615491101107116331579144215181. (CC) gcc options: -O3

PostgreSQL pgbench

TPC-B Transactions Per Second

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 8.4.11TPC-B Transactions Per SecondStockssd_spreadZLIB CompressionLZO CompressionNo Data COWNo BarrierDiscardF2FS - Linux 3.8F2FS - Linux 3.9EXT4 - Linux 3.9XFS - Linux 3.97001400210028003500SE +/- 22.07, N = 4SE +/- 20.29, N = 6SE +/- 24.18, N = 6SE +/- 6.34, N = 3SE +/- 27.04, N = 6SE +/- 21.66, N = 5SE +/- 12.76, N = 3SE +/- 68.79, N = 6SE +/- 76.98, N = 6SE +/- 58.01, N = 6SE +/- 78.77, N = 61366.291362.011303.041414.071723.261421.92934.613048.683000.573221.512166.151. (CC) gcc options: -O2 -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm


Phoronix Test Suite v10.8.4