Btrfs Linux 4.9 file-system benchmarks with a variety of mount options. Benchmarks by Michael Larabel for a future article on Phoronix.com.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 1612196-TA-BTRFSBUTT59
Btrfs File-System Mount Option Testing On Linux 4.9,
"BlogBench 1.0 - Test: Read",
Higher Results Are Better
"Stock",2997453,3060745,3137334
"compress=zlib",2566462,2551080,2520523
"compress=lzo",2456997,2484313,2389862
"discard",2404513,2687693,2548650,2230951,2983402,2281242
"nobarrier",2922744,3116643,3084744
"nodatacow",2894959,2912289,2884213
"notreelog",3084364,3133069,3126098
"ssd_spread",3068899,3094995,3029744
"noatime",3324385,3206324,3282996
"nodatasum",2868612,2846000,2937676
"nodatacow,compress=lzo,discard",2971051,3176410,3176578,3072508
"BlogBench 1.0 - Test: Write",
Higher Results Are Better
"Stock",4654,4843,4691
"compress=zlib",6547,6615,6771
"compress=lzo",6825,6724,6678
"discard",2697,2714,2595
"nobarrier",4733,4695,4634
"nodatacow",5952,6105,6266
"notreelog",4727,4697,4851
"ssd_spread",4646,4681,4584
"noatime",4826,4646,4831
"nodatasum",5946,5909,5722
"nodatacow,compress=lzo,discard",4291,4192,4210
"Compile Bench 0.6 - Test: Initial Create",
Higher Results Are Better
"Stock",192.04,210.7,225.19,137.24,123.34,173.3
"compress=zlib",240.76,225.89,226.89,225.61
"compress=lzo",301.29,292.48,302.38
"discard",190.41,187.06,215.81,228.02,230.65,232.65
"nobarrier",165.23,77.63,122.8,69.91,72.2,70.15
"nodatacow",179.09,111.43,171.58,175.08,191.3,192.9
"notreelog",180.57,173.61,182.44
"ssd_spread",103.52,86.71,143.55,189.24,116.25,102.95
"noatime",173.52,124.32,103.38,178.51,103.95,173.46
"nodatasum",159.19,170.31,175.88,149.13,165.15,167.14
"nodatacow,compress=lzo,discard",233.27,280.78,311.46,305.13,291.6,308.04
"Flexible IO Tester 2.1.13 - Type: Random Read - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: MB/s",
Higher Results Are Better
"Stock",203.843,216.914,216.822,216.742
"compress=zlib",206.351,214.816,214.788
"compress=lzo",208.573,217.328,217.134
"discard",215.883,215.854,216.033
"nobarrier",205.558,216.422,216.778
"nodatacow",205.159,216.335,216.297
"notreelog",207.457,215.017,214.797
"ssd_spread",206.24,216.157,216.014
"noatime",205.223,215.274,215.301
"nodatasum",203.565,214.317,214.037
"nodatacow,compress=lzo,discard",214.834,214.903,214.71
"Flexible IO Tester 2.1.13 - Type: Random Write - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: MB/s",
Higher Results Are Better
"Stock",83.262,88.764,86.767
"compress=zlib",88.74,92.832,93.366
"compress=lzo",90.02,93.058,92.912
"discard",87.624,93.29,205.323,229.073,207.876,138.156
"nobarrier",88.01,93.127,118.2,93.168,89.45,92.9
"nodatacow",283.455,299.376,292.957
"notreelog",83.028,90.581,107.724,83.406,93.384,90.849
"ssd_spread",82.305,91.241,84.983,91.122,96.386,90.829
"noatime",85.778,90.559,86.666
"nodatasum",91.623,91.445,90.661
"nodatacow,compress=lzo,discard",88.284,93.302,213.08,211.228,85.744,204.586
"Flexible IO Tester 2.1.13 - Type: Sequential Read - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: MB/s",
Higher Results Are Better
"Stock",251.572,251.454,250.299
"compress=zlib",251.844,251.86,251.82
"compress=lzo",251.468,251.547,251.664
"discard",281.357,289.493,289.199
"nobarrier",251.148,251.165,251.146
"nodatacow",230.251,229.9,229.275
"notreelog",237.322,222.705,233.743
"ssd_spread",251.678,251.682,251.543
"noatime",218.566,217.771,251.499,251.33,251.339,251.29
"nodatasum",251.06,250.927,251.013
"nodatacow,compress=lzo,discard",339.399,350.678,351.372
"Flexible IO Tester 2.1.13 - Type: Sequential Write - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: MB/s",
Higher Results Are Better
"Stock",106.868,90.712,93.257,90.212,129.515,90.699
"compress=zlib",88.336,93.332,101.606,90.591,101.44,90.402
"compress=lzo",94.115,93.122,96.428
"discard",96.21,89.8,92.163
"nobarrier",89.124,105.757,90.489,86.593,90.851,97.267
"nodatacow",420.675,392.995,426.229,363.124,382.558,420.867
"notreelog",87.242,89.935,97.632,90.535,99.295,90.245
"ssd_spread",93.768,90.703,102.261,90.865,131.569,90.462
"noatime",107.954,90.659,90.419,93.31,93.386,96.633
"nodatasum",86.706,91.228,89.687
"nodatacow,compress=lzo,discard",89.889,92.265,92.474
"FS-Mark 3.3 - Test: 1000 Files, 1MB Size",
Higher Results Are Better
"Stock",119.9,52.4,40.8,58.1,49.7,46.3
"compress=zlib",147.2,115.7,139.7,116.2,140.4,141.4
"compress=lzo",149.3,294.3,292.3,294.1,288.4,293.9
"discard",15.2,92.6,120.9,47.2,121.5,44.4
"nobarrier",102.7,55.3,45.3,75.2,52.1,48.5
"nodatacow",124.1,57.5,54,43.7,46.6,46.6
"notreelog",39,33.5,40.2,37.8,40.2,38
"ssd_spread",115.2,52.5,43.6,53.7,49.8,49.9
"noatime",99.3,57,43.6,46.5,58.3,46.5
"nodatasum",77,102.3,50.4,54.2,58.9,58.7
"nodatacow,compress=lzo,discard",31.5,327.1,323.7,328.8,328.4,263.2
"FS-Mark 3.3 - Test: 5000 Files, 1MB Size, 4 Threads",
Higher Results Are Better
"Stock",51.7,49.8,50.6
"compress=zlib",468.3,401.2,397.2,452.1,418.2,413
"compress=lzo",663.4,575.8,539,552.4,553.9,558.1
"discard",51.2,50.6,50.3
"nobarrier",54.4,52.8,51.6
"nodatacow",49.6,49.8,50
"notreelog",36.8,36.7,36
"ssd_spread",51.6,50.7,51.3
"noatime",51.4,50.8,50.9
"nodatasum",51.6,50.4,50.8
"nodatacow,compress=lzo,discard",739.8,657.2,695.8,697.3,705.5,678.2
"FS-Mark 3.3 - Test: 4000 Files, 32 Sub Dirs, 1MB Size",
Higher Results Are Better
"Stock",44.8,41.3,42.5,46.1,47.8,47
"compress=zlib",157.5,139.9,110.8,141.8,132.4,133.4
"compress=lzo",303.9,305.3,231.1,266.3,292.5,321
"discard",57,49.2,50.4,51.9,50.1,55.7
"nobarrier",48.4,43.8,42.4,45.2,52,43.7
"nodatacow",45.9,42.2,42.3,43.6,41.8,41.7
"notreelog",31.9,33.2,28.6,33.8,28.3,33.9
"ssd_spread",45,41.4,42.7,45.6,47.9,47.1
"noatime",44.9,42.7,44.1
"nodatasum",45.8,42.3,44.3,42.4,43.8
"nodatacow,compress=lzo,discard",305.7,308.8,285.1,313.6,299.6,311.8
"PostgreSQL pgbench 9.4.3 - Scaling: On-Disk - Test: Normal Load - Mode: Read Write",
Higher Results Are Better
"Stock",1070.528972,1114.565807,1098.510986
"compress=zlib",1536.954408,1526.399637,1524.067023
"compress=lzo",1385.986146,1393.597583,1264.131273,1325.591229,1313.362478,1323.475771
"discard",1679.617809,1584.406758,1409.039908
"nobarrier",1169.13152,1166.521079,1160.780539
"nodatacow",1217.857218,1185.556831,1193.995296
"notreelog",566.935046,590.07274,594.090126
"ssd_spread",1099.800894,1113.741967,1116.308873
"noatime",1398.899886,1188.923702,1089.381949,1115.3474,1284.68349,1203.284818
"nodatasum",1119.731787,1107.57061,1133.779302
"nodatacow,compress=lzo,discard",1310.596841,1420.244879,1378.776568,1616.416967,1485.13645,1187.573376
"SQLite 3.8.10.2 - Test Target: Default Test Directory",
Lower Results Are Better
"Stock",86.352838039398,88.724563121796,88.375483989716
"compress=zlib",83.826833963394,87.749191045761,88.015084028244
"compress=lzo",80.434476852417,87.097543001175,85.264256000519,83.815508842468
"discard",79.045577049255,80.528418779373,80.58287191391
"nobarrier",46.747440099716,51.469482898712,51.370436906815,52.662902832031,52.434703826904,50.954787969589
"nodatacow",80.427791118622,84.346945047379,84.251751899719
"notreelog",237.46661996841,243.98597598076,180.13017201424,163.84759902954,162.91513609886,161.72866415977
"ssd_spread",84.026964902878,88.284252166748,85.810313940048
"noatime",83.337971925735,87.659044027328,86.985219955444
"nodatasum",80.466354131699,86.005642175674,84.384644031525
"nodatacow,compress=lzo,discard",80.018437147141,82.950069189072,82.391043901443