Samsung 960 EVO Linux RAID Benchmarks

Samsung 960 EVO RAID0 and RAID1 dual drive Btrfs XFS EXT4 F2FS Linux RAID performance benchmarks on 4.16 kernel. Benchmarks by Michael Larabel for a future article on Phoronix.com.

HTML result view exported from: https://openbenchmarking.org/result/1803273-FO-SAMSUNG9663&grr&sro&rro.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerOpenGLCompilerFile-SystemScreen ResolutionSingleRAID0RAID1 Btrfs EXT4 F2FS XFS Btrfs EXT4 F2FS XFS Btrfs EXT4 F2FS XFSIntel Core i9-7980XE @ 4.40GHz (18 Cores / 36 Threads)ASUS PRIME X299-A (1004 BIOS)Intel Sky Lake-E DMI3 Registers4 x 4096 MB DDR4-3200MT/s Corsair CMK16GX4M4C3200C16256GB INTEL SSDPEKKW256G8 + Samsung SSD 960 EVO 500GBNV136 6144MBRealtek ALC1220Acer B286HKIntel ConnectionUbuntu 18.044.16.0-999-generic (x86_64) 20180324GNOME Shell 3.28.0X Server 1.19.64.3 Mesa 18.0.0-rc5GCC 7.3.0btrfs3840x2160ext4f2fsxfs256GB INTEL SSDPEKKW256G8 + 2 x Samsung SSD 960 EVO 500GBbtrfsext4f2fsxfsbtrfsext4f2fsxfsOpenBenchmarking.orgCompiler Details- --build=x86_64-linux-gnu --disable-vtable-verify --disable-werror --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-gnu-unique-object --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --enable-libmpx --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc=auto --enable-offload-targets=nvptx-none --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --program-prefix=x86_64-linux-gnu- --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-default-libstdcxx-abi=new --with-gcc-major-version-only --with-multilib-list=m32,m64,mx32 --with-target-system-zlib --with-tune=generic --without-cuda-driver -v Disk Details- Single: Btrfs: NONE / relatime,rw,space_cache,ssd,subvol=/,subvolid=5- Single: EXT4: NONE / data=ordered,relatime,rw- Single: F2FS: NONE / acl,active_logs=6,background_gc=on,extent_cache,flush_merge,inline_data,inline_dentry,inline_xattr,lazytime,mode=adaptive,no_heap,relatime,rw,user_xattr- Single: XFS: NONE / attr2,inode64,noquota,relatime,rw- RAID0: Btrfs: NONE / relatime,rw,space_cache,ssd,subvol=/,subvolid=5 / RAID0- RAID0: EXT4: NONE / data=ordered,relatime,rw,stripe=256 / raid0 nvme2n1[1] nvme1n1[0]- RAID0: F2FS: NONE / acl,active_logs=6,background_gc=on,extent_cache,flush_merge,inline_data,inline_dentry,inline_xattr,lazytime,mode=adaptive,no_heap,relatime,rw,user_xattr / raid0 nvme2n1[1] nvme1n1[0] - RAID0: XFS: NONE / attr2,inode64,noquota,relatime,rw,sunit=1024,swidth=2048 / raid0 nvme2n1[1] nvme1n1[0]- RAID1: Btrfs: NONE / relatime,rw,space_cache,ssd,subvol=/,subvolid=5 / RAID1- RAID1: EXT4: NONE / data=ordered,relatime,rw / raid1 nvme2n1[1] nvme1n1[0]- RAID1: F2FS: NONE / acl,active_logs=6,background_gc=on,extent_cache,flush_merge,inline_data,inline_dentry,inline_xattr,lazytime,mode=adaptive,no_heap,relatime,rw,user_xattr / raid1 nvme1n1[1] nvme2n1[0] - RAID1: XFS: NONE / attr2,inode64,noquota,relatime,rw / raid1 nvme1n1[0] nvme2n1[1]Processor Details- Scaling Governor: intel_pstate powersavePython Details- Python 2.7.14+ + Python 3.6.5rc1Security Details- KPTI + __user pointer sanitization + Full generic retpoline Protection

