I/O Scheduler Testing HDD SSD Linux 4.12

I/O scheduler testing by Michael Larabel for a future article on Phoronix.

HTML result view exported from: https://openbenchmarking.org/result/1706265-TR-IOSCHEDUL10&sor&gru.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLVulkanCompilerFile-SystemScreen ResolutionHDDSSD CFQ Noop Deadline MQ None MQ Kyber MQ BFQ MQ Deadline CFQ Deadline Noop MQ None MQ Deadline MQ Kyber MQ BFQIntel Core i7-7700K @ 4.50GHz (8 Cores)MSI Z270-A PRO (MS-7A71) v1.0Intel Device 591f + Z27016384MB1000GB Western Digital WD10EZRX-00A + Samsung SSD 950 PRO 256GBMSI AMD Radeon RX 470/480 8192MBRealtek ALC892Acer B286HKRealtek RTL8111/8168/8411Ubuntu 17.044.12.0-999-generic (x86_64) 20170618Unity 7.5.0X Server 1.19.3modesetting 1.19.34.5 Mesa 17.2.0-devel- padoka PPA Gallium 0.4 (LLVM 5.0.0)1.0.42GCC 6.3.0 20170406ext43840x2160128GB ADATA SU800 + Samsung SSD 950 PRO 256GBOpenBenchmarking.orgCompiler 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=auto --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-arch-directory=amd64 --with-default-libstdcxx-abi=new --with-multilib-list=m32,m64,mx32 --with-target-system-zlib --with-tune=generic -v Disk Details- HDD: CFQ: CFQ / data=ordered,relatime,rw- HDD: Noop: NOOP / data=ordered,relatime,rw- HDD: Deadline: DEADLINE / data=ordered,relatime,rw- HDD: MQ None: NONE / data=ordered,relatime,rw- HDD: MQ Kyber: KYBER / data=ordered,relatime,rw- HDD: MQ BFQ: BFQ / data=ordered,relatime,rw- HDD: MQ Deadline: MQ-DEADLINE / data=ordered,relatime,rw- SSD: CFQ: CFQ / data=ordered,relatime,rw- SSD: Deadline: DEADLINE / data=ordered,relatime,rw- SSD: Noop: NOOP / data=ordered,relatime,rw- SSD: MQ None: NONE / data=ordered,relatime,rw- SSD: MQ Deadline: MQ-DEADLINE / data=ordered,relatime,rw- SSD: MQ Kyber: KYBER / data=ordered,relatime,rw- SSD: MQ BFQ: BFQ / data=ordered,relatime,rwProcessor Details- Scaling Governor: intel_pstate powersaveSystem Details- Python 2.7.13.

fio: Seq Read - Libaio - No - Yes - 4KB - Default Test Directoryfio: Seq Write - Libaio - No - Yes - 4KB - Default Test Directorydbench: 6iozone: 4Kb - 8GB - Write Performancecompilebench: Initial Createpgbench: On-Disk - Normal Load - Read Writesqlite: Default Test DirectoryHDDSSD CFQ Noop Deadline MQ None MQ Kyber MQ BFQ MQ Deadline CFQ Deadline Noop MQ None MQ Deadline MQ Kyber MQ BFQ78.8272.9138.2270.18515.0571.65341.7078.7167.7340.74142.08498.7171.83338.0481.8667.7838.8969.75486.2566.38337.5646.5335.2938.0368.62547.9973.78336.2341.5820.9337.8064.57534.1476.39338.7846.4921.1521.8566.55536.1934.06818.4043.6622.3038.7374.19544.0661.80337.46448.25258.47339.7846.29501.1039.62402.53231.40334.0441.10514.28854.7639.76392.37272.82331.6849.09531.90666.1037.81210.69188.06335.2741.94531.69795.1438.32283.50170.61332.9948.91552.72790.9238.53234.97145.41334.6449.54588.01880.1838.50290.11229.4156.1751.20560.98768.9251.15OpenBenchmarking.org

Flexible IO Tester

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

SSDHDDOpenBenchmarking.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 DirectoryCFQDeadlineNoopMQ BFQMQ DeadlineMQ KyberMQ None20K40K60K80K100KSE +/- 168.96, N = 3SE +/- 140.58, N = 3SE +/- 56.40, N = 3SE +/- 269.62, N = 3SE +/- 121.94, N = 3SE +/- 8929.58, N = 6SE +/- 477.54, N = 3SE +/- 108.91, N = 3SE +/- 105.30, N = 3SE +/- 321.92, N = 3SE +/- 41.20, N = 3SE +/- 502.38, N = 6SE +/- 423.30, N = 6SE +/- 286.16, N = 61120591006289809072524708725873952670204611970119675116281161910911103911. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lnuma -libverbs -lrt -laio -lz -lm -lpthread -ldl

Flexible IO Tester

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

SSDHDDOpenBenchmarking.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 DirectoryNoopCFQDeadlineMQ BFQMQ NoneMQ DeadlineMQ Kyber15K30K45K60K75KSE +/- 4907.39, N = 6SE +/- 4632.36, N = 6SE +/- 4254.36, N = 6SE +/- 6652.20, N = 6SE +/- 8230.37, N = 6SE +/- 5587.60, N = 6SE +/- 5290.73, N = 6SE +/- 329.04, N = 3SE +/- 245.71, N = 3SE +/- 428.90, N = 6SE +/- 161.26, N = 6SE +/- 138.39, N = 6SE +/- 26.18, N = 3SE +/- 34.02, N = 36820064615578475735047011426503634818223169421692988185572528352291. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lnuma -libverbs -lrt -laio -lz -lm -lpthread -ldl

Flexible IO Tester

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

