Btrfs RAID Linux 4.7 vs. Linux 4.8 Kernel

Btrfs RAID tests on Linux 4.7 kernel. Benchmarks by Michael Larabel for a future article on Phoronix.com.

HTML result view exported from: https://openbenchmarking.org/result/1608155-LO-LINUX48BT84&grt&sor.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkMonitorOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionLinux 4.7Linux 4.8 Single Disk RAID0 4-Disk RAID1 4-Disk RAID10 4-Disk Single Disk RAID0 4-Disk RAID1 4-Disk RAID10 4-DiskIntel Xeon E3-1280 v5 @ 4.00GHz (8 Cores)MSI C236A WORKSTATION (MS-7998) v1.0Intel Skylake16384MB4 x 120GB TOSHIBA-TR150 + Samsung SSD 950 PRO 256GBLLVMpipeRealtek ALC1150Intel ConnectionUbuntu 16.104.7.0-040700-generic (x86_64)Unity 7.5.0X Server 1.18.4modesetting 1.18.43.3 Mesa 12.0.1 Gallium 0.4GCC 6.1.1 20160724btrfs1024x768nouveau 1.0.12Sapphire AMD Radeon R9 FURY / NANO 4096MBAcer B286HK4.8.0-999-generic (x86_64) 20160813modesetting 1.18.44.3 Mesa 12.1.0-devel- padoka PPA Gallium 0.4GCC 6.1.1 201608053840x2160OpenBenchmarking.orgEnvironment Details- Linux 4.7: Single Disk, Linux 4.7: RAID0 4-Disk, Linux 4.7: RAID1 4-Disk, Linux 4.7: RAID10 4-Disk: LIBGL_ALWAYS_SOFTWARE=1Compiler Details- --build=x86_64-linux-gnu --disable-browser-plugin --disable-vtable-verify --disable-werror --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-gnu-unique-object --enable-gtk-cairo --enable-java-awt=gtk --enable-java-home --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --enable-libmpx --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-default-libstdcxx-abi=new --with-multilib-list=m32,m64,mx32 --with-tune=generic -v Disk Details- Linux 4.7: Single Disk: CFQ / relatime,rw,space_cache,ssd,subvol=/,subvolid=5- Linux 4.7: RAID0 4-Disk: CFQ / relatime,rw,space_cache,ssd,subvol=/,subvolid=5 / RAID0- Linux 4.7: RAID1 4-Disk: CFQ / relatime,rw,space_cache,ssd,subvol=/,subvolid=5 / RAID1- Linux 4.7: RAID10 4-Disk: CFQ / relatime,rw,space_cache,ssd,subvol=/,subvolid=5 / RAID10- Linux 4.8: Single Disk: CFQ / relatime,rw,space_cache,ssd,subvol=/,subvolid=5- Linux 4.8: RAID0 4-Disk: CFQ / relatime,rw,space_cache,ssd,subvol=/,subvolid=5 / RAID0- Linux 4.8: RAID1 4-Disk: CFQ / relatime,rw,space_cache,ssd,subvol=/,subvolid=5 / RAID1- Linux 4.8: RAID10 4-Disk: CFQ / relatime,rw,space_cache,ssd,subvol=/,subvolid=5 / RAID10Processor Details- Scaling Governor: intel_pstate performance

blogbench: Writefio: Rand Read - Libaio - No - Yes - 4KB - Default Test Directory - IOPSfio: Rand Read - Libaio - No - Yes - 4KB - Default Test Directory - MB/sfio: Seq Read - Libaio - No - Yes - 4KB - Default Test Directory - IOPSfio: Seq Read - Libaio - No - Yes - 4KB - Default Test Directory - MB/sfio: Seq Write - Libaio - No - Yes - 4KB - Default Test Directory - IOPSfio: Seq Write - Libaio - No - Yes - 4KB - Default Test Directory - MB/sfs-mark: 1000 Files, 1MB Sizefs-mark: 5000 Files, 1MB Size, 4 Threadspgbench: On-Disk - Normal Load - Read WriteLinux 4.7Linux 4.8 Single Disk RAID0 4-Disk RAID1 4-Disk RAID10 4-Disk Single Disk RAID0 4-Disk RAID1 4-Disk RAID10 4-Disk434754548217.5461515248.702482098.5357.3550.001109.057847164240667.68181495738.6938625162.02128.63141.731781.17552171902283.99114380464.2326303116.0187.9760.871186.655974108058431.17162847655.822459690.7139.5067.601494.37493054819217.98115278459.412200998.4962.4349.73984.498467170657685.31182660698.2751224195.51146.72128.871488.76589871253284.64114843459.3033213137.0954.2859.87933.616899106252425.77137363552.7533819130.0268.9870.481401.13OpenBenchmarking.org

BlogBench

Test: Write

Linux 4.8Linux 4.7OpenBenchmarking.orgFinal Score, More Is BetterBlogBench 1.0Test: WriteRAID0 4-DiskRAID10 4-DiskRAID1 4-DiskSingle Disk2K4K6K8K10KSE +/- 117.49, N = 3SE +/- 78.35, N = 3SE +/- 33.83, N = 3SE +/- 42.45, N = 3SE +/- 33.20, N = 3SE +/- 107.82, N = 6SE +/- 71.94, N = 3SE +/- 27.27, N = 3846768995898493078475974552143471. (CC) gcc options: -O2 -pthread

Flexible IO Tester

Type: Random Read - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: IOPS