osbench: Create Filespgbench: Mostly RAM - Normal Load - Read Writepgbench: Mostly RAM - Normal Load - Read Onlycompress-gzip: Linux Source Tree Archiving To .tar.gzunpack-linux: linux-4.15.tar.xzcompilebench: Initial Createcompilebench: Compileiozone: 4Kb - 8GB - Write Performanceiozone: 1MB - 8GB - Write Performancedbench: 12blogbench: Writefs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizefs-mark: 5000 Files, 1MB Size, 4 Threadsfs-mark: 1000 Files, 1MB Sizefio: Seq Write - Linux AIO - No - Yes - 2MB - Default Test Directoryfio: Seq Read - Linux AIO - No - Yes - 2MB - Default Test Directoryfio: Rand Write - Linux AIO - No - Yes - 2MB - Default Test Directoryfio: Rand Read - Linux AIO - No - Yes - 2MB - Default Test Directorysqlite: Timed SQLite InsertionsSingleRAID0RAID1 Btrfs EXT4 F2FS XFS Btrfs EXT4 F2FS XFS Btrfs EXT4 F2FS XFS27.114303.45108580.7134.975.74285.691753.94737.61729.25310.905401139.90222.05160.836319425051146111.5812.655280.73112451.3434.965.20638.181205.48670.16678.26353.5227330104.00229.80173.57182627231586117145.1120.423457.06112571.0234.425.59641.501309.50388.04595.87136.237444179.75258.47295.53176329091552114643.2435.545526.9693888.7534.546.04520.231399.49860.45862.94333.766292104.43208.80184.90178028721564115244.0527.193533.85201194.5333.995.70328.093011.171872.372179.58340.845337110.52446.53164.901581217615512159110.4512.546254.56207376.8434.915.37660.812159.131311.081358.80374.0248714122.98356.27177.67364257453369274750.9021.105967.51206821.7533.615.62706.092455.171256.901354.88139.938643220.92416.85326.50359823213349231943.2844.036555.07218391.4133.756.64543.812973.842360.192369.79281.472862191.87426.57195.50364351803369240245.1427.835184.95204955.6235.245.71268.372007.221568.281625.99471.805380108.52247.07164.9771211057271127113.2512.703409.42209072.6935.875.45627.871036.53535.62290.98299.231407846.82143.33116.0261228026051698165.9221.093039.79216444.7134.385.72494.111265.95336.53563.51123.798307164.03272.98282.70182245461576235747.5549.315436.99226603.6734.266.49518.781815.141499.261085.61143.93531699.77214.22173.73182145481570230547.52OpenBenchmarking.org

OSBench

Test: Create Files

SingleRAID1RAID0OpenBenchmarking.orgus Per Event, Fewer Is BetterOSBenchTest: Create FilesXFSF2FSEXT4Btrfs1122334455SE +/- 2.58, N = 6SE +/- 1.45, N = 6SE +/- 0.04, N = 3SE +/- 0.19, N = 3SE +/- 5.88, N = 6SE +/- 1.55, N = 6SE +/- 0.04, N = 3SE +/- 0.36, N = 3SE +/- 4.57, N = 6SE +/- 1.52, N = 6SE +/- 0.02, N = 3SE +/- 0.16, N = 335.5420.4212.6527.1149.3121.0912.7027.8344.0321.1012.5427.191. (CC) gcc options:

PostgreSQL pgbench

Scaling: Mostly RAM - Test: Normal Load - Mode: Read Write

SingleRAID1RAID0OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 10.3Scaling: Mostly RAM - Test: Normal Load - Mode: Read WriteXFSF2FSEXT4Btrfs14002800420056007000SE +/- 95.10, N = 45526.963457.065280.734303.455436.993039.793409.425184.956555.075967.516254.563533.851. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

PostgreSQL pgbench

Scaling: Mostly RAM - Test: Normal Load - Mode: Read Only

SingleRAID1RAID0OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 10.3Scaling: Mostly RAM - Test: Normal Load - Mode: Read OnlyXFSF2FSEXT4Btrfs50K100K150K200K250KSE +/- 62.04, N = 393888.75112571.02112451.34108580.71226603.67216444.71209072.69204955.62218391.41206821.75207376.84201194.531. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