SSDHDDOpenBenchmarking.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 DirectoryCFQDeadlineNoopMQ BFQMQ DeadlineMQ KyberMQ None100200300400500SE +/- 0.68, N = 3SE +/- 0.56, N = 3SE +/- 0.23, N = 3SE +/- 1.08, N = 3SE +/- 0.49, N = 3SE +/- 35.72, N = 6SE +/- 1.91, N = 3SE +/- 0.44, N = 3SE +/- 0.42, N = 3SE +/- 1.29, N = 3SE +/- 0.17, N = 3SE +/- 2.01, N = 6SE +/- 1.69, N = 6SE +/- 1.14, N = 6448.25402.53392.37290.11283.50234.97210.6981.8678.8278.7146.5346.4943.6641.581. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lnuma -libverbs -lrt -laio -lz -lm -lpthread -ldl

Flexible IO Tester

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

SSDHDDOpenBenchmarking.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 DirectoryNoopCFQDeadlineMQ BFQMQ NoneMQ DeadlineMQ Kyber60120180240300SE +/- 19.63, N = 6SE +/- 18.53, N = 6SE +/- 17.02, N = 6SE +/- 26.61, N = 6SE +/- 32.92, N = 6SE +/- 22.35, N = 6SE +/- 21.16, N = 6SE +/- 1.32, N = 3SE +/- 0.98, N = 3SE +/- 1.72, N = 6SE +/- 0.65, N = 6SE +/- 0.55, N = 6SE +/- 0.10, N = 3SE +/- 0.14, N = 3272.82258.47231.40229.41188.06170.61145.4172.9167.7867.7335.2922.3021.1520.931. (CC) gcc options: -rdynamic -std=gnu99 -O3 -ffast-math -include -lnuma -libverbs -lrt -laio -lz -lm -lpthread -ldl

Dbench

Client Count: 6

SSDHDDOpenBenchmarking.orgMB/s, More Is BetterDbench 4.0Client Count: 6CFQMQ NoneMQ KyberDeadlineMQ DeadlineNoopMQ BFQ70140210280350SE +/- 2.66, N = 3SE +/- 4.65, N = 3SE +/- 0.92, N = 3SE +/- 1.51, N = 3SE +/- 3.70, N = 3SE +/- 1.61, N = 3SE +/- 0.62, N = 3SE +/- 0.45, N = 3SE +/- 0.31, N = 3SE +/- 0.19, N = 3SE +/- 0.74, N = 3SE +/- 0.16, N = 3SE +/- 0.27, N = 3SE +/- 3.69, N = 6339.78335.27334.64334.04332.99331.6856.1740.7438.8938.7338.2238.0337.8021.851. (CC) gcc options: -lpopt -O2

IOzone

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

HDDSSDOpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 4Kb - File Size: 8GB - Disk Test: Write PerformanceNoopMQ DeadlineCFQDeadlineMQ NoneMQ BFQMQ Kyber306090120150SE +/- 0.54, N = 3SE +/- 0.49, N = 3SE +/- 0.75, N = 3SE +/- 0.93, N = 3SE +/- 0.81, N = 3SE +/- 0.87, N = 3SE +/- 0.86, N = 3SE +/- 1.44, N = 6SE +/- 3.19, N = 6SE +/- 2.75, N = 6SE +/- 3.17, N = 6SE +/- 3.07, N = 6SE +/- 3.14, N = 6SE +/- 2.13, N = 6142.0874.1970.1869.7568.6266.5564.5751.2049.5449.0948.9146.2941.9441.101. (CC) gcc options: -O3

Compile Bench

Test: Initial Create

SSDHDDOpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateMQ KyberMQ BFQMQ DeadlineMQ NoneNoopCFQDeadline130260390520650SE +/- 10.08, N = 3SE +/- 13.74, N = 6SE +/- 17.66, N = 6SE +/- 17.28, N = 6SE +/- 14.76, N = 6SE +/- 9.64, N = 3SE +/- 8.17, N = 4SE +/- 20.19, N = 6SE +/- 6.02, N = 3SE +/- 23.07, N = 6SE +/- 25.14, N = 6SE +/- 25.26, N = 6SE +/- 18.12, N = 6SE +/- 25.27, N = 6588.01560.98552.72531.90531.69514.28501.10547.99544.06536.19534.14515.05498.71486.25

PostgreSQL pgbench

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

SSDHDDOpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 9.6.3Scaling: On-Disk - Test: Normal Load - Mode: Read WriteMQ KyberDeadlineMQ NoneMQ DeadlineMQ BFQNoopCFQ2004006008001000880.18854.76795.14790.92768.92666.1076.3973.7871.8371.6566.3861.8034.061. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -fpic -lpgcommon -lpgport -lrt -lcrypt -ldl -lm

SQLite

Test Target: Default Test Directory

SSDHDDOpenBenchmarking.orgSeconds, Fewer Is BetterSQLite 3.8.10.2Test Target: Default Test DirectoryNoopMQ NoneMQ KyberMQ DeadlineCFQDeadlineMQ BFQ2004006008001000SE +/- 2.15, N = 6SE +/- 2.80, N = 6SE +/- 1.40, N = 6SE +/- 2.04, N = 6SE +/- 3.10, N = 6SE +/- 3.77, N = 6SE +/- 4.60, N = 6SE +/- 0.50, N = 3SE +/- 0.46, N = 3SE +/- 0.37, N = 3SE +/- 1.10, N = 3SE +/- 1.44, N = 3SE +/- 4.99, N = 5SE +/- 4.45, N = 337.8138.3238.5038.5339.6239.7651.15336.23337.46337.56338.04338.78341.70818.401. (CC) gcc options: -O2 -ldl -lpthread


Phoronix Test Suite v10.8.5