Native Btrfs vs. mdadm RAID

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
Jump To Table - Results

View

Do Not Show Noisy Results
Do Not Show Results With Incomplete Data
Do Not Show Results With Little Change/Spread
List Notable Results

Statistics

Show Overall Harmonic Mean(s)
Show Overall Geometric Mean
Show Wins / Losses Counts (Pie Chart)
Normalize Results
Remove Outliers Before Calculating Averages

Graph Settings

Force Line Graphs Where Applicable
Convert To Scalar Where Applicable
Prefer Vertical Bar Graphs
On Line Graphs With Missing Data, Connect The Line Gaps

Multi-Way Comparison

Condense Comparison
Transpose Comparison

Table

Show Detailed System Result Table

Run Management

Highlight
Result
Hide
Result
Result
Identifier
Performance Per
Dollar
Date
Run
  Test
  Duration
Native Btrfs RAID: RAID 0
October 28 2014
 
Native Btrfs RAID: RAID 1
October 28 2014
 
Native Btrfs RAID: RAID 10
October 28 2014
 
Native Btrfs RAID: RAID 5
October 28 2014
 
Native Btrfs RAID: RAID 6
October 29 2014
 
mdadm Btrfs: RAID 0
October 29 2014
 
mdadm Btrfs: RAID 1
October 29 2014
 
mdadm Btrfs: RAID 10
October 29 2014
 
mdadm Btrfs: RAID 5
October 29 2014
 
mdadm Btrfs: RAID 6
October 29 2014
 
Invert Hiding All Results Option
 

Only show results where is faster than
Only show results matching title/arguments (delimit multiple options with a comma):
Do not show results matching title/arguments (delimit multiple options with a comma):


Native Btrfs vs. mdadm RAIDOpenBenchmarking.orgPhoronix Test SuiteIntel Core i7-5960X @ 4.00GHz (16 Cores)Gigabyte X99-UD4-CFIntel Xeon E5 v3/Core16384MB4 x 120GB INTEL SSDSC2BW12 + 128GB Crucial_CT128MX1XFX AMD Radeon HD 7950/8950 OEM / R9 280 3072MBIntel C610/X99SyncMasterIntel ConnectionUbuntu 14.103.18.0-031800rc1-generic (x86_64)Unity 7.3.1X Server 1.16.0radeon 7.4.03.3 Mesa 10.3.0 Gallium 0.4GCC 4.9.1btrfs2560x1600ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionNative Btrfs Vs. Mdadm RAID BenchmarksSystem Logs- --build=x86_64-linux-gnu --disable-browser-plugin --disable-vtable-verify --disable-werror --enable-checking=release --enable-clocale=gnu --enable-gnu-unique-object --enable-gtk-cairo --enable-java-awt=gtk --enable-java-home --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-arch-directory=amd64 --with-multilib-list=m32,m64,mx32 --with-tune=generic -v - Native Btrfs RAID: RAID 0: DEADLINE / relatime,rw,space_cache,ssd- Native Btrfs RAID: RAID 1: DEADLINE / relatime,rw,space_cache,ssd- Native Btrfs RAID: RAID 10: DEADLINE / relatime,rw,space_cache,ssd- Native Btrfs RAID: RAID 5: DEADLINE / relatime,rw,space_cache,ssd- Native Btrfs RAID: RAID 6: DEADLINE / relatime,rw,space_cache,ssd- mdadm Btrfs: RAID 0: DEADLINE / relatime,rw,space_cache- mdadm Btrfs: RAID 1: DEADLINE / relatime,rw,space_cache- mdadm Btrfs: RAID 10: DEADLINE / relatime,rw,space_cache- mdadm Btrfs: RAID 5: DEADLINE / relatime,rw,space_cache- mdadm Btrfs: RAID 6: DEADLINE / relatime,rw,space_cache- Scaling Governor: intel_pstate powersave- Disk Scheduler: DEADLINE. Python 2.7.8.

