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&sro&grr .
Btrfs vs. F2FS Ubuntu 13.04 File-Systems Processor Motherboard Chipset Memory Disk Graphics Audio Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution Stock ssd_spread ZLIB Compression LZO Compression No Data COW No Barrier Discard F2FS - Linux 3.8 F2FS - Linux 3.9 EXT4 - Linux 3.9 XFS - Linux 3.9 Intel Core i7 720Q @ 1.60GHz (8 Cores) LENOVO 4318CTO Intel Core DMI 4096MB 160GB INTEL SSDSA2M160 NVIDIA Quadro FX 880M 1024MB (550/790MHz) Conexant CX20585 Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300 Ubuntu 13.04 3.8.0-17-generic (x86_64) Xfce 4.10 X Server 1.13.3 NVIDIA 304.84 3.3.0 NVIDIA GCC 4.7 btrfs 1600x900 F2FS 3.9.0-999-generic (x86_64) ext4 xfs OpenBenchmarking.org Compiler 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,rw Processor Details - Scaling Governor: ondemand System Details - Disk Scheduler: DEADLINE. Python 2.7.4.
Btrfs vs. F2FS Ubuntu 13.04 File-Systems pgbench: TPC-B Transactions Per Second postmark: Disk Transaction Performance compilebench: Initial Create compilebench: Compile fs-mark: 4000 Files, 32 Sub Dirs, 1MB Size fs-mark: 5000 Files, 1MB Size, 4 Threads fs-mark: 1000 Files, 1MB Size fio: Intel IOMeter File Server Access Pattern Stock ssd_spread ZLIB Compression LZO Compression No Data COW No Barrier Discard F2FS - Linux 3.8 F2FS - Linux 3.9 EXT4 - Linux 3.9 XFS - Linux 3.9 1366.29 1109 72.15 108.82 67.30 94.43 69.60 658.86 1362.01 1113 71.51 108.03 68.00 94.60 73.57 660.36 1303.04 3012 66.50 261.67 113.03 313.87 119.13 662.35 1414.07 1456 82.53 763.52 189.07 842.20 193.40 663.12 1723.26 1549 79.96 108.01 88.20 99.23 86.43 629.26 1421.92 1101 72.61 105.14 69.17 95.30 70.53 654.07 934.61 1071 55.20 79.22 59.98 728.97 3048.68 1633 54.46 96.79 93.43 100.03 95.87 362.66 3000.57 1579 54.63 96.94 93.70 100.20 97.03 361.39 3221.51 1442 102.90 106.65 77.27 97.20 79.37 103.33 2166.15 1518 89.10 103.28 82.33 95.20 84.13 226.66 OpenBenchmarking.org
PostgreSQL pgbench TPC-B Transactions Per Second OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 8.4.11 TPC-B Transactions Per Second Discard EXT4 - Linux 3.9 F2FS - Linux 3.8 F2FS - Linux 3.9 LZO Compression No Barrier No Data COW Stock XFS - Linux 3.9 ZLIB Compression ssd_spread 700 1400 2100 2800 3500 SE +/- 12.76, N = 3 SE +/- 58.01, N = 6 SE +/- 68.79, N = 6 SE +/- 76.98, N = 6 SE +/- 6.34, N = 3 SE +/- 21.66, N = 5 SE +/- 27.04, N = 6 SE +/- 22.07, N = 4 SE +/- 78.77, N = 6 SE +/- 24.18, N = 6 SE +/- 20.29, N = 6 934.61 3221.51 3048.68 3000.57 1414.07 1421.92 1723.26 1366.29 2166.15 1303.04 1362.01 1. (CC) gcc options: -O2 -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm
PostMark Disk Transaction Performance OpenBenchmarking.org TPS, More Is Better PostMark 1.51 Disk Transaction Performance Discard EXT4 - Linux 3.9 F2FS - Linux 3.8 F2FS - Linux 3.9 LZO Compression No Barrier No Data COW Stock XFS - Linux 3.9 ZLIB Compression ssd_spread 600 1200 1800 2400 3000 SE +/- 9.26, N = 3 SE +/- 11.00, N = 3 SE +/- 12.41, N = 3 SE +/- 3.33, N = 3 SE +/- 2.67, N = 3 SE +/- 2.89, N = 3 SE +/- 3.00, N = 3 SE +/- 3.33, N = 3 SE +/- 7.94, N = 3 SE +/- 20.78, N = 3 SE +/- 3.33, N = 3 1071 1442 1633 1579 1456 1101 1549 1109 1518 3012 1113 1. (CC) gcc options: -O3
Compile Bench Test: Initial Create OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Initial Create EXT4 - Linux 3.9 F2FS - Linux 3.8 F2FS - Linux 3.9 LZO Compression No Barrier No Data COW Stock XFS - Linux 3.9 ZLIB Compression ssd_spread 20 40 60 80 100 SE +/- 2.15, N = 3 SE +/- 1.57, N = 3 SE +/- 0.88, N = 3 SE +/- 0.76, N = 3 SE +/- 1.66, N = 3 SE +/- 1.17, N = 3 SE +/- 0.73, N = 3 SE +/- 0.43, N = 3 SE +/- 0.96, N = 2 102.90 54.46 54.63 82.53 72.61 79.96 72.15 89.10 66.50 71.51
Compile Bench Test: Compile OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Compile EXT4 - Linux 3.9 F2FS - Linux 3.8 F2FS - Linux 3.9 LZO Compression No Barrier No Data COW Stock XFS - Linux 3.9 ZLIB Compression ssd_spread 160 320 480 640 800 SE +/- 0.51, N = 3 SE +/- 0.45, N = 3 SE +/- 0.14, N = 3 SE +/- 2.55, N = 3 SE +/- 1.14, N = 3 SE +/- 0.18, N = 3 SE +/- 0.26, N = 3 SE +/- 0.86, N = 3 SE +/- 2.09, N = 2 106.65 96.79 96.94 763.52 105.14 108.01 108.82 103.28 261.67 108.03
FS-Mark Test: 4000 Files, 32 Sub Dirs, 1MB Size OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 4000 Files, 32 Sub Dirs, 1MB Size Discard EXT4 - Linux 3.9 F2FS - Linux 3.8 F2FS - Linux 3.9 LZO Compression No Barrier No Data COW Stock XFS - Linux 3.9 ZLIB Compression ssd_spread 40 80 120 160 200 SE +/- 0.40, N = 3 SE +/- 0.13, N = 3 SE +/- 0.17, N = 3 SE +/- 0.12, N = 3 SE +/- 2.48, N = 3 SE +/- 0.32, N = 3 SE +/- 0.10, N = 3 SE +/- 0.42, N = 3 SE +/- 0.47, N = 3 SE +/- 1.65, N = 3 SE +/- 0.12, N = 3 55.20 77.27 93.43 93.70 189.07 69.17 88.20 67.30 82.33 113.03 68.00 1. (CC) gcc options: -static
FS-Mark Test: 5000 Files, 1MB Size, 4 Threads OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 5000 Files, 1MB Size, 4 Threads Discard EXT4 - Linux 3.9 F2FS - Linux 3.8 F2FS - Linux 3.9 LZO Compression No Barrier No Data COW Stock XFS - Linux 3.9 ZLIB Compression ssd_spread 200 400 600 800 1000 SE +/- 1.60, N = 6 SE +/- 0.23, N = 3 SE +/- 0.22, N = 3 SE +/- 0.31, N = 3 SE +/- 4.66, N = 3 SE +/- 0.66, N = 3 SE +/- 0.23, N = 3 SE +/- 0.63, N = 3 SE +/- 0.80, N = 3 SE +/- 0.52, N = 3 SE +/- 0.60, N = 3 79.22 97.20 100.03 100.20 842.20 95.30 99.23 94.43 95.20 313.87 94.60 1. (CC) gcc options: -static
FS-Mark Test: 1000 Files, 1MB Size OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 1000 Files, 1MB Size Discard EXT4 - Linux 3.9 F2FS - Linux 3.8 F2FS - Linux 3.9 LZO Compression No Barrier No Data COW Stock XFS - Linux 3.9 ZLIB Compression ssd_spread 40 80 120 160 200 SE +/- 3.35, N = 6 SE +/- 0.91, N = 3 SE +/- 1.39, N = 3 SE +/- 0.88, N = 3 SE +/- 0.53, N = 3 SE +/- 0.84, N = 3 SE +/- 0.47, N = 3 SE +/- 0.21, N = 3 SE +/- 1.20, N = 3 SE +/- 0.41, N = 3 SE +/- 1.48, N = 3 59.98 79.37 95.87 97.03 193.40 70.53 86.43 69.60 84.13 119.13 73.57 1. (CC) gcc options: -static
Flexible IO Tester Test: Intel IOMeter File Server Access Pattern OpenBenchmarking.org Seconds (Run Time), Fewer Is Better Flexible IO Tester 1.57 Test: Intel IOMeter File Server Access Pattern Discard EXT4 - Linux 3.9 F2FS - Linux 3.8 F2FS - Linux 3.9 LZO Compression No Barrier No Data COW Stock XFS - Linux 3.9 ZLIB Compression ssd_spread 160 320 480 640 800 SE +/- 11.81, N = 4 SE +/- 0.08, N = 3 SE +/- 0.32, N = 3 SE +/- 1.04, N = 3 SE +/- 4.40, N = 3 SE +/- 6.76, N = 3 SE +/- 2.20, N = 3 SE +/- 3.85, N = 3 SE +/- 0.50, N = 3 SE +/- 4.40, N = 3 SE +/- 2.43, N = 3 728.97 103.33 362.66 361.39 663.12 654.07 629.26 658.86 226.66 662.35 660.36
Phoronix Test Suite v10.8.5