Linux 4.17 IO Scheduler Testing

Tests by Michael Larabel for a future article.

HTML result view exported from: https://openbenchmarking.org/result/1806021-AR-LINUX417I05&rdt.

ProcessorMotherboardChipsetMemoryDiskGraphicsMonitorNetworkOSKernelDesktopCompilerFile-SystemScreen ResolutionHDDSSD CFQ DEADLINE Noop Kyber BFQ low_latency BFQ MQ-DEADLINE CFQ DEADLINE Noop Kyber BFQ low_latency BFQ MQ-DEADLINE2 x Intel Xeon Gold 6138 @ 3.70GHz (40 Cores / 80 Threads)TYAN S7106 (V1.00 BIOS)Intel Sky Lake-E DMI3 Registers12 x 8192 MB DDR4-2666MT/s Micron 9ASF1G72PZ-2G6B1256GB Samsung SSD 850 + 2000GB Seagate ST2000DM006-2DM1 + 2 x 120GB TOSHIBA-TR150ASPEED ASPEED FamilyVE228Intel I210 Gigabit ConnectionUbuntu 18.044.17.0-999-generic (x86_64) 20180529GNOME Shell 3.28.1GCC 7.3.0ext41920x1080OpenBenchmarking.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-as=/usr/bin/x86_64-linux-gnu-as --with-default-libstdcxx-abi=new --with-gcc-major-version-only --with-ld=/usr/bin/x86_64-linux-gnu-ld --with-multilib-list=m32,m64,mx32 --with-target-system-zlib --with-tune=generic --without-cuda-driver -v Disk Details- HDD: CFQ: CFQ / relatime,rw- HDD: DEADLINE: DEADLINE / relatime,rw- HDD: Noop: NOOP / relatime,rw- HDD: Kyber: KYBER / relatime,rw- HDD: BFQ low_latency: BFQ / relatime,rw- HDD: BFQ: BFQ / relatime,rw- HDD: MQ-DEADLINE: MQ-DEADLINE / relatime,rw- SSD: CFQ: CFQ / relatime,rw- SSD: DEADLINE: DEADLINE / relatime,rw- SSD: Noop: NOOP / relatime,rw- SSD: Kyber: KYBER / relatime,rw- SSD: BFQ low_latency: BFQ / relatime,rw- SSD: BFQ: BFQ / relatime,rw- SSD: MQ-DEADLINE: MQ-DEADLINE / relatime,rwProcessor Details- Scaling Governor: intel_pstate powersaveSecurity Details- KPTI + __user pointer sanitization + Full generic retpoline Protection

startup-time: Only Seq Reads - GNOME Terminalstartup-time: Seq Reads + Writes - GNOME Terminalsqlite: Timed SQLite Insertionsfio: Rand Read - Linux AIO - No - Yes - 4KB - Default Test Directoryfio: Rand Write - Linux AIO - No - Yes - 4KB - Default Test Directoryfio: Seq Write - Linux AIO - No - Yes - 4KB - Default Test Directoryfs-mark: 1000 Files, 1MB Sizefs-mark: 5000 Files, 1MB Size, 4 Threadsfs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizedbench: 12iozone: 1MB - 8GB - Write Performancepgbench: Buffer Test - Normal Load - Read WriteHDDSSD CFQ DEADLINE Noop Kyber BFQ low_latency BFQ MQ-DEADLINE CFQ DEADLINE Noop Kyber BFQ low_latency BFQ MQ-DEADLINE5.4746.07769.041.571.0519617.4747.8717.3330.53182.55320.965.4839.27707.301.581.0519617.4048.6717.3330.56184.40245.095.4856.56708.381.551.0619817.3748.6717.4030.49183.62253.046.515.22698.821.561.0416817.3747.7317.3727.48174.82511.816.675.24790.191.571.0860.6817.2348.4017.3029.60181.58354.986.755.02705.151.571.0618817.4048.4017.3730.43179.09301.027.045.66716.511.561.0418517.3348.5317.3727.81183.72522.595.5040.8841.5922428141658.0550.4041.42560.4097.122264.965.3454.7042.54227175.7841155.4547.6741.05538.55103.752289.325.2353.6843.4420613340051.1548.5340.98570.93105.592329.096.865.5044.5122418241255.8249.3340.98517.2396.001970.866.955.2650.6821324041747.624740.74486.7194.181961.436.865.2345.1323397.5341655.7349.4741.22486.68102.592301.407.075.4842.9423617141456.2045.8035.80547.1998.691757.42OpenBenchmarking.org