fio: Rand Read - Libaio - No - 16KB - Default Test Directory - MB/sfio: Rand Write - Libaio - No - 16KB - Default Test Directory - MB/sfio: Seq Read - Libaio - No - 16KB - Default Test Directory - MB/sfio: Seq Write - Libaio - No - 16KB - Default Test Directory - MB/sfs-mark: 1000 Files, 1MB Sizefs-mark: 5000 Files, 1MB Size, 4 Threadsfs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizeiozone: 4Kb - 8GB - Write Performancecompilebench: Initial CreateNative Btrfs RAIDmdadm Btrfs RAID 0 RAID 1 RAID 10 RAID 5 RAID 6 RAID 0 RAID 1 RAID 10 RAID 5 RAID 6758.26497.23824.97319.4141.4383.7340.731142.43206.74233.00128.00323.80130.3235.1069.0335.63584.85187.72469.10267.48450.78272.1938.3377.0738.50599.32177.54742.06248.93869.68242.5538.8779.8739.17876.77189.59653.54214.56960.89208.9638.2075.4737.73598.43195.02816.02381.45385.3439.6092.0039.431141.18178.31224.69109.22854.98109.9734.0364.0033.43280.39160.58695.44159.53843.68161.9037.8075.6036.93478.65156.97792.61214.31879.09209.6033.3764.7332.10438.55156.21909.98179.73925.05172.7230.4356.8030.63315.85151.64OpenBenchmarking.org

Flexible IO Tester

MinAvgMaxNative Btrfs RAID233571758mdadm Btrfs225688910OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 2.1.11Type: Random Read - IO Engine: Libaio - Buffered: No - Block Size: 16KB - Disk Target: Default Test Directory - Result: MB/sRAID 0RAID 1RAID 10RAID 5RAID 62004006008001000
Native Btrfs RAIDmdadm BtrfsOpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 2.1.11Type: Random Read - IO Engine: Libaio - Buffered: No - Block Size: 16KB - Disk Target: Default Test Directory - Result: MB/sRAID 0RAID 1RAID 10RAID 5RAID 6160320480640800Min: 676.41 / Avg: 758.26 / Max: 819.23Min: 231.79 / Avg: 233 / Max: 234.61Min: 444.11 / Avg: 469.1 / Max: 509.6Min: 627.99 / Avg: 742.06 / Max: 932.18Min: 519 / Avg: 653.54 / Max: 876.56Min: 809.39 / Avg: 816.02 / Max: 827.47Min: 223.63 / Avg: 224.69 / Max: 226.55Min: 681.46 / Avg: 695.44 / Max: 727.24Min: 789.38 / Avg: 792.61 / Max: 795.36Min: 909.19 / Avg: 909.98 / Max: 910.491. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lrt -laio -lz -lm -lpthread -ldl

MinAvgMaxNative Btrfs RAID128.0271.2497.2mdadm Btrfs109.2208.8381.5OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 2.1.11Type: Random Write - IO Engine: Libaio - Buffered: No - Block Size: 16KB - Disk Target: Default Test Directory - Result: MB/sRAID 0RAID 1RAID 10RAID 5RAID 6130260390520650
Native Btrfs RAIDmdadm BtrfsOpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 2.1.11Type: Random Write - IO Engine: Libaio - Buffered: No - Block Size: 16KB - Disk Target: Default Test Directory - Result: MB/sRAID 0RAID 1RAID 10RAID 5RAID 690180270360450Min: 441.36 / Avg: 497.23 / Max: 530.75Min: 127.42 / Avg: 128 / Max: 128.73Min: 263.46 / Avg: 267.48 / Max: 271.53Min: 242.92 / Avg: 248.93 / Max: 265.01Min: 208.13 / Avg: 214.56 / Max: 228.12Min: 376.52 / Avg: 381.45 / Max: 386.46Min: 105.21 / Avg: 109.22 / Max: 111.45Min: 156.08 / Avg: 159.53 / Max: 163.48Min: 212.25 / Avg: 214.31 / Max: 216.21Min: 178.06 / Avg: 179.73 / Max: 182.121. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lrt -laio -lz -lm -lpthread -ldl

