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