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

MinAvgMaxmdadm Btrfs225688910Native Btrfs RAID233571758OpenBenchmarking.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 1RAID 10RAID 6RAID 5RAID 02004006008001000
mdadm BtrfsNative Btrfs RAIDOpenBenchmarking.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 1RAID 10RAID 6RAID 5RAID 0160320480640800Min: 223.63 / Avg: 224.69 / Max: 226.55Min: 681.46 / Avg: 695.44 / Max: 727.24Min: 789.38 / Avg: 792.61 / Max: 795.36Min: 809.39 / Avg: 816.02 / Max: 827.47Min: 909.19 / Avg: 909.98 / Max: 910.49Min: 231.79 / Avg: 233 / Max: 234.61Min: 444.11 / Avg: 469.1 / Max: 509.6Min: 519 / Avg: 653.54 / Max: 876.56Min: 627.99 / Avg: 742.06 / Max: 932.18Min: 676.41 / Avg: 758.26 / Max: 819.231. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lrt -laio -lz -lm -lpthread -ldl

MinAvgMaxmdadm Btrfs109.2208.8381.5Native Btrfs RAID128.0271.2497.2OpenBenchmarking.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 1RAID 10RAID 6RAID 5RAID 0130260390520650
mdadm BtrfsNative Btrfs RAIDOpenBenchmarking.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 1RAID 10RAID 6RAID 5RAID 090180270360450Min: 105.21 / Avg: 109.22 / Max: 111.45Min: 156.08 / Avg: 159.53 / Max: 163.48Min: 178.06 / Avg: 179.73 / Max: 182.12Min: 212.25 / Avg: 214.31 / Max: 216.21Min: 376.52 / Avg: 381.45 / Max: 386.46Min: 127.42 / Avg: 128 / Max: 128.73Min: 208.13 / Avg: 214.56 / Max: 228.12Min: 242.92 / Avg: 248.93 / Max: 265.01Min: 263.46 / Avg: 267.48 / Max: 271.53Min: 441.36 / Avg: 497.23 / Max: 530.751. (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 1RAID 10RAID 0RAID 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 1RAID 10RAID 0RAID 5RAID 62004006008001000Min: 322.66 / Avg: 323.8 / Max: 325.71Min: 448.04 / Avg: 450.78 / Max: 453.08Min: 760.69 / Avg: 824.97 / Max: 902.14Min: 789.02 / Avg: 869.68 / Max: 999.59Min: 949.67 / Avg: 960.89 / Max: 977.75Min: 818.11 / Avg: 843.68 / Max: 904.63Min: 839.77 / Avg: 854.98 / Max: 864.21Min: 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

MinAvgMaxmdadm Btrfs110.0207.9385.3Native Btrfs RAID130.3234.7319.4OpenBenchmarking.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 1RAID 10RAID 6RAID 5RAID 0100200300400500
mdadm BtrfsNative Btrfs RAIDOpenBenchmarking.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 1RAID 10RAID 6RAID 5RAID 070140210280350Min: 107.54 / Avg: 109.97 / Max: 111.79Min: 160.42 / Avg: 161.9 / Max: 163.86Min: 171.19 / Avg: 172.72 / Max: 175.52Min: 208.63 / Avg: 209.6 / Max: 210.46Min: 380.89 / Avg: 385.34 / Max: 389.36Min: 121.03 / Avg: 130.32 / Max: 136.85Min: 207.38 / Avg: 208.96 / Max: 211.35Min: 241.76 / Avg: 242.55 / Max: 243.13Min: 271.08 / Avg: 272.19 / Max: 273.97Min: 314.69 / Avg: 319.41 / Max: 326.971. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lrt -laio -lz -lm -lpthread -ldl

FS-Mark

MinAvgMaxmdadm Btrfs30.435.039.6Native Btrfs RAID35.138.441.4OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeRAID 6RAID 5RAID 1RAID 10RAID 01122334455
mdadm BtrfsNative Btrfs RAIDOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeRAID 6RAID 5RAID 1RAID 10RAID 0918273645Min: 29.9 / Avg: 30.43 / Max: 31.1Min: 33.1 / Avg: 33.37 / Max: 33.5Min: 33.8 / Avg: 34.03 / Max: 34.4Min: 37.4 / Avg: 37.8 / Max: 38.1Min: 39.2 / Avg: 39.6 / Max: 40Min: 35 / Avg: 35.1 / Max: 35.2Min: 38.1 / Avg: 38.2 / Max: 38.3Min: 37.8 / Avg: 38.33 / Max: 38.9Min: 38.7 / Avg: 38.87 / Max: 39.2Min: 41.1 / Avg: 41.43 / Max: 421. (CC) gcc options: -static

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

MinAvgMaxmdadm Btrfs30.634.539.4Native Btrfs RAID35.638.440.7OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 4000 Files, 32 Sub Dirs, 1MB SizeRAID 6RAID 5RAID 1RAID 10RAID 01122334455
mdadm BtrfsNative Btrfs RAIDOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 4000 Files, 32 Sub Dirs, 1MB SizeRAID 6RAID 5RAID 1RAID 10RAID 0816243240Min: 30.5 / Avg: 30.63 / Max: 30.8Min: 31.9 / Avg: 32.1 / Max: 32.4Min: 33.4 / Avg: 33.43 / Max: 33.5Min: 36.9 / Avg: 36.93 / Max: 37Min: 39.1 / Avg: 39.43 / Max: 39.7Min: 35.6 / Avg: 35.63 / Max: 35.7Min: 37.6 / Avg: 37.73 / Max: 37.8Min: 38 / Avg: 38.5 / Max: 38.8Min: 38.6 / Avg: 39.17 / Max: 39.5Min: 40.7 / Avg: 40.73 / Max: 40.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.

MinAvgMaxmdadm Btrfs2805311141Native Btrfs RAID5857601142OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 4Kb - File Size: 8GB - Disk Test: Write PerformanceRAID 1RAID 6RAID 5RAID 10RAID 02004006008001000
mdadm BtrfsNative Btrfs RAIDOpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 4Kb - File Size: 8GB - Disk Test: Write PerformanceRAID 1RAID 6RAID 5RAID 10RAID 02004006008001000Min: 279.95 / Avg: 280.39 / Max: 280.61Min: 313.1 / Avg: 315.85 / Max: 318.19Min: 435.87 / Avg: 438.55 / Max: 440.78Min: 470.31 / Avg: 478.65 / Max: 483.37Min: 1139.82 / Avg: 1141.18 / Max: 1142.07Min: 577.61 / Avg: 584.85 / Max: 589.08Min: 598.14 / Avg: 598.43 / Max: 598.91Min: 598.67 / Avg: 599.32 / Max: 599.9Min: 876.17 / Avg: 876.77 / Max: 877.66Min: 1140.46 / Avg: 1142.43 / Max: 1144.461. (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.

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