Gzip Compression

Linux Source Tree Archiving To .tar.gz

SingleRAID1RAID0OpenBenchmarking.orgSeconds, Fewer Is BetterGzip CompressionLinux Source Tree Archiving To .tar.gzXFSF2FSEXT4Btrfs816243240SE +/- 0.12, N = 3SE +/- 0.50, N = 5SE +/- 0.09, N = 3SE +/- 0.47, N = 3SE +/- 0.51, N = 4SE +/- 0.53, N = 4SE +/- 0.54, N = 3SE +/- 0.58, N = 4SE +/- 0.53, N = 3SE +/- 0.41, N = 3SE +/- 0.12, N = 3SE +/- 0.47, N = 634.5434.4234.9634.9734.2634.3835.8735.2433.7533.6134.9133.99

Unpacking The Linux Kernel

linux-4.15.tar.xz

SingleRAID1RAID0OpenBenchmarking.orgSeconds, Fewer Is BetterUnpacking The Linux Kernellinux-4.15.tar.xzXFSF2FSEXT4Btrfs246810SE +/- 0.15, N = 8SE +/- 0.04, N = 4SE +/- 0.01, N = 4SE +/- 0.03, N = 4SE +/- 0.16, N = 8SE +/- 0.02, N = 4SE +/- 0.01, N = 4SE +/- 0.04, N = 4SE +/- 0.15, N = 8SE +/- 0.04, N = 4SE +/- 0.07, N = 4SE +/- 0.05, N = 46.045.595.205.746.495.725.455.716.645.625.375.70

Compile Bench

Test: Initial Create

SingleRAID1RAID0OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateXFSF2FSEXT4Btrfs150300450600750SE +/- 4.60, N = 3SE +/- 35.40, N = 3SE +/- 9.29, N = 3SE +/- 7.15, N = 3SE +/- 1.88, N = 3SE +/- 20.47, N = 3SE +/- 8.70, N = 3SE +/- 1.71, N = 3SE +/- 2.83, N = 3SE +/- 4.53, N = 3SE +/- 3.32, N = 3SE +/- 10.30, N = 3520.23641.50638.18285.69518.78494.11627.87268.37543.81706.09660.81328.09

Compile Bench

Test: Compile

SingleRAID1RAID0OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileXFSF2FSEXT4Btrfs6001200180024003000SE +/- 50.02, N = 6SE +/- 16.67, N = 3SE +/- 57.92, N = 6SE +/- 55.85, N = 6SE +/- 120.63, N = 6SE +/- 16.55, N = 3SE +/- 70.69, N = 6SE +/- 134.93, N = 6SE +/- 95.92, N = 6SE +/- 210.26, N = 6SE +/- 61.58, N = 6SE +/- 44.00, N = 31399.491309.501205.481753.941815.141265.951036.532007.222973.842455.172159.133011.17

IOzone

Record Size: 4Kb - File Size: 8GB - Disk Test: Write Performance

SingleRAID1RAID0OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.465Record Size: 4Kb - File Size: 8GB - Disk Test: Write PerformanceXFSF2FSEXT4Btrfs5001000150020002500SE +/- 4.43, N = 3SE +/- 75.22, N = 6SE +/- 41.99, N = 6SE +/- 44.62, N = 6SE +/- 15.99, N = 3SE +/- 52.07, N = 6SE +/- 23.19, N = 6SE +/- 8.75, N = 3SE +/- 36.42, N = 3SE +/- 87.51, N = 6SE +/- 101.51, N = 6SE +/- 5.51, N = 3860.45388.04670.16737.611499.26336.53535.621568.282360.191256.901311.081872.371. (CC) gcc options: -O3

IOzone

Record Size: 1MB - File Size: 8GB - Disk Test: Write Performance

SingleRAID1RAID0OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.465Record Size: 1MB - File Size: 8GB - Disk Test: Write PerformanceXFSF2FSEXT4Btrfs5001000150020002500SE +/- 8.56, N = 3SE +/- 44.79, N = 6SE +/- 42.34, N = 6SE +/- 33.51, N = 6SE +/- 214.99, N = 6SE +/- 66.37, N = 6SE +/- 68.00, N = 6SE +/- 14.72, N = 3SE +/- 192.93, N = 6SE +/- 177.96, N = 6SE +/- 137.83, N = 6SE +/- 391.13, N = 6862.94595.87678.26729.251085.61563.51290.981625.992369.791354.881358.802179.581. (CC) gcc options: -O3

