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-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 fio: Intel IOMeter File Server Access Pattern fs-mark: 1000 Files, 1MB Size fs-mark: 5000 Files, 1MB Size, 4 Threads fs-mark: 4000 Files, 32 Sub Dirs, 1MB Size compilebench: Compile compilebench: Initial Create postmark: Disk Transaction Performance pgbench: TPC-B Transactions Per Second 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 658.86 69.60 94.43 67.30 108.82 72.15 1109 1366.29 660.36 73.57 94.60 68.00 108.03 71.51 1113 1362.01 662.35 119.13 313.87 113.03 261.67 66.50 3012 1303.04 663.12 193.40 842.20 189.07 763.52 82.53 1456 1414.07 629.26 86.43 99.23 88.20 108.01 79.96 1549 1723.26 654.07 70.53 95.30 69.17 105.14 72.61 1101 1421.92 728.97 59.98 79.22 55.20 1071 934.61 362.66 95.87 100.03 93.43 96.79 54.46 1633 3048.68 361.39 97.03 100.20 93.70 96.94 54.63 1579 3000.57 103.33 79.37 97.20 77.27 106.65 102.90 1442 3221.51 226.66 84.13 95.20 82.33 103.28 89.10 1518 2166.15 OpenBenchmarking.org
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 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 160 320 480 640 800 SE +/- 3.85, N = 3 SE +/- 2.43, N = 3 SE +/- 4.40, N = 3 SE +/- 4.40, N = 3 SE +/- 2.20, N = 3 SE +/- 6.76, N = 3 SE +/- 11.81, N = 4 SE +/- 0.32, N = 3 SE +/- 1.04, N = 3 SE +/- 0.08, N = 3 SE +/- 0.50, N = 3 658.86 660.36 662.35 663.12 629.26 654.07 728.97 362.66 361.39 103.33 226.66
FS-Mark Test: 1000 Files, 1MB Size OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 1000 Files, 1MB Size 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 40 80 120 160 200 SE +/- 0.21, N = 3 SE +/- 1.48, N = 3 SE +/- 0.41, N = 3 SE +/- 0.53, N = 3 SE +/- 0.47, N = 3 SE +/- 0.84, N = 3 SE +/- 3.35, N = 6 SE +/- 1.39, N = 3 SE +/- 0.88, N = 3 SE +/- 0.91, N = 3 SE +/- 1.20, N = 3 69.60 73.57 119.13 193.40 86.43 70.53 59.98 95.87 97.03 79.37 84.13 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 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 200 400 600 800 1000 SE +/- 0.63, N = 3 SE +/- 0.60, N = 3 SE +/- 0.52, N = 3 SE +/- 4.66, N = 3 SE +/- 0.23, N = 3 SE +/- 0.66, N = 3 SE +/- 1.60, N = 6 SE +/- 0.22, N = 3 SE +/- 0.31, N = 3 SE +/- 0.23, N = 3 SE +/- 0.80, N = 3 94.43 94.60 313.87 842.20 99.23 95.30 79.22 100.03 100.20 97.20 95.20 1. (CC) gcc options: -static
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 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 40 80 120 160 200 SE +/- 0.42, N = 3 SE +/- 0.12, N = 3 SE +/- 1.65, N = 3 SE +/- 2.48, N = 3 SE +/- 0.10, N = 3 SE +/- 0.32, N = 3 SE +/- 0.40, N = 3 SE +/- 0.17, N = 3 SE +/- 0.12, N = 3 SE +/- 0.13, N = 3 SE +/- 0.47, N = 3 67.30 68.00 113.03 189.07 88.20 69.17 55.20 93.43 93.70 77.27 82.33 1. (CC) gcc options: -static
Compile Bench Test: Compile OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Compile Stock ssd_spread ZLIB Compression LZO Compression No Data COW No Barrier F2FS - Linux 3.8 F2FS - Linux 3.9 EXT4 - Linux 3.9 XFS - Linux 3.9 160 320 480 640 800 SE +/- 0.18, N = 3 SE +/- 2.09, N = 2 SE +/- 0.86, N = 3 SE +/- 2.55, N = 3 SE +/- 1.14, N = 3 SE +/- 0.45, N = 3 SE +/- 0.14, N = 3 SE +/- 0.51, N = 3 SE +/- 0.26, N = 3 108.82 108.03 261.67 763.52 108.01 105.14 96.79 96.94 106.65 103.28
Compile Bench Test: Initial Create OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Initial Create Stock ssd_spread ZLIB Compression LZO Compression No Data COW No Barrier F2FS - Linux 3.8 F2FS - Linux 3.9 EXT4 - Linux 3.9 XFS - Linux 3.9 20 40 60 80 100 SE +/- 1.17, N = 3 SE +/- 0.96, N = 2 SE +/- 0.43, N = 3 SE +/- 0.76, N = 3 SE +/- 1.66, N = 3 SE +/- 1.57, N = 3 SE +/- 0.88, N = 3 SE +/- 2.15, N = 3 SE +/- 0.73, N = 3 72.15 71.51 66.50 82.53 79.96 72.61 54.46 54.63 102.90 89.10
PostMark Disk Transaction Performance OpenBenchmarking.org TPS, More Is Better PostMark 1.51 Disk Transaction Performance 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 600 1200 1800 2400 3000 SE +/- 3.33, N = 3 SE +/- 3.33, N = 3 SE +/- 20.78, N = 3 SE +/- 2.67, N = 3 SE +/- 3.00, N = 3 SE +/- 2.89, N = 3 SE +/- 9.26, N = 3 SE +/- 12.41, N = 3 SE +/- 3.33, N = 3 SE +/- 11.00, N = 3 SE +/- 7.94, N = 3 1109 1113 3012 1456 1549 1101 1071 1633 1579 1442 1518 1. (CC) gcc options: -O3
PostgreSQL pgbench TPC-B Transactions Per Second OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 8.4.11 TPC-B Transactions Per Second 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 700 1400 2100 2800 3500 SE +/- 22.07, N = 4 SE +/- 20.29, N = 6 SE +/- 24.18, N = 6 SE +/- 6.34, N = 3 SE +/- 27.04, N = 6 SE +/- 21.66, N = 5 SE +/- 12.76, N = 3 SE +/- 68.79, N = 6 SE +/- 76.98, N = 6 SE +/- 58.01, N = 6 SE +/- 78.77, N = 6 1366.29 1362.01 1303.04 1414.07 1723.26 1421.92 934.61 3048.68 3000.57 3221.51 2166.15 1. (CC) gcc options: -O2 -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm
Phoronix Test Suite v10.8.5