Application Start-up Time

Background I/O Mix: Only Sequential Reads - Application To Start: GNOME Terminal

HDDSSDOpenBenchmarking.orgsec, Fewer Is BetterApplication Start-up Time 2.3.0Background I/O Mix: Only Sequential Reads - Application To Start: GNOME TerminalCFQDEADLINENoopKyberBFQ low_latencyBFQMQ-DEADLINE246810SE +/- 0.02, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.04, N = 3SE +/- 0.09, N = 3SE +/- 0.11, N = 6SE +/- 0.07, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.07, N = 3SE +/- 0.07, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.08, N = 35.475.485.486.516.676.757.045.505.345.236.866.956.867.07

Application Start-up Time

Background I/O Mix: Sequential Reads + Writes - Application To Start: GNOME Terminal

HDDSSDOpenBenchmarking.orgsec, Fewer Is BetterApplication Start-up Time 2.3.0Background I/O Mix: Sequential Reads + Writes - Application To Start: GNOME TerminalCFQDEADLINENoopKyberBFQ low_latencyBFQMQ-DEADLINE1326395265SE +/- 4.33, N = 6SE +/- 2.58, N = 6SE +/- 1.83, N = 6SE +/- 0.09, N = 4SE +/- 0.11, N = 3SE +/- 0.13, N = 6SE +/- 0.06, N = 3SE +/- 1.02, N = 6SE +/- 2.23, N = 6SE +/- 1.76, N = 6SE +/- 0.08, N = 3SE +/- 0.01, N = 3SE +/- 0.07, N = 3SE +/- 0.05, N = 346.0739.2756.565.225.245.025.6640.8854.7053.685.505.265.235.48

SQLite

Timed SQLite Insertions

HDDSSDOpenBenchmarking.orgSeconds, Fewer Is BetterSQLite 3.22Timed SQLite InsertionsCFQDEADLINENoopKyberBFQ low_latencyBFQMQ-DEADLINE2004006008001000SE +/- 60.15, N = 6SE +/- 27.02, N = 6SE +/- 7.08, N = 3SE +/- 10.48, N = 3SE +/- 27.29, N = 6SE +/- 11.30, N = 6SE +/- 2.21, N = 3SE +/- 1.02, N = 6SE +/- 1.06, N = 6SE +/- 1.30, N = 6SE +/- 1.30, N = 6SE +/- 1.37, N = 6SE +/- 0.75, N = 4SE +/- 1.15, N = 6769.04707.30708.38698.82790.19705.15716.5141.5942.5443.4444.5150.6845.1342.941. (CC) gcc options: -O2 -lz -ldl -lpthread

Flexible IO Tester

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

HDDSSDOpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.1Type: Random Read - IO Engine: Linux AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test DirectoryCFQDEADLINENoopKyberBFQ low_latencyBFQMQ-DEADLINE50100150200250SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.88, N = 31.571.581.551.561.571.571.56224.00227.00206.00224.00213.00233.00236.001. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

Flexible IO Tester

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

HDDSSDOpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.1Type: Random Write - IO Engine: Linux AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test DirectoryCFQDEADLINENoopKyberBFQ low_latencyBFQMQ-DEADLINE60120180240300SE +/- 0.05, N = 6SE +/- 0.04, N = 6SE +/- 0.06, N = 6SE +/- 0.04, N = 6SE +/- 0.05, N = 6SE +/- 0.03, N = 6SE +/- 0.04, N = 6SE +/- 0.67, N = 3SE +/- 21.77, N = 6SE +/- 3.68, N = 6SE +/- 17.24, N = 6SE +/- 27.29, N = 6SE +/- 10.50, N = 6SE +/- 26.68, N = 61.051.051.061.041.081.061.04281.00175.78133.00182.00240.0097.53171.001. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

Flexible IO Tester

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

HDDSSDOpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.1Type: Sequential Write - IO Engine: Linux AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test DirectoryCFQDEADLINENoopKyberBFQ low_latencyBFQMQ-DEADLINE90180270360450SE +/- 5.70, N = 6SE +/- 8.75, N = 6SE +/- 5.23, N = 6SE +/- 2.79, N = 6SE +/- 2.33, N = 3SE +/- 6.23, N = 6SE +/- 1.00, N = 3SE +/- 2.00, N = 3SE +/- 6.25, N = 5196.00196.00198.00168.0060.68188.00185.00416.00411.00400.00412.00417.00416.00414.001. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

Flexible IO Tester

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

HDDSSDOpenBenchmarking.orgIOPS, More Is BetterFlexible IO Tester 3.1Type: Sequential Write - IO Engine: Linux AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test DirectoryCFQDEADLINENoopKyberBFQ low_latencyBFQMQ-DEADLINE20K40K60K80K100KSE +/- 290.59, N = 3SE +/- 1472.64, N = 6SE +/- 635.96, N = 3SE +/- 2204.39, N = 6SE +/- 1342.80, N = 6SE +/- 681.99, N = 6SE +/- 554.78, N = 3SE +/- 333.33, N = 3SE +/- 1589.08, N = 6SE +/- 333.33, N = 3SE +/- 666.67, N = 3SE +/- 1641.46, N = 5502675000050533429001553347867472671063331050001022501060001066671063331061201. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

FS-Mark

Test: 1000 Files, 1MB Size

HDDSSDOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeCFQDEADLINENoopKyberBFQ low_latencyBFQMQ-DEADLINE1326395265SE +/- 0.03, N = 3SE +/- 0.06, N = 3SE +/- 0.03, N = 3SE +/- 0.07, N = 3SE +/- 0.03, N = 3SE +/- 0.06, N = 3SE +/- 0.09, N = 3SE +/- 11.06, N = 6SE +/- 10.83, N = 6SE +/- 12.52, N = 6SE +/- 10.65, N = 6SE +/- 10.66, N = 6SE +/- 10.95, N = 6SE +/- 11.35, N = 617.4717.4017.3717.3717.2317.4017.3358.0555.4551.1555.8247.6255.7356.201. (CC) gcc options: -static

FS-Mark

Test: 5000 Files, 1MB Size, 4 Threads

HDDSSDOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 5000 Files, 1MB Size, 4 ThreadsCFQDEADLINENoopKyberBFQ low_latencyBFQMQ-DEADLINE1122334455SE +/- 0.93, N = 3SE +/- 0.13, N = 3SE +/- 0.13, N = 3SE +/- 0.48, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.13, N = 3SE +/- 0.40, N = 3SE +/- 1.74, N = 6SE +/- 0.84, N = 6SE +/- 0.48, N = 3SE +/- 0.67, N = 3SE +/- 0.27, N = 3SE +/- 0.94, N = 647.8748.6748.6747.7348.4048.4048.5350.4047.6748.5349.3347.0049.4745.801. (CC) gcc options: -static

FS-Mark

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

HDDSSDOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 4000 Files, 32 Sub Dirs, 1MB SizeCFQDEADLINENoopKyberBFQ low_latencyBFQMQ-DEADLINE918273645SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.65, N = 6SE +/- 0.56, N = 6SE +/- 0.56, N = 6SE +/- 0.60, N = 5SE +/- 0.62, N = 5SE +/- 0.63, N = 5SE +/- 3.00, N = 617.3317.3317.4017.3717.3017.3717.3741.4241.0540.9840.9840.7441.2235.801. (CC) gcc options: -static