Linux 4.8Linux 4.7OpenBenchmarking.orgIOPS, More Is BetterFlexible IO Tester 2.1.13Type: Random Read - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: IOPSRAID0 4-DiskRAID10 4-DiskRAID1 4-DiskSingle Disk40K80K120K160K200KSE +/- 3866.50, N = 6SE +/- 584.50, N = 3SE +/- 578.25, N = 3SE +/- 570.71, N = 3SE +/- 2318.54, N = 6SE +/- 136.74, N = 3SE +/- 220.01, N = 3SE +/- 2.31, N = 3170657106252712535481916424010805871902545481. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lrt -laio -lm -lpthread -ldl

Flexible IO Tester

Type: Random Read - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: MB/s

Linux 4.8Linux 4.7OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 2.1.13Type: Random Read - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: MB/sRAID0 4-DiskRAID10 4-DiskRAID1 4-DiskSingle Disk150300450600750SE +/- 15.25, N = 6SE +/- 1.32, N = 3SE +/- 1.69, N = 3SE +/- 0.18, N = 3SE +/- 6.78, N = 3SE +/- 1.06, N = 3SE +/- 0.53, N = 3SE +/- 0.67, N = 3685.31425.77284.64217.98667.68431.17283.99217.541. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lrt -laio -lm -lpthread -ldl

Flexible IO Tester

Type: Sequential Read - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: IOPS

Linux 4.8Linux 4.7OpenBenchmarking.orgIOPS, More Is BetterFlexible IO Tester 2.1.13Type: Sequential Read - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: IOPSRAID0 4-DiskRAID10 4-DiskSingle DiskRAID1 4-Disk40K80K120K160K200KSE +/- 14079.95, N = 6SE +/- 2723.43, N = 3SE +/- 242.39, N = 3SE +/- 393.37, N = 3SE +/- 6401.96, N = 6SE +/- 2065.31, N = 3SE +/- 8687.82, N = 6SE +/- 476.70, N = 3182660137363115278114843181495162847114380615151. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lrt -laio -lm -lpthread -ldl

Flexible IO Tester

Type: Sequential Read - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: MB/s

Linux 4.7Linux 4.8OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 2.1.13Type: Sequential Read - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: MB/sRAID0 4-DiskRAID10 4-DiskRAID1 4-DiskSingle Disk160320480640800SE +/- 28.61, N = 6SE +/- 7.86, N = 3SE +/- 34.75, N = 6SE +/- 1.20, N = 3SE +/- 32.95, N = 6SE +/- 3.83, N = 3SE +/- 2.13, N = 3SE +/- 2.23, N = 3738.69655.82464.23248.70698.27552.75459.41459.301. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lrt -laio -lm -lpthread -ldl

Flexible IO Tester

Type: Sequential Write - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: IOPS

Linux 4.8Linux 4.7OpenBenchmarking.orgIOPS, More Is BetterFlexible IO Tester 2.1.13Type: Sequential Write - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: IOPSRAID0 4-DiskRAID10 4-DiskRAID1 4-DiskSingle Disk11K22K33K44K55KSE +/- 1479.30, N = 6SE +/- 5806.42, N = 6SE +/- 216.17, N = 3SE +/- 435.52, N = 3SE +/- 2265.53, N = 6SE +/- 3241.71, N = 6SE +/- 1398.72, N = 6SE +/- 3609.36, N = 651224338193321322009386252630324820245961. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lrt -laio -lm -lpthread -ldl

Flexible IO Tester

Type: Sequential Write - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: MB/s

Linux 4.8Linux 4.7OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 2.1.13Type: Sequential Write - IO Engine: Libaio - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: MB/sRAID0 4-DiskRAID1 4-DiskRAID10 4-DiskSingle Disk4080120160200SE +/- 14.89, N = 6SE +/- 14.98, N = 6SE +/- 16.26, N = 6SE +/- 4.78, N = 6SE +/- 9.67, N = 6SE +/- 13.74, N = 6SE +/- 6.30, N = 6SE +/- 14.55, N = 6195.51137.09130.0298.49162.02116.0198.5390.711. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lrt -laio -lm -lpthread -ldl

FS-Mark

Test: 1000 Files, 1MB Size

Linux 4.8Linux 4.7OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeRAID0 4-DiskRAID1 4-DiskRAID10 4-DiskSingle Disk306090120150SE +/- 19.26, N = 6SE +/- 11.16, N = 6SE +/- 11.78, N = 6SE +/- 2.64, N = 6SE +/- 25.56, N = 6SE +/- 23.15, N = 6SE +/- 9.98, N = 6SE +/- 0.23, N = 3146.7268.9862.4354.28128.6387.9757.3539.501. (CC) gcc options: -static

FS-Mark

Test: 5000 Files, 1MB Size, 4 Threads

Linux 4.7Linux 4.8OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 5000 Files, 1MB Size, 4 ThreadsRAID0 4-DiskRAID10 4-DiskRAID1 4-DiskSingle Disk306090120150SE +/- 4.87, N = 6SE +/- 0.90, N = 6SE +/- 1.37, N = 6SE +/- 0.61, N = 3SE +/- 3.19, N = 6SE +/- 1.10, N = 5SE +/- 1.61, N = 6SE +/- 0.93, N = 3141.7367.6060.8750.00128.8770.4859.8749.731. (CC) gcc options: -static

PostgreSQL pgbench

Scaling: On-Disk - Test: Normal Load - Mode: Read Write

Linux 4.7Linux 4.8OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 9.4.3Scaling: On-Disk - Test: Normal Load - Mode: Read WriteRAID0 4-DiskRAID10 4-DiskRAID1 4-DiskSingle Disk400800120016002000SE +/- 342.91, N = 4SE +/- 144.78, N = 6SE +/- 134.16, N = 6SE +/- 3.93, N = 31781.171494.371186.651109.051488.761401.13984.49933.611. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -pthread -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm


Phoronix Test Suite v10.8.5