Btrfs RAID benchmarks with four Intel SSDs using RAID 0, 1, 5, 6, and 10 levels on Linux 3.18 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 1410302-LI-BTRFSRAID97
Native Btrfs vs. mdadm RAID,
"Flexible IO Tester 2.1.11 - Type: Random Read - IO Engine: Libaio - Buffered: No - Block Size: 16KB - Disk Target: Default Test Directory - Result: MB/s",
Higher Results Are Better
"Native Btrfs RAID: RAID 0",718.939,775.474,818.01,819.228,741.508,676.405
"Native Btrfs RAID: RAID 1",234.611,232.582,231.794
"Native Btrfs RAID: RAID 10",509.596,483.869,448.696,451.11,477.223,444.113
"Native Btrfs RAID: RAID 5",932.179,875.433,627.99,668.098,680.241,668.4
"Native Btrfs RAID: RAID 6",876.561,855.45,518.998,526.748,577.952,565.504
"mdadm Btrfs: RAID 0",827.466,811.204,809.391
"mdadm Btrfs: RAID 1",226.546,223.626,223.895
"mdadm Btrfs: RAID 10",727.242,685.144,681.461,687.924
"mdadm Btrfs: RAID 5",795.359,793.091,789.381
"mdadm Btrfs: RAID 6",910.491,909.186,910.266
"Flexible IO Tester 2.1.11 - Type: Random Write - IO Engine: Libaio - Buffered: No - Block Size: 16KB - Disk Target: Default Test Directory - Result: MB/s",
Higher Results Are Better
"Native Btrfs RAID: RAID 0",490.847,441.356,480.596,530.449,509.367,530.748
"Native Btrfs RAID: RAID 1",127.421,127.849,128.734
"Native Btrfs RAID: RAID 10",263.461,267.45,271.528
"Native Btrfs RAID: RAID 5",250.216,265.009,245.365,242.921,244.45,245.634
"Native Btrfs RAID: RAID 6",208.126,228.119,213.748,211.97,216.005,209.401
"mdadm Btrfs: RAID 0",381.358,386.464,376.524
"mdadm Btrfs: RAID 1",105.205,110.993,111.453
"mdadm Btrfs: RAID 10",163.479,159.024,156.082
"mdadm Btrfs: RAID 5",214.471,216.213,212.246
"mdadm Btrfs: RAID 6",182.118,178.056,179.024
"Flexible IO Tester 2.1.11 - Type: Sequential Read - IO Engine: Libaio - Buffered: No - Block Size: 16KB - Disk Target: Default Test Directory - Result: MB/s",
Higher Results Are Better
"Native Btrfs RAID: RAID 0",902.142,815.412,847.296,860.381,763.878,760.686
"Native Btrfs RAID: RAID 1",323.031,322.656,325.708
"Native Btrfs RAID: RAID 10",453.077,451.231,448.044
"Native Btrfs RAID: RAID 5",991.924,999.586,789.022,818.112,800.876,818.542
"Native Btrfs RAID: RAID 6",955.237,977.747,949.672
"mdadm Btrfs: RAID 1",860.972,864.208,839.769
"mdadm Btrfs: RAID 10",904.632,842.856,841.655,826.606,818.114,828.215
"mdadm Btrfs: RAID 5",822.855,831.838,909.174,898.677,887.789,924.231
"mdadm Btrfs: RAID 6",918.196,932.711,924.239
"Flexible IO Tester 2.1.11 - Type: Sequential Write - IO Engine: Libaio - Buffered: No - Block Size: 16KB - Disk Target: Default Test Directory - Result: MB/s",
Higher Results Are Better
"Native Btrfs RAID: RAID 0",314.687,316.564,326.969
"Native Btrfs RAID: RAID 1",126.427,121.03,129.898,136.311,131.38,136.849
"Native Btrfs RAID: RAID 10",273.969,271.082,271.524
"Native Btrfs RAID: RAID 5",241.763,242.753,243.131
"Native Btrfs RAID: RAID 6",211.35,207.383,208.154
"mdadm Btrfs: RAID 0",385.769,380.894,389.362
"mdadm Btrfs: RAID 1",107.542,111.794,110.571
"mdadm Btrfs: RAID 10",161.423,160.422,163.859
"mdadm Btrfs: RAID 5",208.633,209.72,210.456
"mdadm Btrfs: RAID 6",171.448,175.52,171.192
"FS-Mark 3.3 - Test: 1000 Files, 1MB Size",
Higher Results Are Better
"Native Btrfs RAID: RAID 0",41.1,41.2,42
"Native Btrfs RAID: RAID 1",35.2,35,35.1
"Native Btrfs RAID: RAID 10",37.8,38.9,38.3
"Native Btrfs RAID: RAID 5",38.7,39.2,38.7
"Native Btrfs RAID: RAID 6",38.3,38.2,38.1
"mdadm Btrfs: RAID 0",39.6,39.2,40
"mdadm Btrfs: RAID 1",33.8,34.4,33.9
"mdadm Btrfs: RAID 10",38.1,37.9,37.4
"mdadm Btrfs: RAID 5",33.1,33.5,33.5
"mdadm Btrfs: RAID 6",30.3,29.9,31.1
"FS-Mark 3.3 - Test: 5000 Files, 1MB Size, 4 Threads",
Higher Results Are Better
"Native Btrfs RAID: RAID 0",84.4,83.6,83.2
"Native Btrfs RAID: RAID 1",69.1,69.2,68.8
"Native Btrfs RAID: RAID 10",77.2,77.2,76.8
"Native Btrfs RAID: RAID 5",79.6,80,80
"Native Btrfs RAID: RAID 6",76,75.2,75.2
"mdadm Btrfs: RAID 0",91.8,92,92.2
"mdadm Btrfs: RAID 1",65,63.3,63.7
"mdadm Btrfs: RAID 10",75.9,75.5,75.4
"mdadm Btrfs: RAID 5",64.9,64.5,64.8
"mdadm Btrfs: RAID 6",57.1,56.5,56.8
"FS-Mark 3.3 - Test: 4000 Files, 32 Sub Dirs, 1MB Size",
Higher Results Are Better
"Native Btrfs RAID: RAID 0",40.7,40.7,40.8
"Native Btrfs RAID: RAID 1",35.6,35.6,35.7
"Native Btrfs RAID: RAID 10",38.7,38,38.8
"Native Btrfs RAID: RAID 5",39.4,39.5,38.6
"Native Btrfs RAID: RAID 6",37.6,37.8,37.8
"mdadm Btrfs: RAID 0",39.1,39.7,39.5
"mdadm Btrfs: RAID 1",33.4,33.5,33.4
"mdadm Btrfs: RAID 10",36.9,36.9,37
"mdadm Btrfs: RAID 5",32,32.4,31.9
"mdadm Btrfs: RAID 6",30.5,30.8,30.6
"IOzone 3.405 - Record Size: 4Kb - File Size: 8GB - Disk Test: Write Performance",
Higher Results Are Better
"Native Btrfs RAID: RAID 0",1144.4560546875,1142.3935546875,1140.455078125
"Native Btrfs RAID: RAID 1",577.6064453125,589.0830078125,587.8486328125
"Native Btrfs RAID: RAID 10",598.6708984375,599.3994140625,599.8974609375
"Native Btrfs RAID: RAID 5",877.6552734375,876.1708984375,876.4951171875
"Native Btrfs RAID: RAID 6",598.1376953125,598.234375,598.90625
"mdadm Btrfs: RAID 0",1139.82421875,1141.6435546875,1142.0673828125
"mdadm Btrfs: RAID 1",280.61328125,280.599609375,279.9501953125
"mdadm Btrfs: RAID 10",483.3701171875,482.27734375,470.3115234375
"mdadm Btrfs: RAID 5",435.8671875,439.0087890625,440.7822265625
"mdadm Btrfs: RAID 6",318.19140625,313.1015625,316.2626953125
"Compile Bench 0.6 - Test: Initial Create",
Higher Results Are Better
"Native Btrfs RAID: RAID 0",212.92,203.24,204.05
"Native Btrfs RAID: RAID 1",169.94,199.26,193.96
"Native Btrfs RAID: RAID 10",178.45,178.24,175.93
"Native Btrfs RAID: RAID 5",204.68,191.52,172.56
"Native Btrfs RAID: RAID 6",190.17,194.73,200.17
"mdadm Btrfs: RAID 0",187.38,175.58,173.83,176.43
"mdadm Btrfs: RAID 1",162.77,160.15,158.81
"mdadm Btrfs: RAID 10",145.14,154.58,155.07,164.32,159.14,163.59
"mdadm Btrfs: RAID 5",167.98,145.21,160.34,162.13,151.03,150.54
"mdadm Btrfs: RAID 6",169.91,153.02,135.96,144.67,144.63,161.62