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.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 1109031-LI-BTRFSOLDS83
Btrfs Old System,
"PostgreSQL pgbench 9.0.4 - TPC-B Transactions Per Second",
Higher Results Are Better
"EXT4",81.85729,82.923548,83.030209
"Btrfs",18.63849,18.655245,18.747517
"Btrfs - compress=zlib",18.138603,18.372593,18.274909
"Btrfs - compress=lzo",18.135921,18.464096,18.296116
"Btrfs - space_cache",17.317623,18.11983,18.159392
"Btrfs - autodefrag",18.370101,18.625972,18.624821
"Btrfs - nodatasum",18.134033,18.405448,18.45599
"Btrfs - nodatacow",19.393659,20.007386,20.026594
"Btrfs - nobarrier",76.472265,86.383969,81.591429,83.501781,85.322204,82.394981
"SQLite 3.7.3 - Test Target: Default Test Directory",
Lower Results Are Better
"EXT4",984.01540517807,954.32304692268,974.14389610291
"Btrfs",1482.6479420662,1482.8476221561,1487.3800649643
"Btrfs - compress=zlib",1483.4547431469,1479.1849980354,1477.3596439362
"Btrfs - compress=lzo",1461.0759348869,1463.5779540539,1461.6492481232
"Btrfs - space_cache",1483.3480899334,1475.1408848763,1474.929022789
"Btrfs - autodefrag",1462.2266671658,1456.5100960732,1460.9523239136
"Btrfs - nodatasum",1472.7460150719,1471.40574193,1469.9526078701
"Btrfs - nodatacow",1558.8004710674,1627.1617500782,1520.3762471676
"Btrfs - nobarrier",206.75748085976,203.83981800079,205.39994502068
"PostMark 1.51 - Disk Transaction Performance",
Higher Results Are Better
"EXT4",91,89,90,90,90
"Btrfs",107,101,102,102,101
"Btrfs - compress=zlib",87,87,87,87,87
"Btrfs - compress=lzo",124,120,116,119,119
"Btrfs - space_cache",105,102,102,102,101
"Btrfs - autodefrag",122,124,116,117,119
"Btrfs - nodatasum",113,113,114,115,114
"Btrfs - nodatacow",113,112,113,113,115
"Btrfs - nobarrier",105,105,105,107,104
"FS-Mark 3.3 - Test: 1000 Files, 1MB Size",
Higher Results Are Better
"EXT4",11.1,11,10.9
"Btrfs",10.8,11,11
"Btrfs - compress=zlib",15.3,15.1,15
"Btrfs - compress=lzo",17.9,17.9,17.8
"Btrfs - space_cache",11,10.9,10.9
"Btrfs - autodefrag",10.8,10.9,10.7
"Btrfs - nodatasum",11.6,11.4,11.5
"Btrfs - nodatacow",11.3,11.8,11.1
"Btrfs - nobarrier",18.7,18.5,18.5
"FS-Mark 3.3 - Test: 1000 Files, 1MB Size, No Sync/FSync",
Higher Results Are Better
"EXT4",22.2,21.8,21.2
"Btrfs",28.6,29.1,28
"Btrfs - compress=zlib",74,71.9,73.6
"Btrfs - compress=lzo",196.3,174.7,202.5,201.7,187,207.4
"Btrfs - space_cache",29,29.1,28.3
"Btrfs - autodefrag",27.2,28.7,27.7
"Btrfs - nodatasum",28.8,28.6,28.6
"Btrfs - nodatacow",28.7,29.7,28.8
"Btrfs - nobarrier",28.9,29,29
"FS-Mark 3.3 - Test: 5000 Files, 1MB Size, 4 Threads",
Higher Results Are Better
"EXT4",16.4,16,16.9
"Btrfs",13.2,13.2,13.2
"Btrfs - compress=zlib",25.8,26.4,27.2
"Btrfs - compress=lzo",29.2,29.4,29.6
"Btrfs - space_cache",12.8,13.2,13.2
"Btrfs - autodefrag",13.2,13.2,13.2
"Btrfs - nodatasum",14,14,14
"Btrfs - nodatacow",14,14,14
"Btrfs - nobarrier",17.2,17.2,17.2
"FS-Mark 3.3 - Test: 4000 Files, 32 Sub Dirs, 1MB Size",
Higher Results Are Better
"EXT4",12.4,11.6,10.9,10.3,10.3,12.2
"Btrfs",10.7,10.7,10.6
"Btrfs - compress=zlib",15,15.2,15.1
"Btrfs - compress=lzo",17.1,17,17
"Btrfs - space_cache",10.7,10.7,10.7
"Btrfs - autodefrag",10.8,10.7,10.8
"Btrfs - nodatasum",11.5,11.4,11.5
"Btrfs - nodatacow",11.4,11.4,11.5
"Btrfs - nobarrier",18.2,18.3,18.2
"Dbench 4.0 - Client Count: 6",
Higher Results Are Better
"EXT4",19.4221,20.3002,20.3855
"Btrfs",27.4788,28.3428,28.6647
"Btrfs - compress=zlib",30.5325,30.3107,30.4724
"Btrfs - compress=lzo",31.015,31.3727,31.22
"Btrfs - space_cache",22.4125,23.7384,23.7721
"Btrfs - autodefrag",27.5143,28.2594,27.723
"Btrfs - nodatasum",24.4761,24.686,24.6804
"Btrfs - nodatacow",24.7293,24.5348,24.5824
"Btrfs - nobarrier",69.4051,68.9396,68.3374
"IOzone 3.347 - Record Size: 64Kb - File Size: 2GB - Disk Test: Write Performance",
Higher Results Are Better
"EXT4",26.3212890625,26.2373046875,25.580078125
"Btrfs",28.6376953125,28.439453125,28.439453125
"Btrfs - compress=zlib",71.0341796875,70.876953125,70.640625
"Btrfs - compress=lzo",186.60546875,187.7724609375,193.51953125
"Btrfs - space_cache",28.583984375,28.3779296875,28.7548828125
"Btrfs - autodefrag",28.1162109375,28.8173828125,28.66796875
"Btrfs - nodatasum",28.7392578125,28.54296875,28.8818359375
"Btrfs - nodatacow",28.7705078125,28.8212890625,28.87890625
"Btrfs - nobarrier",28.10546875,28.2861328125,28.4072265625
"IOzone 3.347 - Record Size: 64Kb - File Size: 2GB - Disk Test: Read Performance",
Higher Results Are Better
"EXT4",26.076171875,25.14453125,24.7275390625
"Btrfs",25.904296875,26.6767578125,26.5390625
"Btrfs - compress=zlib",152.7060546875,167.9150390625,166.5654296875,180.009765625,167.5966796875,168.5263671875
"Btrfs - compress=lzo",186.107421875,181.5615234375,198.2294921875,185.015625,173.22265625,200.4287109375
"Btrfs - space_cache",26.943359375,27.5380859375,27.576171875
"Btrfs - autodefrag",27.1259765625,27.6875,27.3525390625
"Btrfs - nodatasum",26.98828125,27.568359375,27.662109375
"Btrfs - nodatacow",27.8837890625,28.251953125,27.982421875
"Btrfs - nobarrier",25.89453125,27.3134765625,27.4208984375