MinAvgMaxNative Btrfs RAID324686961mdadm Btrfs844876925OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 2.1.11Type: Sequential Read - IO Engine: Libaio - Buffered: No - Block Size: 16KB - Disk Target: Default Test Directory - Result: MB/sRAID 0RAID 1RAID 10RAID 5RAID 62004006008001000
Native Btrfs RAIDmdadm BtrfsOpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 2.1.11Type: Sequential Read - IO Engine: Libaio - Buffered: No - Block Size: 16KB - Disk Target: Default Test Directory - Result: MB/sRAID 0RAID 1RAID 10RAID 5RAID 62004006008001000Min: 760.69 / Avg: 824.97 / Max: 902.14Min: 322.66 / Avg: 323.8 / Max: 325.71Min: 448.04 / Avg: 450.78 / Max: 453.08Min: 789.02 / Avg: 869.68 / Max: 999.59Min: 949.67 / Avg: 960.89 / Max: 977.75Min: 839.77 / Avg: 854.98 / Max: 864.21Min: 818.11 / Avg: 843.68 / Max: 904.63Min: 822.86 / Avg: 879.09 / Max: 924.23Min: 918.2 / Avg: 925.05 / Max: 932.711. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lrt -laio -lz -lm -lpthread -ldl

MinAvgMaxNative Btrfs RAID130.3234.7319.4mdadm Btrfs110.0207.9385.3OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 2.1.11Type: Sequential Write - IO Engine: Libaio - Buffered: No - Block Size: 16KB - Disk Target: Default Test Directory - Result: MB/sRAID 0RAID 1RAID 10RAID 5RAID 6100200300400500
Native Btrfs RAIDmdadm BtrfsOpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 2.1.11Type: Sequential Write - IO Engine: Libaio - Buffered: No - Block Size: 16KB - Disk Target: Default Test Directory - Result: MB/sRAID 0RAID 1RAID 10RAID 5RAID 670140210280350Min: 314.69 / Avg: 319.41 / Max: 326.97Min: 121.03 / Avg: 130.32 / Max: 136.85Min: 271.08 / Avg: 272.19 / Max: 273.97Min: 241.76 / Avg: 242.55 / Max: 243.13Min: 207.38 / Avg: 208.96 / Max: 211.35Min: 380.89 / Avg: 385.34 / Max: 389.36Min: 107.54 / Avg: 109.97 / Max: 111.79Min: 160.42 / Avg: 161.9 / Max: 163.86Min: 208.63 / Avg: 209.6 / Max: 210.46Min: 171.19 / Avg: 172.72 / Max: 175.521. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lrt -laio -lz -lm -lpthread -ldl

FS-Mark

MinAvgMaxNative Btrfs RAID35.138.441.4mdadm Btrfs30.435.039.6OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeRAID 0RAID 1RAID 10RAID 5RAID 61122334455
Native Btrfs RAIDmdadm BtrfsOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeRAID 0RAID 1RAID 10RAID 5RAID 6918273645Min: 41.1 / Avg: 41.43 / Max: 42Min: 35 / Avg: 35.1 / Max: 35.2Min: 37.8 / Avg: 38.33 / Max: 38.9Min: 38.7 / Avg: 38.87 / Max: 39.2Min: 38.1 / Avg: 38.2 / Max: 38.3Min: 39.2 / Avg: 39.6 / Max: 40Min: 33.8 / Avg: 34.03 / Max: 34.4Min: 37.4 / Avg: 37.8 / Max: 38.1Min: 33.1 / Avg: 33.37 / Max: 33.5Min: 29.9 / Avg: 30.43 / Max: 31.11. (CC) gcc options: -static

MinAvgMaxNative Btrfs RAID69.077.083.7mdadm Btrfs56.870.692.0OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 5000 Files, 1MB Size, 4 ThreadsRAID 0RAID 1RAID 10RAID 5RAID 620406080100
Native Btrfs RAIDmdadm BtrfsOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 5000 Files, 1MB Size, 4 ThreadsRAID 0RAID 1RAID 10RAID 5RAID 620406080100Min: 83.2 / Avg: 83.73 / Max: 84.4Min: 68.8 / Avg: 69.03 / Max: 69.2Min: 76.8 / Avg: 77.07 / Max: 77.2Min: 79.6 / Avg: 79.87 / Max: 80Min: 75.2 / Avg: 75.47 / Max: 76Min: 91.8 / Avg: 92 / Max: 92.2Min: 63.3 / Avg: 64 / Max: 65Min: 75.4 / Avg: 75.6 / Max: 75.9Min: 64.5 / Avg: 64.73 / Max: 64.9Min: 56.5 / Avg: 56.8 / Max: 57.11. (CC) gcc options: -static