Dbench

Client Count: 12

SingleRAID1RAID0OpenBenchmarking.orgMB/s, More Is BetterDbench 4.0Client Count: 12XFSF2FSEXT4Btrfs100200300400500SE +/- 21.09, N = 6SE +/- 0.74, N = 3SE +/- 3.12, N = 3SE +/- 2.88, N = 3SE +/- 4.17, N = 6SE +/- 1.17, N = 3SE +/- 1.44, N = 3SE +/- 1.17, N = 3SE +/- 13.23, N = 6SE +/- 0.09, N = 3SE +/- 3.95, N = 3SE +/- 1.94, N = 3333.76136.23353.52310.90143.93123.79299.23471.80281.47139.93374.02340.841. (CC) gcc options: -lpopt -O2

BlogBench

Test: Write

SingleRAID1RAID0OpenBenchmarking.orgFinal Score, More Is BetterBlogBench 1.0Test: WriteXFSF2FSEXT4Btrfs10K20K30K40K50KSE +/- 31.78, N = 3SE +/- 709.05, N = 6SE +/- 1288.79, N = 6SE +/- 12.41, N = 3SE +/- 90.65, N = 3SE +/- 690.66, N = 6SE +/- 184.39, N = 3SE +/- 46.46, N = 3SE +/- 306.61, N = 6SE +/- 133.68, N = 4SE +/- 262.80, N = 3SE +/- 37.47, N = 36292744427330540153168307140785380286286434871453371. (CC) gcc options: -O2 -pthread

FS-Mark

Test: 4000 Files, 32 Sub Dirs, 1MB Size

SingleRAID1RAID0OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 4000 Files, 32 Sub Dirs, 1MB SizeXFSF2FSEXT4Btrfs50100150200250SE +/- 7.34, N = 6SE +/- 16.19, N = 6SE +/- 8.87, N = 6SE +/- 6.90, N = 6SE +/- 7.22, N = 6SE +/- 15.78, N = 6SE +/- 6.58, N = 6SE +/- 8.51, N = 6SE +/- 0.54, N = 3SE +/- 28.10, N = 6SE +/- 12.91, N = 6SE +/- 11.85, N = 6104.43179.75104.00139.9099.77164.0346.82108.52191.87220.92122.98110.521. (CC) gcc options: -static

FS-Mark

Test: 5000 Files, 1MB Size, 4 Threads

SingleRAID1RAID0OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 5000 Files, 1MB Size, 4 ThreadsXFSF2FSEXT4Btrfs100200300400500SE +/- 8.47, N = 6SE +/- 17.62, N = 6SE +/- 22.41, N = 6SE +/- 13.06, N = 6SE +/- 27.22, N = 6SE +/- 57.28, N = 6SE +/- 1.75, N = 3SE +/- 35.15, N = 6SE +/- 3.54, N = 3SE +/- 84.68, N = 6SE +/- 64.94, N = 6SE +/- 62.72, N = 6208.80258.47229.80222.05214.22272.98143.33247.07426.57416.85356.27446.531. (CC) gcc options: -static

FS-Mark

Test: 1000 Files, 1MB Size

SingleRAID1RAID0OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeXFSF2FSEXT4Btrfs70140210280350SE +/- 0.38, N = 3SE +/- 0.53, N = 3SE +/- 1.62, N = 3SE +/- 0.52, N = 3SE +/- 0.63, N = 3SE +/- 0.95, N = 3SE +/- 15.94, N = 6SE +/- 0.19, N = 3SE +/- 1.25, N = 3SE +/- 1.77, N = 3SE +/- 1.59, N = 3SE +/- 2.30, N = 3184.90295.53173.57160.83173.73282.70116.02164.97195.50326.50177.67164.901. (CC) gcc options: -static

Flexible IO Tester

