Btrfs RAID tests on Linux 4.7 kernel. 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 1608073-LO-SOFTRAID920
Btrfs vs. Linux Soft RAID Linux 4.7,
"BlogBench 1.0 - Test: Write",
Higher Results Are Better
"Btrfs: RAID0 2-Disk",6307,6418,6106
"Btrfs: RAID1 2-Disk",4258,4129,4294
"Btrfs: RAID0 4-Disk",7905,7790,7847
"Btrfs: RAID1 4-Disk",5643,5394,5527
"Btrfs: RAID10 4-Disk",6257,6252,5791,6082,5848,5613
"MDADM: RAID0 2-Disk",4909,5170,5229
"MDADM: RAID1 2-Disk",2226,2468,2354,2227,2439,2385
"MDADM: RAID0 4-Disk",6033,6672,5995,6390,6115,6595
"MDADM: RAID1 4-Disk",1904,1783,2190,2075,1784,1835
"MDADM: RAID10 4-Disk",4286,4200,4519,4404
"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: IOPS",
Higher Results Are Better
"Btrfs: RAID0 2-Disk",108481,108312,108095
"Btrfs: RAID1 2-Disk",54376,54365,54157
"Btrfs: RAID0 4-Disk",161655,173926,162457,161462,158141,167800
"Btrfs: RAID1 4-Disk",72125,71462,72119
"Btrfs: RAID10 4-Disk",107870,108324,107980
"MDADM: RAID0 2-Disk",107843,108274,107373
"MDADM: RAID1 2-Disk",108038,109241,108891
"MDADM: RAID0 4-Disk",166247,161741,163102
"MDADM: RAID1 4-Disk",47562,63111,130173,140531,169885,168286
"MDADM: RAID10 4-Disk",17935,6394,6393,6388,6378,6391
"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
"Btrfs: RAID0 2-Disk",432.014,433.577,432.885
"Btrfs: RAID1 2-Disk",209.657,217.152,217.533
"Btrfs: RAID0 4-Disk",654.333,676.386,672.319
"Btrfs: RAID1 4-Disk",283.523,285.039,283.408
"Btrfs: RAID10 4-Disk",430.797,433.172,429.546
"MDADM: RAID0 2-Disk",425.89,432.105,432.105
"MDADM: RAID1 2-Disk",433.359,437.112,436.107
"MDADM: RAID0 4-Disk",638.726,698.585,648.658,641.747,643.998,739.124
"MDADM: RAID1 4-Disk",681.05,677.883,638.816,662.929
"MDADM: RAID10 4-Disk",226.696,25.743,25.577,25.509,25.631,25.636
"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: IOPS",
Higher Results Are Better
"Btrfs: RAID0 2-Disk",31010,41849,19108,32601,40355,29378
"Btrfs: RAID1 2-Disk",19612,24456,16198,15870,23084,16894
"Btrfs: RAID0 4-Disk",45614,38653,33908,37008,30271,38290
"Btrfs: RAID1 4-Disk",28278,39070,16856,36868,27447,11351
"Btrfs: RAID10 4-Disk",24576,17872,46269,18254,19122,28092
"MDADM: RAID0 2-Disk",37736,21556,36900,44513,40041,25220
"MDADM: RAID1 2-Disk",9893,6740,11424,12771,5772,5536
"MDADM: RAID0 4-Disk",70183,35954,55982,31492,43362,58361
"MDADM: RAID1 4-Disk",10361,7237,6287,6500,7111,7305
"MDADM: RAID10 4-Disk",29558,4031,10728,10828,6451,10413
"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
"Btrfs: RAID0 2-Disk",137.231,131.055,177.62,159.5,130.711,177.072
"Btrfs: RAID1 2-Disk",68.933,81.426,63.184,114.004,83.16,75.962
"Btrfs: RAID0 4-Disk",129.186,138.119,155.317,178.235,148.01,150.348
"Btrfs: RAID1 4-Disk",170.46,118.277,47.042,80.164,117.324,74.766
"Btrfs: RAID10 4-Disk",89.033,82.985,111.516,103.053,113.222,103.279
"MDADM: RAID0 2-Disk",167.241,144.563,171.53,174.033,171.191,165.721
"MDADM: RAID1 2-Disk",48.342,35.013,42.358,21.47,28.744,25.777
"MDADM: RAID0 4-Disk",161.354,246.082,138.049,194.289,192.421,220.566
"MDADM: RAID1 4-Disk",58.424,5.6064,1.7222,48.314,45.866,33.475
"MDADM: RAID10 4-Disk",34.264,40.452,35.927,42.173,41.913,33.17
"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: IOPS",
Higher Results Are Better
"Btrfs: RAID0 2-Disk",80831,93413,94386,121529,120577,121339
"Btrfs: RAID1 2-Disk",83515,86642,90246,87700
"Btrfs: RAID0 4-Disk",189821,162743,201159,162428,184163,188654
"Btrfs: RAID1 4-Disk",135775,95948,133999,94516,131510,94532
"Btrfs: RAID10 4-Disk",166977,160740,160823
"MDADM: RAID0 2-Disk",142104,133168,135634
"MDADM: RAID1 2-Disk",138897,130328,136206
"MDADM: RAID0 4-Disk",196578,158390,191654,195282,194861,176624
"MDADM: RAID1 4-Disk",135268,163281,147777,165613,166181,134873
"MDADM: RAID10 4-Disk",68483,6228,6147,6185,6209,6217
"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
"Btrfs: RAID0 2-Disk",477.934,485.821,486.05
"Btrfs: RAID1 2-Disk",324.349,350.826,360.749,350.751,360.993,350.761
"Btrfs: RAID0 4-Disk",768.371,646.911,651.47,777.933,789.085,798.385
"Btrfs: RAID1 4-Disk",545.967,386.929,527.248,386.844,551.522,386.869
"Btrfs: RAID10 4-Disk",665.898,640.338,661.229
"MDADM: RAID0 2-Disk",539.888,537.713,559.101
"MDADM: RAID1 2-Disk",534.926,532.246,519.707
"MDADM: RAID0 4-Disk",676.939,722.042,786.687,754.549,776.785,616.463
"MDADM: RAID1 4-Disk",537.59,533.526,650.989,543.738,654.238,656.203
"MDADM: RAID10 4-Disk",305.282,24.42,24.412,24.499,24.31,24.319
"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: IOPS",
Higher Results Are Better
"Btrfs: RAID0 2-Disk",38117,23119,18755,32345,36256,34362
"Btrfs: RAID1 2-Disk",18902,21235,12126,18208,20933,22423
"Btrfs: RAID0 4-Disk",43110,30167,34956,45050,37385,41084
"Btrfs: RAID1 4-Disk",36437,19317,27687,31132,28504,14741
"Btrfs: RAID10 4-Disk",37610,16447,16948,20909,22260,33400
"MDADM: RAID0 2-Disk",28211,41868,38041,31371,23488,40117
"MDADM: RAID1 2-Disk",6313,7546,12581,16807,8987,7104
"MDADM: RAID0 4-Disk",46503,47446,40873,46343,42411,41268
"MDADM: RAID1 4-Disk",4857,5782,11812,3350,3469,9791
"MDADM: RAID10 4-Disk",9582,10517,10549,10517,7773,23316
"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
"Btrfs: RAID0 2-Disk",182.081,143.794,95.908,156.268,111.443,145.843
"Btrfs: RAID1 2-Disk",73.448,78.217,67.505,71.413,72.43,78.892
"Btrfs: RAID0 4-Disk",175.214,170.374,187.418,157.822,162.816,118.453
"Btrfs: RAID1 4-Disk",86.029,119.553,112.911,91.94,179.737,105.893
"Btrfs: RAID10 4-Disk",86.505,58.833,81.894,159.031,66.801,91.189
"MDADM: RAID0 2-Disk",140.672,162.107,179.989,185.153,119.877,124.839
"MDADM: RAID1 2-Disk",40.55,10.363,40.608,10.325,42.731,20.035
"MDADM: RAID0 4-Disk",189.56,204.337,110.455,156.645,174.924,210.889
"MDADM: RAID1 4-Disk",16.25,27.181,42.346,3.8637,48.112,28.758
"MDADM: RAID10 4-Disk",73.304,89.238,109.771,82.045,71.428,130.625
"FS-Mark 3.3 - Test: 1000 Files, 1MB Size",
Higher Results Are Better
"Btrfs: RAID0 2-Disk",81.7,102.9,79,77,102.6,79
"Btrfs: RAID1 2-Disk",137.6,45.8,57.5,42.3,45.6,42.9
"Btrfs: RAID0 4-Disk",244.2,108.2,127,107.3,55.4,129.7
"Btrfs: RAID1 4-Disk",157.5,26.1,158,46,77.5,62.7
"Btrfs: RAID10 4-Disk",39.9,39.1,39.5
"MDADM: RAID0 2-Disk",138.9,83.7,39.2,94.8,73.1,83.6
"MDADM: RAID1 2-Disk",11.3,14.8,13.2,13.6,14.1,12
"MDADM: RAID0 4-Disk",184,108.8,109,46.2,183.8,129
"MDADM: RAID1 4-Disk",11.9,12.5,10,10.2,12.2,8.3
"MDADM: RAID10 4-Disk",167.8,71.8,32.6,101.4,92.1,72
"FS-Mark 3.3 - Test: 5000 Files, 1MB Size, 4 Threads",
Higher Results Are Better
"Btrfs: RAID0 2-Disk",85.6,81.2,76.8,83.2,84.8,80.4
"Btrfs: RAID1 2-Disk",42.8,40,43.2,44.8,43.6,44.4
"Btrfs: RAID0 4-Disk",152.4,129.6,151.6,129.6,133.6,153.6
"Btrfs: RAID1 4-Disk",62,58,62,55.6,63.2,64.4
"Btrfs: RAID10 4-Disk",70.8,65.6,65.2,66.4,68.8,68.8
"MDADM: RAID0 2-Disk",76.7,72.1,64.5,75.1,74.2,67.6
"MDADM: RAID1 2-Disk",20.4,15.7,24,34.2,30.1,33.3
"MDADM: RAID0 4-Disk",136.6,99.6,110.1,103.4,122.4,106
"MDADM: RAID1 4-Disk",16.4,10.3,6.4,12,15.2,14.9
"MDADM: RAID10 4-Disk",68.5,63.4,63.6,58.1,66.1,65.2
"PostgreSQL pgbench 9.4.3 - Scaling: On-Disk - Test: Normal Load - Mode: Read Write",
Higher Results Are Better
"Btrfs: RAID0 2-Disk",1755.385124,1183.684799,1102.347222,1516.65216
"Btrfs: RAID1 2-Disk",967.241577,1008.755269,973.833339
"Btrfs: RAID0 4-Disk",2001.139761,2430.378242,1877.37937,815.789212
"Btrfs: RAID1 4-Disk",1168.419734,1559.808075,853.19762,1438.043557,742.983069,1357.425121
"Btrfs: RAID10 4-Disk",1694.731972,1282.211271,862.129807,1713.362327,1653.852118,1759.947524
"MDADM: RAID0 2-Disk",1387.295438,1363.258776,1470.514973,1363.402895,1492.605215
"MDADM: RAID0 4-Disk",1496.831033
"MDADM: RAID1 4-Disk",310.144001
"MDADM: RAID10 4-Disk",1457.986685