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&sor&export=pdf&grs .
Btrfs Old System Processor Motherboard Chipset Memory Disk Graphics Audio Network OS Kernel Desktop Display Server Display Driver Compiler File-System Screen Resolution EXT4 Btrfs Btrfs - compress=zlib Btrfs - compress=lzo Btrfs - space_cache Btrfs - autodefrag Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier 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 ext4 1400x1050 btrfs 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 EXT4 Btrfs Btrfs - compress=zlib Btrfs - compress=lzo Btrfs - space_cache Btrfs - autodefrag Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier 21.73 970.83 25.32 26.05 82.60 20.04 16.43 11.00 11.28 90 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 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 - compress=lzo Btrfs - compress=zlib Btrfs - nodatacow Btrfs - nobarrier Btrfs - space_cache Btrfs - nodatasum Btrfs Btrfs - autodefrag EXT4 40 80 120 160 200 SE +/- 4.94, N = 6 SE +/- 0.64, N = 3 SE +/- 0.32, N = 3 SE +/- 0.03, N = 3 SE +/- 0.25, N = 3 SE +/- 0.07, N = 3 SE +/- 0.32, N = 3 SE +/- 0.44, N = 3 SE +/- 0.29, N = 3 194.93 73.17 29.07 28.97 28.80 28.67 28.57 27.87 21.73
SQLite Test Target: Default Test Directory OpenBenchmarking.org Seconds, Fewer Is Better SQLite 3.7.3 Test Target: Default Test Directory Btrfs - nobarrier EXT4 Btrfs - autodefrag Btrfs - compress=lzo Btrfs - nodatasum Btrfs - space_cache Btrfs - compress=zlib Btrfs Btrfs - nodatacow 300 600 900 1200 1500 SE +/- 0.84, N = 3 SE +/- 8.73, N = 3 SE +/- 1.73, N = 3 SE +/- 0.76, N = 3 SE +/- 0.81, N = 3 SE +/- 2.77, N = 3 SE +/- 1.81, N = 3 SE +/- 1.55, N = 3 SE +/- 31.23, N = 3 205.33 970.83 1459.90 1462.10 1471.37 1477.81 1480.00 1484.29 1568.78
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 - compress=lzo Btrfs - compress=zlib Btrfs - nodatacow Btrfs - nodatasum Btrfs - autodefrag Btrfs - space_cache Btrfs - nobarrier Btrfs EXT4 40 80 120 160 200 SE +/- 4.20, N = 6 SE +/- 3.54, N = 6 SE +/- 0.11, N = 3 SE +/- 0.21, N = 3 SE +/- 0.16, N = 3 SE +/- 0.20, N = 3 SE +/- 0.49, N = 3 SE +/- 0.24, N = 3 SE +/- 0.40, N = 3 187.43 167.22 28.04 27.41 27.39 27.35 26.88 26.37 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 - compress=lzo Btrfs - compress=zlib Btrfs - nodatacow Btrfs - nodatasum Btrfs - space_cache Btrfs - autodefrag Btrfs Btrfs - nobarrier EXT4 40 80 120 160 200 SE +/- 2.14, N = 3 SE +/- 0.11, N = 3 SE +/- 0.03, N = 3 SE +/- 0.10, N = 3 SE +/- 0.11, N = 3 SE +/- 0.21, N = 3 SE +/- 0.07, N = 3 SE +/- 0.09, N = 3 SE +/- 0.23, N = 3 189.30 70.85 28.82 28.72 28.57 28.53 28.51 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 - nobarrier EXT4 Btrfs - nodatacow Btrfs Btrfs - autodefrag Btrfs - nodatasum Btrfs - compress=lzo Btrfs - compress=zlib Btrfs - space_cache 20 40 60 80 100 SE +/- 1.43, N = 6 SE +/- 0.37, N = 3 SE +/- 0.21, N = 3 SE +/- 0.03, N = 3 SE +/- 0.09, N = 3 SE +/- 0.10, N = 3 SE +/- 0.09, N = 3 SE +/- 0.07, N = 3 SE +/- 0.27, N = 3 82.61 82.60 19.81 18.68 18.54 18.33 18.30 18.26 17.87
Dbench Client Count: 6 OpenBenchmarking.org MB/s, More Is Better Dbench 4.0 Client Count: 6 Btrfs - nobarrier Btrfs - compress=lzo Btrfs - compress=zlib Btrfs Btrfs - autodefrag Btrfs - nodatacow Btrfs - nodatasum Btrfs - space_cache EXT4 15 30 45 60 75 SE +/- 0.31, N = 3 SE +/- 0.10, N = 3 SE +/- 0.07, N = 3 SE +/- 0.35, N = 3 SE +/- 0.22, N = 3 SE +/- 0.06, N = 3 SE +/- 0.07, N = 3 SE +/- 0.45, N = 3 SE +/- 0.31, N = 3 68.89 31.20 30.44 28.16 27.83 24.62 24.61 23.31 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 - compress=lzo Btrfs - compress=zlib Btrfs - nobarrier EXT4 Btrfs - nodatacow Btrfs - nodatasum Btrfs - autodefrag Btrfs Btrfs - space_cache 7 14 21 28 35 SE +/- 0.12, N = 3 SE +/- 0.41, N = 3 SE +/- 0.00, N = 3 SE +/- 0.26, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.13, N = 3 29.40 26.47 17.20 16.43 14.00 14.00 13.20 13.20 13.07
FS-Mark Test: 1000 Files, 1MB Size OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 1000 Files, 1MB Size Btrfs - nobarrier Btrfs - compress=lzo Btrfs - compress=zlib Btrfs - nodatasum Btrfs - nodatacow EXT4 Btrfs - space_cache Btrfs Btrfs - autodefrag 5 10 15 20 25 SE +/- 0.07, N = 3 SE +/- 0.03, N = 3 SE +/- 0.09, N = 3 SE +/- 0.06, N = 3 SE +/- 0.21, N = 3 SE +/- 0.06, N = 3 SE +/- 0.03, N = 3 SE +/- 0.07, N = 3 SE +/- 0.06, N = 3 18.57 17.87 15.13 11.50 11.40 11.00 10.93 10.93 10.80
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 - nobarrier Btrfs - compress=lzo Btrfs - compress=zlib Btrfs - nodatasum Btrfs - nodatacow EXT4 Btrfs - autodefrag Btrfs - space_cache Btrfs 4 8 12 16 20 SE +/- 0.03, N = 3 SE +/- 0.03, N = 3 SE +/- 0.06, N = 3 SE +/- 0.03, N = 3 SE +/- 0.03, N = 3 SE +/- 0.38, N = 6 SE +/- 0.03, N = 3 SE +/- 0.00, N = 3 SE +/- 0.03, N = 3 18.23 17.03 15.10 11.47 11.43 11.28 10.77 10.70 10.67
PostMark Disk Transaction Performance OpenBenchmarking.org TPS, More Is Better PostMark 1.51 Disk Transaction Performance Btrfs - autodefrag Btrfs - compress=lzo Btrfs - nodatasum Btrfs - nodatacow Btrfs - nobarrier Btrfs Btrfs - space_cache EXT4 Btrfs - compress=zlib 30 60 90 120 150 SE +/- 1.50, N = 5 SE +/- 1.29, N = 5 SE +/- 0.37, N = 5 SE +/- 0.49, N = 5 SE +/- 0.49, N = 5 SE +/- 1.12, N = 5 SE +/- 0.68, N = 5 SE +/- 0.32, N = 5 SE +/- 0.00, N = 5 120 120 114 113 105 103 102 90 87
Phoronix Test Suite v10.8.5