Type: Sequential Write - IO Engine: Linux AIO - Buffered: No - Direct: Yes - Block Size: 2MB - Disk Target: Default Test Directory

SingleRAID1RAID0OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.1Type: Sequential Write - IO Engine: Linux AIO - Buffered: No - Direct: Yes - Block Size: 2MB - Disk Target: Default Test DirectoryXFSF2FSEXT4Btrfs8001600240032004000SE +/- 1.20, N = 3SE +/- 1.86, N = 3SE +/- 0.58, N = 3SE +/- 7.51, N = 3SE +/- 0.67, N = 3SE +/- 0.88, N = 3SE +/- 5.17, N = 3SE +/- 93.04, N = 6SE +/- 1.20, N = 3SE +/- 2.91, N = 3SE +/- 3.06, N = 3SE +/- 226.33, N = 61780176318266311821182261271236433598364215811. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -lrt -laio -lm -lpthread -ldl

Flexible IO Tester

Type: Sequential Read - IO Engine: Linux AIO - Buffered: No - Direct: Yes - Block Size: 2MB - Disk Target: Default Test Directory

SingleRAID1RAID0OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.1Type: Sequential Read - IO Engine: Linux AIO - Buffered: No - Direct: Yes - Block Size: 2MB - Disk Target: Default Test DirectoryXFSF2FSEXT4Btrfs12002400360048006000SE +/- 0.58, N = 3SE +/- 0.67, N = 3SE +/- 7.69, N = 3SE +/- 0.33, N = 3SE +/- 1.76, N = 3SE +/- 1.15, N = 3SE +/- 0.33, N = 3287229092723942454845462802110551802321574521761. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -lrt -laio -lm -lpthread -ldl

Flexible IO Tester

Type: Random Write - IO Engine: Linux AIO - Buffered: No - Direct: Yes - Block Size: 2MB - Disk Target: Default Test Directory

SingleRAID1RAID0OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.1Type: Random Write - IO Engine: Linux AIO - Buffered: No - Direct: Yes - Block Size: 2MB - Disk Target: Default Test DirectoryXFSF2FSEXT4Btrfs7001400210028003500SE +/- 4.04, N = 3SE +/- 0.88, N = 3SE +/- 3.71, N = 3SE +/- 59.31, N = 6SE +/- 1.67, N = 3SE +/- 3.53, N = 3SE +/- 1.15, N = 3SE +/- 88.05, N = 6SE +/- 2.08, N = 3SE +/- 0.88, N = 3SE +/- 1.45, N = 3SE +/- 178.74, N = 61564155215865051570157660572733693349336915511. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -lrt -laio -lm -lpthread -ldl

Flexible IO Tester

Type: Random Read - IO Engine: Linux AIO - Buffered: No - Direct: Yes - Block Size: 2MB - Disk Target: Default Test Directory

SingleRAID1RAID0OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.1Type: Random Read - IO Engine: Linux AIO - Buffered: No - Direct: Yes - Block Size: 2MB - Disk Target: Default Test DirectoryXFSF2FSEXT4Btrfs6001200180024003000SE +/- 0.33, N = 3SE +/- 10.87, N = 3SE +/- 2.31, N = 3SE +/- 291.88, N = 61152114611711146230523571698112724022319274721591. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -lrt -laio -lm -lpthread -ldl

SQLite

Timed SQLite Insertions

SingleRAID1RAID0OpenBenchmarking.orgSeconds, Fewer Is BetterSQLite 3.22Timed SQLite InsertionsXFSF2FSEXT4Btrfs4080120160200SE +/- 0.25, N = 3SE +/- 0.04, N = 3SE +/- 0.24, N = 3SE +/- 0.30, N = 3SE +/- 0.08, N = 3SE +/- 0.36, N = 3SE +/- 0.26, N = 3SE +/- 0.05, N = 3SE +/- 0.12, N = 3SE +/- 0.06, N = 3SE +/- 0.77, N = 3SE +/- 0.08, N = 344.0543.2445.11111.5847.5247.55165.92113.2545.1443.2850.90110.451. (CC) gcc options: -O2 -ldl -lpthread


Phoronix Test Suite v10.8.5