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&sor&grt.

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

blogbench: Writecompilebench: Compilecompilebench: Initial Createdbench: 12fio: Rand Read - Linux AIO - No - Yes - 2MB - Default Test Directoryfio: Rand Write - Linux AIO - No - Yes - 2MB - Default Test Directoryfio: Seq Read - Linux AIO - No - Yes - 2MB - Default Test Directoryfio: Seq Write - Linux AIO - No - Yes - 2MB - Default Test Directoryfs-mark: 1000 Files, 1MB Sizefs-mark: 5000 Files, 1MB Size, 4 Threadsfs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizecompress-gzip: Linux Source Tree Archiving To .tar.gziozone: 1MB - 8GB - Write Performanceiozone: 4Kb - 8GB - Write Performanceosbench: Create Filespgbench: Mostly RAM - Normal Load - Read Onlypgbench: Mostly RAM - Normal Load - Read Writesqlite: Timed SQLite Insertionsunpack-linux: linux-4.15.tar.xzSingleRAID0RAID1 Btrfs EXT4 F2FS XFS Btrfs EXT4 F2FS XFS Btrfs EXT4 F2FS XFS54011753.94285.69310.901146505942631160.83222.05139.9034.97729.25737.6127.11108580.714303.45111.585.74273301205.48638.18353.521171158627231826173.57229.80104.0034.96678.26670.1612.65112451.345280.7345.115.2074441309.50641.50136.231146155229091763295.53258.47179.7534.42595.87388.0420.42112571.023457.0643.245.5962921399.49520.23333.761152156428721780184.90208.80104.4334.54862.94860.4535.5493888.755526.9644.056.0453373011.17328.09340.842159155121761581164.90446.53110.5233.992179.581872.3727.19201194.533533.85110.455.70487142159.13660.81374.022747336957453642177.67356.27122.9834.911358.801311.0812.54207376.846254.5650.905.3786432455.17706.09139.932319334923213598326.50416.85220.9233.611354.881256.9021.10206821.755967.5143.285.6228622973.84543.81281.472402336951803643195.50426.57191.8733.752369.792360.1944.03218391.416555.0745.146.6453802007.22268.37471.8011277271105712164.97247.07108.5235.241625.991568.2827.83204955.625184.95113.255.71140781036.53627.87299.2316986052802612116.02143.3346.8235.87290.98535.6212.70209072.693409.42165.925.4583071265.95494.11123.792357157645461822282.70272.98164.0334.38563.51336.5321.09216444.713039.7947.555.7253161815.14518.78143.932305157045481821173.73214.2299.7734.261085.611499.2649.31226603.675436.9947.526.49OpenBenchmarking.org

BlogBench

Test: Write

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

Compile Bench

Test: Compile

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

Compile Bench

Test: Initial Create

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

Dbench

Client Count: 12

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

Flexible IO Tester

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

RAID0RAID1SingleOpenBenchmarking.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 DirectoryEXT4XFSF2FSBtrfs6001200180024003000SE +/- 291.88, N = 6SE +/- 10.87, N = 3SE +/- 2.31, N = 3SE +/- 0.33, N = 32747240223192159235723051698112711711152114611461. (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

RAID0SingleRAID1OpenBenchmarking.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 DirectoryXFSEXT4F2FSBtrfs7001400210028003500SE +/- 2.08, N = 3SE +/- 1.45, N = 3SE +/- 0.88, N = 3SE +/- 178.74, N = 6SE +/- 3.71, N = 3SE +/- 4.04, N = 3SE +/- 0.88, N = 3SE +/- 59.31, N = 6SE +/- 3.53, N = 3SE +/- 1.67, N = 3SE +/- 88.05, N = 6SE +/- 1.15, N = 33369336933491551158615641552505157615707276051. (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

RAID0RAID1SingleOpenBenchmarking.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 DirectoryEXT4XFSF2FSBtrfs12002400360048006000SE +/- 1.15, N = 3SE +/- 1.76, N = 3SE +/- 0.33, N = 3SE +/- 7.69, N = 3SE +/- 0.33, N = 3SE +/- 0.58, N = 3SE +/- 0.67, N = 3574551802321217645484546280211052909287227239421. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -lrt -laio -lm -lpthread -ldl

Flexible IO Tester

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

RAID0SingleRAID1OpenBenchmarking.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 DirectoryXFSEXT4F2FSBtrfs8001600240032004000SE +/- 1.20, N = 3SE +/- 3.06, N = 3SE +/- 2.91, N = 3SE +/- 226.33, N = 6SE +/- 0.58, N = 3SE +/- 1.20, N = 3SE +/- 1.86, N = 3SE +/- 7.51, N = 3SE +/- 0.88, N = 3SE +/- 0.67, N = 3SE +/- 93.04, N = 6SE +/- 5.17, N = 33643364235981581182617801763631182218217126121. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -lrt -laio -lm -lpthread -ldl

FS-Mark

Test: 1000 Files, 1MB Size

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

FS-Mark

Test: 5000 Files, 1MB Size, 4 Threads

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

FS-Mark

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

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

Gzip Compression

Linux Source Tree Archiving To .tar.gz

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

IOzone

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

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

IOzone

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

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

OSBench

Test: Create Files

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

PostgreSQL pgbench

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

RAID1RAID0SingleOpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 10.3Scaling: Mostly RAM - Test: Normal Load - Mode: Read OnlyXFSF2FSEXT4Btrfs50K100K150K200K250KSE +/- 62.04, N = 3226603.67216444.71209072.69204955.62218391.41207376.84206821.75201194.53112571.02112451.34108580.7193888.751. (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 Write

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

SQLite

Timed SQLite Insertions

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

Unpacking The Linux Kernel

linux-4.15.tar.xz

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


Phoronix Test Suite v10.8.4