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&grs&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 fs-mark: 1000 Files, 1MB Size, No Sync/FSync sqlite: Default Test Directory iozone: 64Kb - 2GB - Read Performance iozone: 64Kb - 2GB - Write Performance pgbench: TPC-B Transactions Per Second dbench: 6 fs-mark: 5000 Files, 1MB Size, 4 Threads fs-mark: 1000 Files, 1MB Size fs-mark: 4000 Files, 32 Sub Dirs, 1MB Size postmark: Disk Transaction Performance Btrfs Btrfs - compress=zlib Btrfs - compress=lzo Btrfs - space_cache Btrfs - autodefrag Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier EXT4 28.57 1484.29 26.37 28.51 18.68 28.16 13.20 10.93 10.67 103 73.17 1480.00 167.22 70.85 18.26 30.44 26.47 15.13 15.10 87 194.93 1462.10 187.43 189.30 18.30 31.20 29.40 17.87 17.03 120 28.80 1477.81 27.35 28.57 17.87 23.31 13.07 10.93 10.70 102 27.87 1459.90 27.39 28.53 18.54 27.83 13.20 10.80 10.77 120 28.67 1471.37 27.41 28.72 18.33 24.61 14 11.50 11.47 114 29.07 1568.78 28.04 28.82 19.81 24.62 14 11.40 11.43 113 28.97 205.33 26.88 28.27 82.61 68.89 17.20 18.57 18.23 105 21.73 970.83 25.32 26.05 82.60 20.04 16.43 11.00 11.28 90 OpenBenchmarking.org
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
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
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
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
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
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: 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: 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: 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
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
Phoronix Test Suite v10.8.4