Btrfs RAID Samsung Linux 4.4 Btrfs RAID 0 and RAID 1 benchmarks on Samsung 850 SSDs with the Linux 4.4 kernel and also with various Btrfs mount options. Tests by Michael Larabel for a future article on Phoronix.com.
HTML result view exported from: https://openbenchmarking.org/result/1511261-HA-BTRFSRAID51&rdt&grr .
Btrfs RAID Samsung Linux 4.4 Processor Motherboard Chipset Memory Disk Graphics Audio Monitor Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution Single Disk 2-Disk RAID0 2-Disk RAID1 2-Disk RAID1 + LZO 2-Disk RAID1 + LZO + Nobarrier 2-Disk RAID1 + LZO + Nobarrier + Noatime Intel Core i7-5960X @ 3.50GHz (16 Cores) Gigabyte X99-UD4-CF Intel Xeon E7 v3/Xeon 16384MB 2 x 120GB Samsung SSD 850 + 240GB OCZ VERTEX3 MSI AMD Radeon R7 370 / R9 270/370 OEM 4096MB Realtek ALC1150 DELL P2415Q Intel Connection Ubuntu 15.10 4.4.0-rc2-phoronix (x86_64) 20151123 Unity X Server 1.17.2 radeon 7.6.99 4.1 Mesa 11.1.0-devel (padoka PPA) Gallium 0.4 GCC 5.2.1 20151010 btrfs 3840x2160 OpenBenchmarking.org Compiler Details - --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,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 - Single Disk: DEADLINE / relatime,rw,space_cache,ssd,subvol=/,subvolid=5 - 2-Disk RAID0: DEADLINE / relatime,rw,space_cache,ssd,subvol=/,subvolid=5 / RAID0 - 2-Disk RAID1: DEADLINE / relatime,rw,space_cache,ssd,subvol=/,subvolid=5 / RAID1 - 2-Disk RAID1 + LZO: DEADLINE / compress=lzo,relatime,rw,space_cache,ssd,subvol=/,subvolid=5 / RAID1 - 2-Disk RAID1 + LZO + Nobarrier: DEADLINE / compress=lzo,nobarrier,relatime,rw,space_cache,ssd,subvol=/,subvolid=5 / RAID1 - 2-Disk RAID1 + LZO + Nobarrier + Noatime: DEADLINE / compress=lzo,noatime,nobarrier,rw,space_cache,ssd,subvol=/,subvolid=5 / RAID1 Processor Details - Scaling Governor: intel_pstate powersave System Details - Python 2.7.10.
Btrfs RAID Samsung Linux 4.4 pgbench: On-Disk - Normal Load - Read Write postmark: Disk Transaction Performance compilebench: Initial Create iozone: 4Kb - 8GB - Write Performance iozone: 4Kb - 8GB - Read Performance dbench: 6 fs-mark: 4000 Files, 32 Sub Dirs, 1MB Size fs-mark: 5000 Files, 1MB Size, 4 Threads fs-mark: 1000 Files, 1MB Size fio: Seq Write - POSIX AIO - No - Yes - 4KB - Default Test Directory - MB/s fio: Rand Write - POSIX AIO - No - Yes - 4KB - Default Test Directory - MB/s sqlite: Default Test Directory Single Disk 2-Disk RAID0 2-Disk RAID1 2-Disk RAID1 + LZO 2-Disk RAID1 + LZO + Nobarrier 2-Disk RAID1 + LZO + Nobarrier + Noatime 1805.28 6148 178.24 176.46 6774.63 194.18 77.42 102.90 116.52 79.64 77.35 67.63 2211.63 6049 178.43 422.80 6890.33 177.02 95.47 147.87 176.13 79.29 76.97 75.98 1736.94 6002 160.34 175.40 6762.72 163.88 70.42 94.13 96.27 70.31 65.65 87.95 2236.63 5906 198.24 2045.17 8084.09 198.34 248.03 328.68 238.10 70.71 65.13 91.89 2780.85 5639 185.44 1844.06 8081.60 312.71 299.95 466.63 302.57 69.71 65.14 58.84 2804.63 6000 197.98 2006.29 8393.03 332.63 316.13 574.18 317.55 72.46 67.96 59.13 OpenBenchmarking.org
PostgreSQL pgbench Scaling: On-Disk - Test: Normal Load - Mode: Read Write OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 9.4.3 Scaling: On-Disk - Test: Normal Load - Mode: Read Write Single Disk 2-Disk RAID0 2-Disk RAID1 2-Disk RAID1 + LZO 2-Disk RAID1 + LZO + Nobarrier 2-Disk RAID1 + LZO + Nobarrier + Noatime 600 1200 1800 2400 3000 SE +/- 13.29, N = 3 SE +/- 7.34, N = 3 SE +/- 14.35, N = 3 SE +/- 25.48, N = 3 SE +/- 49.67, N = 3 SE +/- 40.90, N = 4 1805.28 2211.63 1736.94 2236.63 2780.85 2804.63 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -pthread -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm
PostMark Disk Transaction Performance OpenBenchmarking.org TPS, More Is Better PostMark 1.51 Disk Transaction Performance Single Disk 2-Disk RAID0 2-Disk RAID1 2-Disk RAID1 + LZO 2-Disk RAID1 + LZO + Nobarrier 2-Disk RAID1 + LZO + Nobarrier + Noatime 1300 2600 3900 5200 6500 SE +/- 51.00, N = 3 SE +/- 48.33, N = 3 SE +/- 94.67, N = 3 SE +/- 46.33, N = 3 SE +/- 42.00, N = 3 SE +/- 48.33, N = 3 6148 6049 6002 5906 5639 6000 1. (CC) gcc options: -O3
Compile Bench Test: Initial Create OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Initial Create Single Disk 2-Disk RAID0 2-Disk RAID1 2-Disk RAID1 + LZO 2-Disk RAID1 + LZO + Nobarrier 2-Disk RAID1 + LZO + Nobarrier + Noatime 40 80 120 160 200 SE +/- 2.56, N = 3 SE +/- 2.47, N = 6 SE +/- 3.06, N = 6 SE +/- 3.39, N = 4 SE +/- 3.32, N = 6 SE +/- 0.92, N = 3 178.24 178.43 160.34 198.24 185.44 197.98
IOzone Record Size: 4Kb - File Size: 8GB - Disk Test: Write Performance OpenBenchmarking.org MB/s, More Is Better IOzone 3.405 Record Size: 4Kb - File Size: 8GB - Disk Test: Write Performance Single Disk 2-Disk RAID0 2-Disk RAID1 2-Disk RAID1 + LZO 2-Disk RAID1 + LZO + Nobarrier 2-Disk RAID1 + LZO + Nobarrier + Noatime 400 800 1200 1600 2000 SE +/- 4.47, N = 6 SE +/- 12.66, N = 6 SE +/- 3.03, N = 6 SE +/- 38.73, N = 3 SE +/- 23.84, N = 6 SE +/- 28.27, N = 6 176.46 422.80 175.40 2045.17 1844.06 2006.29 1. (CC) gcc options: -O3
IOzone Record Size: 4Kb - File Size: 8GB - Disk Test: Read Performance OpenBenchmarking.org MB/s, More Is Better IOzone 3.405 Record Size: 4Kb - File Size: 8GB - Disk Test: Read Performance Single Disk 2-Disk RAID0 2-Disk RAID1 2-Disk RAID1 + LZO 2-Disk RAID1 + LZO + Nobarrier 2-Disk RAID1 + LZO + Nobarrier + Noatime 2K 4K 6K 8K 10K SE +/- 35.54, N = 3 SE +/- 146.25, N = 6 SE +/- 25.48, N = 3 SE +/- 152.41, N = 6 SE +/- 129.02, N = 3 SE +/- 53.67, N = 3 6774.63 6890.33 6762.72 8084.09 8081.60 8393.03 1. (CC) gcc options: -O3
Dbench Client Count: 6 OpenBenchmarking.org MB/s, More Is Better Dbench 4.0 Client Count: 6 Single Disk 2-Disk RAID0 2-Disk RAID1 2-Disk RAID1 + LZO 2-Disk RAID1 + LZO + Nobarrier 2-Disk RAID1 + LZO + Nobarrier + Noatime 70 140 210 280 350 SE +/- 0.81, N = 3 SE +/- 3.74, N = 6 SE +/- 3.05, N = 3 SE +/- 9.10, N = 6 SE +/- 4.85, N = 5 SE +/- 6.97, N = 6 194.18 177.02 163.88 198.34 312.71 332.63 1. (CC) gcc options: -lpopt -O2
FS-Mark Test: 4000 Files, 32 Sub Dirs, 1MB Size OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 4000 Files, 32 Sub Dirs, 1MB Size Single Disk 2-Disk RAID0 2-Disk RAID1 2-Disk RAID1 + LZO 2-Disk RAID1 + LZO + Nobarrier 2-Disk RAID1 + LZO + Nobarrier + Noatime 70 140 210 280 350 SE +/- 1.68, N = 6 SE +/- 4.50, N = 6 SE +/- 1.91, N = 6 SE +/- 2.92, N = 3 SE +/- 6.24, N = 6 SE +/- 1.84, N = 3 77.42 95.47 70.42 248.03 299.95 316.13 1. (CC) gcc options: -static
FS-Mark Test: 5000 Files, 1MB Size, 4 Threads OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 5000 Files, 1MB Size, 4 Threads Single Disk 2-Disk RAID0 2-Disk RAID1 2-Disk RAID1 + LZO 2-Disk RAID1 + LZO + Nobarrier 2-Disk RAID1 + LZO + Nobarrier + Noatime 120 240 360 480 600 SE +/- 0.35, N = 3 SE +/- 2.30, N = 3 SE +/- 0.87, N = 3 SE +/- 26.96, N = 6 SE +/- 48.41, N = 6 SE +/- 93.29, N = 6 102.90 147.87 94.13 328.68 466.63 574.18 1. (CC) gcc options: -static
FS-Mark Test: 1000 Files, 1MB Size OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 1000 Files, 1MB Size Single Disk 2-Disk RAID0 2-Disk RAID1 2-Disk RAID1 + LZO 2-Disk RAID1 + LZO + Nobarrier 2-Disk RAID1 + LZO + Nobarrier + Noatime 70 140 210 280 350 SE +/- 15.56, N = 6 SE +/- 0.96, N = 3 SE +/- 17.64, N = 6 SE +/- 3.03, N = 3 SE +/- 5.52, N = 3 SE +/- 5.14, N = 4 116.52 176.13 96.27 238.10 302.57 317.55 1. (CC) gcc options: -static
Flexible IO Tester Type: Sequential Write - IO Engine: POSIX AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: MB/s OpenBenchmarking.org MB/s, More Is Better Flexible IO Tester 2.1.13 Type: Sequential Write - IO Engine: POSIX AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: MB/s Single Disk 2-Disk RAID0 2-Disk RAID1 2-Disk RAID1 + LZO 2-Disk RAID1 + LZO + Nobarrier 2-Disk RAID1 + LZO + Nobarrier + Noatime 20 40 60 80 100 SE +/- 0.18, N = 3 SE +/- 0.15, N = 3 SE +/- 0.65, N = 3 SE +/- 0.27, N = 3 SE +/- 1.07, N = 5 SE +/- 0.56, N = 3 79.64 79.29 70.31 70.71 69.71 72.46 1. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -ll -lrt -laio -lz -lm -lpthread -ldl
Flexible IO Tester Type: Random Write - IO Engine: POSIX AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: MB/s OpenBenchmarking.org MB/s, More Is Better Flexible IO Tester 2.1.13 Type: Random Write - IO Engine: POSIX AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test Directory - Result: MB/s Single Disk 2-Disk RAID0 2-Disk RAID1 2-Disk RAID1 + LZO 2-Disk RAID1 + LZO + Nobarrier 2-Disk RAID1 + LZO + Nobarrier + Noatime 20 40 60 80 100 SE +/- 1.07, N = 5 SE +/- 1.48, N = 3 SE +/- 1.73, N = 6 SE +/- 1.37, N = 6 SE +/- 1.97, N = 6 SE +/- 2.41, N = 6 77.35 76.97 65.65 65.13 65.14 67.96 1. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -ll -lrt -laio -lz -lm -lpthread -ldl
SQLite Test Target: Default Test Directory OpenBenchmarking.org Seconds, Fewer Is Better SQLite 3.8.10.2 Test Target: Default Test Directory Single Disk 2-Disk RAID0 2-Disk RAID1 2-Disk RAID1 + LZO 2-Disk RAID1 + LZO + Nobarrier 2-Disk RAID1 + LZO + Nobarrier + Noatime 20 40 60 80 100 SE +/- 0.88, N = 3 SE +/- 0.71, N = 3 SE +/- 6.72, N = 6 SE +/- 8.25, N = 6 SE +/- 4.91, N = 6 SE +/- 7.50, N = 6 67.63 75.98 87.95 91.89 58.84 59.13 1. (CC) gcc options: -O2 -ldl -lpthread
Phoronix Test Suite v10.8.5