Dbench

Client Count: 12

HDDSSDOpenBenchmarking.orgMB/s, More Is BetterDbench 4.0Client Count: 12CFQDEADLINENoopKyberBFQ low_latencyBFQMQ-DEADLINE120240360480600SE +/- 0.20, N = 3SE +/- 0.59, N = 6SE +/- 0.44, N = 5SE +/- 0.41, N = 3SE +/- 0.31, N = 3SE +/- 0.55, N = 3SE +/- 0.38, N = 3SE +/- 23.57, N = 6SE +/- 21.64, N = 6SE +/- 23.68, N = 6SE +/- 14.65, N = 6SE +/- 14.01, N = 6SE +/- 11.71, N = 6SE +/- 16.76, N = 630.5330.5630.4927.4829.6030.4327.81560.40538.55570.93517.23486.71486.68547.191. (CC) gcc options: -lpopt -O2

IOzone

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

HDDSSDOpenBenchmarking.orgMB/s, More Is BetterIOzone 3.465Record Size: 1MB - File Size: 8GB - Disk Test: Write PerformanceCFQDEADLINENoopKyberBFQ low_latencyBFQMQ-DEADLINE4080120160200SE +/- 0.66, N = 3SE +/- 0.56, N = 3SE +/- 0.27, N = 3SE +/- 0.46, N = 3SE +/- 0.36, N = 3SE +/- 0.46, N = 3SE +/- 0.67, N = 3SE +/- 7.29, N = 6SE +/- 2.83, N = 6SE +/- 2.02, N = 6SE +/- 4.48, N = 6SE +/- 6.06, N = 6SE +/- 2.09, N = 6SE +/- 3.97, N = 6182.55184.40183.62174.82181.58179.09183.7297.12103.75105.5996.0094.18102.5998.691. (CC) gcc options: -O3

PostgreSQL pgbench

Scaling: Buffer Test - Test: Normal Load - Mode: Read Write

HDDSSDOpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 10.3Scaling: Buffer Test - Test: Normal Load - Mode: Read WriteCFQDEADLINENoopKyberBFQ low_latencyBFQMQ-DEADLINE5001000150020002500SE +/- 4.46, N = 6SE +/- 2.62, N = 3SE +/- 2.69, N = 3SE +/- 15.05, N = 6SE +/- 30.15, N = 6SE +/- 4.63, N = 5SE +/- 8.51, N = 6SE +/- 8.35, N = 3SE +/- 16.17, N = 3SE +/- 13.76, N = 3SE +/- 62.04, N = 6SE +/- 39.09, N = 3SE +/- 55.20, N = 6SE +/- 94.63, N = 6320.96245.09253.04511.81354.98301.02522.592264.962289.322329.091970.861961.432301.401757.421. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

Flexible IO Tester

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

OpenBenchmarking.orgIOPS, More Is BetterFlexible IO Tester 3.1Type: Random Read - IO Engine: Linux AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test DirectoryCFQDEADLINENoopKyberBFQ low_latencyBFQMQ-DEADLINE13K26K39K52K65KSE +/- 208.17, N = 3SE +/- 33.33, N = 3573005800052700572335460059700605001. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

Flexible IO Tester

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

OpenBenchmarking.orgIOPS, More Is BetterFlexible IO Tester 3.1Type: Random Write - IO Engine: Linux AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test DirectoryCFQDEADLINENoopKyberBFQ low_latencyBFQMQ-DEADLINE15K30K45K60K75KSE +/- 133.33, N = 3SE +/- 5582.04, N = 6SE +/- 964.51, N = 6SE +/- 4413.84, N = 6SE +/- 7128.44, N = 6SE +/- 2655.36, N = 6SE +/- 6847.96, N = 6720674505033817466006130024783436501. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl


Phoronix Test Suite v10.8.4