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&grt&sor.

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 Sizepgbench: TPC-B Transactions Per Secondpostmark: Disk Transaction PerformanceStockssd_spreadZLIB CompressionLZO CompressionNo Data COWNo BarrierDiscardF2FS - Linux 3.8F2FS - Linux 3.9EXT4 - Linux 3.9XFS - Linux 3.9108.8272.15658.8669.6094.4367.301366.291109108.0371.51660.3673.5794.6068.001362.011113261.6766.50662.35119.13313.87113.031303.043012763.5282.53663.12193.40842.20189.071414.071456108.0179.96629.2686.4399.2388.201723.261549105.1472.61654.0770.5395.3069.171421.921101728.9759.9879.2255.20934.61107196.7954.46362.6695.87100.0393.433048.68163396.9454.63361.3997.03100.2093.703000.571579106.65102.90103.3379.3797.2077.273221.511442103.2889.10226.6684.1395.2082.332166.151518OpenBenchmarking.org

Compile Bench

Test: Compile

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileLZO CompressionZLIB CompressionStockssd_spreadNo Data COWEXT4 - Linux 3.9No BarrierXFS - Linux 3.9F2FS - Linux 3.9F2FS - Linux 3.8160320480640800SE +/- 2.55, N = 3SE +/- 0.86, N = 3SE +/- 0.18, N = 3SE +/- 2.09, N = 2SE +/- 1.14, N = 3SE +/- 0.51, N = 3SE +/- 0.26, N = 3SE +/- 0.14, N = 3SE +/- 0.45, N = 3763.52261.67108.82108.03108.01106.65105.14103.2896.9496.79

Compile Bench

Test: Initial Create

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateEXT4 - Linux 3.9XFS - Linux 3.9LZO CompressionNo Data COWNo BarrierStockssd_spreadZLIB CompressionF2FS - Linux 3.9F2FS - Linux 3.820406080100SE +/- 2.15, N = 3SE +/- 0.73, N = 3SE +/- 0.76, N = 3SE +/- 1.66, N = 3SE +/- 1.17, N = 3SE +/- 0.96, N = 2SE +/- 0.43, N = 3SE +/- 0.88, N = 3SE +/- 1.57, N = 3102.9089.1082.5379.9672.6172.1571.5166.5054.6354.46

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 PatternEXT4 - Linux 3.9XFS - Linux 3.9F2FS - Linux 3.9F2FS - Linux 3.8No Data COWNo BarrierStockssd_spreadZLIB CompressionLZO CompressionDiscard160320480640800SE +/- 0.08, N = 3SE +/- 0.50, N = 3SE +/- 1.04, N = 3SE +/- 0.32, N = 3SE +/- 2.20, N = 3SE +/- 6.76, N = 3SE +/- 3.85, N = 3SE +/- 2.43, N = 3SE +/- 4.40, N = 3SE +/- 4.40, N = 3SE +/- 11.81, N = 4103.33226.66361.39362.66629.26654.07658.86660.36662.35663.12728.97

FS-Mark

Test: 1000 Files, 1MB Size

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeLZO CompressionZLIB CompressionF2FS - Linux 3.9F2FS - Linux 3.8No Data COWXFS - Linux 3.9EXT4 - Linux 3.9ssd_spreadNo BarrierStockDiscard4080120160200SE +/- 0.53, N = 3SE +/- 0.41, N = 3SE +/- 0.88, N = 3SE +/- 1.39, N = 3SE +/- 0.47, N = 3SE +/- 1.20, N = 3SE +/- 0.91, N = 3SE +/- 1.48, N = 3SE +/- 0.84, N = 3SE +/- 0.21, N = 3SE +/- 3.35, N = 6193.40119.1397.0395.8786.4384.1379.3773.5770.5369.6059.981. (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 CompressionF2FS - Linux 3.9F2FS - Linux 3.8No Data COWEXT4 - Linux 3.9No BarrierXFS - Linux 3.9ssd_spreadStockDiscard2004006008001000SE +/- 4.66, N = 3SE +/- 0.52, N = 3SE +/- 0.31, N = 3SE +/- 0.22, N = 3SE +/- 0.23, N = 3SE +/- 0.23, N = 3SE +/- 0.66, N = 3SE +/- 0.80, N = 3SE +/- 0.60, N = 3SE +/- 0.63, N = 3SE +/- 1.60, N = 6842.20313.87100.20100.0399.2397.2095.3095.2094.6094.4379.221. (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 CompressionF2FS - Linux 3.9F2FS - Linux 3.8No Data COWXFS - Linux 3.9EXT4 - Linux 3.9No Barrierssd_spreadStockDiscard4080120160200SE +/- 2.48, N = 3SE +/- 1.65, N = 3SE +/- 0.12, N = 3SE +/- 0.17, N = 3SE +/- 0.10, N = 3SE +/- 0.47, N = 3SE +/- 0.13, N = 3SE +/- 0.32, N = 3SE +/- 0.12, N = 3SE +/- 0.42, N = 3SE +/- 0.40, N = 3189.07113.0393.7093.4388.2082.3377.2769.1768.0067.3055.201. (CC) gcc options: -static

PostgreSQL pgbench

TPC-B Transactions Per Second

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

PostMark

Disk Transaction Performance

OpenBenchmarking.orgTPS, More Is BetterPostMark 1.51Disk Transaction PerformanceZLIB CompressionF2FS - Linux 3.8F2FS - Linux 3.9No Data COWXFS - Linux 3.9LZO CompressionEXT4 - Linux 3.9ssd_spreadStockNo BarrierDiscard6001200180024003000SE +/- 20.78, N = 3SE +/- 12.41, N = 3SE +/- 3.33, N = 3SE +/- 3.00, N = 3SE +/- 7.94, N = 3SE +/- 2.67, N = 3SE +/- 11.00, N = 3SE +/- 3.33, N = 3SE +/- 3.33, N = 3SE +/- 2.89, N = 3SE +/- 9.26, N = 3301216331579154915181456144211131109110110711. (CC) gcc options: -O3


Phoronix Test Suite v10.8.4