Btrfs Old System Benchmarking EXT4 and Btrfs on an old Pentium laptop. Then comparing various mount options of Btrfs. Comparison for a future article on Phoronix in September 2011.
HTML result view exported from: https://openbenchmarking.org/result/1109031-LI-BTRFSOLDS83&grt&rdt .
Btrfs Old System Processor Motherboard Chipset Memory Disk Graphics Audio Network OS Kernel Desktop Display Server Display Driver Compiler File-System Screen Resolution Btrfs Btrfs - compress=zlib Btrfs - compress=lzo Btrfs - space_cache Btrfs - autodefrag Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier EXT4 Intel T2400 @ 1.83GHz (2 Cores) LENOVO 2613EJU Intel Mobile 945GM/PM/GMS + ICH7-M 1024MB 80GB Hitachi HTS541080G9SA00 ATI Radeon Mobility X1400 Analog Devices AD1981 Intel 82573L Gigabit + Intel PRO/Wireless Ubuntu 11.10 3.1.0-999-generic (i686) Unity 4.10.2 X Server 1.10.2.902 (1.10.3 RC 2) radeon 6.14.99 GCC 4.6.1 btrfs 1400x1050 ext4 OpenBenchmarking.org System Details - Disk Scheduler: CFQ. Compiz was running on this system. Intel SpeedStep was enabled.
Btrfs Old System dbench: 6 fs-mark: 1000 Files, 1MB Size fs-mark: 1000 Files, 1MB Size, No Sync/FSync fs-mark: 5000 Files, 1MB Size, 4 Threads fs-mark: 4000 Files, 32 Sub Dirs, 1MB Size iozone: 64Kb - 2GB - Write Performance iozone: 64Kb - 2GB - Read Performance pgbench: TPC-B Transactions Per Second postmark: Disk Transaction Performance sqlite: Default Test Directory Btrfs Btrfs - compress=zlib Btrfs - compress=lzo Btrfs - space_cache Btrfs - autodefrag Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier EXT4 28.16 10.93 28.57 13.20 10.67 28.51 26.37 18.68 103 1484.29 30.44 15.13 73.17 26.47 15.10 70.85 167.22 18.26 87 1480.00 31.20 17.87 194.93 29.40 17.03 189.30 187.43 18.30 120 1462.10 23.31 10.93 28.80 13.07 10.70 28.57 27.35 17.87 102 1477.81 27.83 10.80 27.87 13.20 10.77 28.53 27.39 18.54 120 1459.90 24.61 11.50 28.67 14 11.47 28.72 27.41 18.33 114 1471.37 24.62 11.40 29.07 14 11.43 28.82 28.04 19.81 113 1568.78 68.89 18.57 28.97 17.20 18.23 28.27 26.88 82.61 105 205.33 20.04 11.00 21.73 16.43 11.28 26.05 25.32 82.60 90 970.83 OpenBenchmarking.org
Dbench Client Count: 6 OpenBenchmarking.org MB/s, More Is Better Dbench 4.0 Client Count: 6 Btrfs Btrfs - compress=zlib Btrfs - compress=lzo Btrfs - space_cache Btrfs - autodefrag Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier EXT4 15 30 45 60 75 SE +/- 0.35, N = 3 SE +/- 0.07, N = 3 SE +/- 0.10, N = 3 SE +/- 0.45, N = 3 SE +/- 0.22, N = 3 SE +/- 0.07, N = 3 SE +/- 0.06, N = 3 SE +/- 0.31, N = 3 SE +/- 0.31, N = 3 28.16 30.44 31.20 23.31 27.83 24.61 24.62 68.89 20.04
FS-Mark Test: 1000 Files, 1MB Size OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 1000 Files, 1MB Size Btrfs Btrfs - compress=zlib Btrfs - compress=lzo Btrfs - space_cache Btrfs - autodefrag Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier EXT4 5 10 15 20 25 SE +/- 0.07, N = 3 SE +/- 0.09, N = 3 SE +/- 0.03, N = 3 SE +/- 0.03, N = 3 SE +/- 0.06, N = 3 SE +/- 0.06, N = 3 SE +/- 0.21, N = 3 SE +/- 0.07, N = 3 SE +/- 0.06, N = 3 10.93 15.13 17.87 10.93 10.80 11.50 11.40 18.57 11.00
FS-Mark Test: 1000 Files, 1MB Size, No Sync/FSync OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 1000 Files, 1MB Size, No Sync/FSync Btrfs Btrfs - compress=zlib Btrfs - compress=lzo Btrfs - space_cache Btrfs - autodefrag Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier EXT4 40 80 120 160 200 SE +/- 0.32, N = 3 SE +/- 0.64, N = 3 SE +/- 4.94, N = 6 SE +/- 0.25, N = 3 SE +/- 0.44, N = 3 SE +/- 0.07, N = 3 SE +/- 0.32, N = 3 SE +/- 0.03, N = 3 SE +/- 0.29, N = 3 28.57 73.17 194.93 28.80 27.87 28.67 29.07 28.97 21.73
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 Btrfs Btrfs - compress=zlib Btrfs - compress=lzo Btrfs - space_cache Btrfs - autodefrag Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier EXT4 7 14 21 28 35 SE +/- 0.00, N = 3 SE +/- 0.41, N = 3 SE +/- 0.12, N = 3 SE +/- 0.13, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.26, N = 3 13.20 26.47 29.40 13.07 13.20 14.00 14.00 17.20 16.43
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 Btrfs Btrfs - compress=zlib Btrfs - compress=lzo Btrfs - space_cache Btrfs - autodefrag Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier EXT4 4 8 12 16 20 SE +/- 0.03, N = 3 SE +/- 0.06, N = 3 SE +/- 0.03, N = 3 SE +/- 0.00, N = 3 SE +/- 0.03, N = 3 SE +/- 0.03, N = 3 SE +/- 0.03, N = 3 SE +/- 0.03, N = 3 SE +/- 0.38, N = 6 10.67 15.10 17.03 10.70 10.77 11.47 11.43 18.23 11.28
IOzone Record Size: 64Kb - File Size: 2GB - Disk Test: Write Performance OpenBenchmarking.org MB/s, More Is Better IOzone 3.347 Record Size: 64Kb - File Size: 2GB - Disk Test: Write Performance Btrfs Btrfs - compress=zlib Btrfs - compress=lzo Btrfs - space_cache Btrfs - autodefrag Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier EXT4 40 80 120 160 200 SE +/- 0.07, N = 3 SE +/- 0.11, N = 3 SE +/- 2.14, N = 3 SE +/- 0.11, N = 3 SE +/- 0.21, N = 3 SE +/- 0.10, N = 3 SE +/- 0.03, N = 3 SE +/- 0.09, N = 3 SE +/- 0.23, N = 3 28.51 70.85 189.30 28.57 28.53 28.72 28.82 28.27 26.05
IOzone Record Size: 64Kb - File Size: 2GB - Disk Test: Read Performance OpenBenchmarking.org MB/s, More Is Better IOzone 3.347 Record Size: 64Kb - File Size: 2GB - Disk Test: Read Performance Btrfs Btrfs - compress=zlib Btrfs - compress=lzo Btrfs - space_cache Btrfs - autodefrag Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier EXT4 40 80 120 160 200 SE +/- 0.24, N = 3 SE +/- 3.54, N = 6 SE +/- 4.20, N = 6 SE +/- 0.20, N = 3 SE +/- 0.16, N = 3 SE +/- 0.21, N = 3 SE +/- 0.11, N = 3 SE +/- 0.49, N = 3 SE +/- 0.40, N = 3 26.37 167.22 187.43 27.35 27.39 27.41 28.04 26.88 25.32
PostgreSQL pgbench TPC-B Transactions Per Second OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 9.0.4 TPC-B Transactions Per Second Btrfs Btrfs - compress=zlib Btrfs - compress=lzo Btrfs - space_cache Btrfs - autodefrag Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier EXT4 20 40 60 80 100 SE +/- 0.03, N = 3 SE +/- 0.07, N = 3 SE +/- 0.09, N = 3 SE +/- 0.27, N = 3 SE +/- 0.09, N = 3 SE +/- 0.10, N = 3 SE +/- 0.21, N = 3 SE +/- 1.43, N = 6 SE +/- 0.37, N = 3 18.68 18.26 18.30 17.87 18.54 18.33 19.81 82.61 82.60
PostMark Disk Transaction Performance OpenBenchmarking.org TPS, More Is Better PostMark 1.51 Disk Transaction Performance Btrfs Btrfs - compress=zlib Btrfs - compress=lzo Btrfs - space_cache Btrfs - autodefrag Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier EXT4 30 60 90 120 150 SE +/- 1.12, N = 5 SE +/- 0.00, N = 5 SE +/- 1.29, N = 5 SE +/- 0.68, N = 5 SE +/- 1.50, N = 5 SE +/- 0.37, N = 5 SE +/- 0.49, N = 5 SE +/- 0.49, N = 5 SE +/- 0.32, N = 5 103 87 120 102 120 114 113 105 90
SQLite Test Target: Default Test Directory OpenBenchmarking.org Seconds, Fewer Is Better SQLite 3.7.3 Test Target: Default Test Directory Btrfs Btrfs - compress=zlib Btrfs - compress=lzo Btrfs - space_cache Btrfs - autodefrag Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier EXT4 300 600 900 1200 1500 SE +/- 1.55, N = 3 SE +/- 1.81, N = 3 SE +/- 0.76, N = 3 SE +/- 2.77, N = 3 SE +/- 1.73, N = 3 SE +/- 0.81, N = 3 SE +/- 31.23, N = 3 SE +/- 0.84, N = 3 SE +/- 8.73, N = 3 1484.29 1480.00 1462.10 1477.81 1459.90 1471.37 1568.78 205.33 970.83
Phoronix Test Suite v10.8.5