MinAvgMaxNative Btrfs RAID35.638.440.7mdadm Btrfs30.634.539.4OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 4000 Files, 32 Sub Dirs, 1MB SizeRAID 0RAID 1RAID 10RAID 5RAID 61122334455
Native Btrfs RAIDmdadm BtrfsOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 4000 Files, 32 Sub Dirs, 1MB SizeRAID 0RAID 1RAID 10RAID 5RAID 6816243240Min: 40.7 / Avg: 40.73 / Max: 40.8Min: 35.6 / Avg: 35.63 / Max: 35.7Min: 38 / Avg: 38.5 / Max: 38.8Min: 38.6 / Avg: 39.17 / Max: 39.5Min: 37.6 / Avg: 37.73 / Max: 37.8Min: 39.1 / Avg: 39.43 / Max: 39.7Min: 33.4 / Avg: 33.43 / Max: 33.5Min: 36.9 / Avg: 36.93 / Max: 37Min: 31.9 / Avg: 32.1 / Max: 32.4Min: 30.5 / Avg: 30.63 / Max: 30.81. (CC) gcc options: -static

IOzone

The IOzone benchmark tests the hard disk drive / file-system performance. Learn more via the OpenBenchmarking.org test page.

MinAvgMaxNative Btrfs RAID5857601142mdadm Btrfs2805311141OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 4Kb - File Size: 8GB - Disk Test: Write PerformanceRAID 0RAID 1RAID 10RAID 5RAID 62004006008001000
Native Btrfs RAIDmdadm BtrfsOpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 4Kb - File Size: 8GB - Disk Test: Write PerformanceRAID 0RAID 1RAID 10RAID 5RAID 62004006008001000Min: 1140.46 / Avg: 1142.43 / Max: 1144.46Min: 577.61 / Avg: 584.85 / Max: 589.08Min: 598.67 / Avg: 599.32 / Max: 599.9Min: 876.17 / Avg: 876.77 / Max: 877.66Min: 598.14 / Avg: 598.43 / Max: 598.91Min: 1139.82 / Avg: 1141.18 / Max: 1142.07Min: 279.95 / Avg: 280.39 / Max: 280.61Min: 470.31 / Avg: 478.65 / Max: 483.37Min: 435.87 / Avg: 438.55 / Max: 440.78Min: 313.1 / Avg: 315.85 / Max: 318.191. (CC) gcc options: -O3

Compile Bench

Compilebench tries to age a filesystem by simulating some of the disk IO common in creating, compiling, patching, stating and reading kernel trees. It indirectly measures how well filesystems can maintain directory locality as the disk fills up and directories age. This current test is setup to use the makej mode with 10 initial directories Learn more via the OpenBenchmarking.org test page.

MinAvgMaxNative Btrfs RAID177.5191.3206.7mdadm Btrfs151.6160.7178.3OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateRAID 0RAID 1RAID 10RAID 5RAID 660120180240300
Native Btrfs RAIDmdadm BtrfsOpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateRAID 0RAID 1RAID 10RAID 5RAID 64080120160200Min: 203.24 / Avg: 206.74 / Max: 212.92Min: 169.94 / Avg: 187.72 / Max: 199.26Min: 175.93 / Avg: 177.54 / Max: 178.45Min: 172.56 / Avg: 189.59 / Max: 204.68Min: 190.17 / Avg: 195.02 / Max: 200.17Min: 173.83 / Avg: 178.31 / Max: 187.38Min: 158.81 / Avg: 160.58 / Max: 162.77Min: 145.14 / Avg: 156.97 / Max: 164.32Min: 145.21 / Avg: 156.21 / Max: 167.98Min: 135.96 / Avg: 151.64 / Max: 169.91