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.

ProcessorMotherboardChipsetMemoryDiskGraphicsMonitorNetworkOSKernelDesktopCompilerFile-SystemScreen ResolutionHDDSSD BFQ BFQ low_latency CFQ DEADLINE Kyber MQ-DEADLINE Noop BFQ BFQ low_latency CFQ DEADLINE Kyber MQ-DEADLINE Noop2 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: BFQ: BFQ / relatime,rw- HDD: BFQ low_latency: BFQ / relatime,rw- HDD: CFQ: CFQ / relatime,rw- HDD: DEADLINE: DEADLINE / relatime,rw- HDD: Kyber: KYBER / relatime,rw- HDD: MQ-DEADLINE: MQ-DEADLINE / relatime,rw- HDD: Noop: NOOP / relatime,rw- SSD: BFQ: BFQ / relatime,rw- SSD: BFQ low_latency: BFQ / relatime,rw- SSD: CFQ: CFQ / relatime,rw- SSD: DEADLINE: DEADLINE / relatime,rw- SSD: Kyber: KYBER / relatime,rw- SSD: MQ-DEADLINE: MQ-DEADLINE / relatime,rw- SSD: Noop: NOOP / 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 BFQ BFQ low_latency CFQ DEADLINE Kyber MQ-DEADLINE Noop BFQ BFQ low_latency CFQ DEADLINE Kyber MQ-DEADLINE Noop6.755.02705.151.571.0618817.4048.4017.3730.43179.09301.026.675.24790.191.571.0860.6817.2348.4017.3029.60181.58354.985.4746.07769.041.571.0519617.4747.8717.3330.53182.55320.965.4839.27707.301.581.0519617.4048.6717.3330.56184.40245.096.515.22698.821.561.0416817.3747.7317.3727.48174.82511.817.045.66716.511.561.0418517.3348.5317.3727.81183.72522.595.4856.56708.381.551.0619817.3748.6717.4030.49183.62253.046.865.2345.1323397.5341655.7349.4741.22486.68102.592301.406.955.2650.6821324041747.624740.74486.7194.181961.435.5040.8841.5922428141658.0550.4041.42560.4097.122264.965.3454.7042.54227175.7841155.4547.6741.05538.55103.752289.326.865.5044.5122418241255.8249.3340.98517.2396.001970.867.075.4842.9423617141456.2045.8035.80547.1998.691757.425.2353.6843.4420613340051.1548.5340.98570.93105.592329.09OpenBenchmarking.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 TerminalBFQBFQ low_latencyCFQDEADLINEKyberMQ-DEADLINENoop246810SE +/- 0.11, N = 6SE +/- 0.09, N = 3SE +/- 0.02, N = 3SE +/- 0.00, N = 3SE +/- 0.04, N = 3SE +/- 0.07, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.07, N = 3SE +/- 0.08, N = 3SE +/- 0.07, N = 36.756.675.475.486.517.045.486.866.955.505.346.867.075.23

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 TerminalBFQBFQ low_latencyCFQDEADLINEKyberMQ-DEADLINENoop1326395265SE +/- 0.13, N = 6SE +/- 0.11, N = 3SE +/- 4.33, N = 6SE +/- 2.58, N = 6SE +/- 0.09, N = 4SE +/- 0.06, N = 3SE +/- 1.83, N = 6SE +/- 0.07, N = 3SE +/- 0.01, N = 3SE +/- 1.02, N = 6SE +/- 2.23, N = 6SE +/- 0.08, N = 3SE +/- 0.05, N = 3SE +/- 1.76, N = 65.025.2446.0739.275.225.6656.565.235.2640.8854.705.505.4853.68

SQLite

Timed SQLite Insertions

HDDSSDOpenBenchmarking.orgSeconds, Fewer Is BetterSQLite 3.22Timed SQLite InsertionsBFQBFQ low_latencyCFQDEADLINEKyberMQ-DEADLINENoop2004006008001000SE +/- 11.30, N = 6SE +/- 27.29, N = 6SE +/- 60.15, N = 6SE +/- 27.02, N = 6SE +/- 10.48, N = 3SE +/- 2.21, N = 3SE +/- 7.08, N = 3SE +/- 0.75, N = 4SE +/- 1.37, N = 6SE +/- 1.02, N = 6SE +/- 1.06, N = 6SE +/- 1.30, N = 6SE +/- 1.15, N = 6SE +/- 1.30, N = 6705.15790.19769.04707.30698.82716.51708.3845.1350.6841.5942.5444.5142.9443.441. (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 DirectoryBFQBFQ low_latencyCFQDEADLINEKyberMQ-DEADLINENoop50100150200250SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.88, N = 31.571.571.571.581.561.561.55233.00213.00224.00227.00224.00236.00206.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 DirectoryBFQBFQ low_latencyCFQDEADLINEKyberMQ-DEADLINENoop60120180240300SE +/- 0.03, N = 6SE +/- 0.05, N = 6SE +/- 0.05, N = 6SE +/- 0.04, N = 6SE +/- 0.04, N = 6SE +/- 0.04, N = 6SE +/- 0.06, N = 6SE +/- 10.50, N = 6SE +/- 27.29, N = 6SE +/- 0.67, N = 3SE +/- 21.77, N = 6SE +/- 17.24, N = 6SE +/- 26.68, N = 6SE +/- 3.68, N = 61.061.081.051.051.041.041.0697.53240.00281.00175.78182.00171.00133.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 DirectoryBFQBFQ low_latencyCFQDEADLINEKyberMQ-DEADLINENoop90180270360450SE +/- 2.79, N = 6SE +/- 5.23, N = 6SE +/- 5.70, N = 6SE +/- 8.75, N = 6SE +/- 2.33, N = 3SE +/- 2.00, N = 3SE +/- 1.00, N = 3SE +/- 6.25, N = 5SE +/- 6.23, N = 6188.0060.68196.00196.00168.00185.00198.00416.00417.00416.00411.00412.00414.00400.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 DirectoryBFQBFQ low_latencyCFQDEADLINEKyberMQ-DEADLINENoop20K40K60K80K100KSE +/- 681.99, N = 6SE +/- 1342.80, N = 6SE +/- 290.59, N = 3SE +/- 1472.64, N = 6SE +/- 2204.39, N = 6SE +/- 554.78, N = 3SE +/- 635.96, N = 3SE +/- 666.67, N = 3SE +/- 333.33, N = 3SE +/- 333.33, N = 3SE +/- 1641.46, N = 5SE +/- 1589.08, N = 6478671553350267500004290047267505331063331066671063331050001060001061201022501. (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 SizeBFQBFQ low_latencyCFQDEADLINEKyberMQ-DEADLINENoop1326395265SE +/- 0.06, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.06, N = 3SE +/- 0.07, N = 3SE +/- 0.09, N = 3SE +/- 0.03, N = 3SE +/- 10.95, N = 6SE +/- 10.66, N = 6SE +/- 11.06, N = 6SE +/- 10.83, N = 6SE +/- 10.65, N = 6SE +/- 11.35, N = 6SE +/- 12.52, N = 617.4017.2317.4717.4017.3717.3317.3755.7347.6258.0555.4555.8256.2051.151. (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 ThreadsBFQBFQ low_latencyCFQDEADLINEKyberMQ-DEADLINENoop1122334455SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.93, N = 3SE +/- 0.13, N = 3SE +/- 0.48, N = 3SE +/- 0.13, N = 3SE +/- 0.13, N = 3SE +/- 0.27, N = 3SE +/- 0.67, N = 3SE +/- 0.40, N = 3SE +/- 1.74, N = 6SE +/- 0.48, N = 3SE +/- 0.94, N = 6SE +/- 0.84, N = 648.4048.4047.8748.6747.7348.5348.6749.4747.0050.4047.6749.3345.8048.531. (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 SizeBFQBFQ low_latencyCFQDEADLINEKyberMQ-DEADLINENoop918273645SE +/- 0.03, N = 3SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.00, N = 3SE +/- 0.63, N = 5SE +/- 0.62, N = 5SE +/- 0.65, N = 6SE +/- 0.56, N = 6SE +/- 0.60, N = 5SE +/- 3.00, N = 6SE +/- 0.56, N = 617.3717.3017.3317.3317.3717.3717.4041.2240.7441.4241.0540.9835.8040.981. (CC) gcc options: -static

Dbench

Client Count: 12

HDDSSDOpenBenchmarking.orgMB/s, More Is BetterDbench 4.0Client Count: 12BFQBFQ low_latencyCFQDEADLINEKyberMQ-DEADLINENoop120240360480600SE +/- 0.55, N = 3SE +/- 0.31, N = 3SE +/- 0.20, N = 3SE +/- 0.59, N = 6SE +/- 0.41, N = 3SE +/- 0.38, N = 3SE +/- 0.44, N = 5SE +/- 11.71, N = 6SE +/- 14.01, N = 6SE +/- 23.57, N = 6SE +/- 21.64, N = 6SE +/- 14.65, N = 6SE +/- 16.76, N = 6SE +/- 23.68, N = 630.4329.6030.5330.5627.4827.8130.49486.68486.71560.40538.55517.23547.19570.931. (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 PerformanceBFQBFQ low_latencyCFQDEADLINEKyberMQ-DEADLINENoop4080120160200SE +/- 0.46, N = 3SE +/- 0.36, N = 3SE +/- 0.66, N = 3SE +/- 0.56, N = 3SE +/- 0.46, N = 3SE +/- 0.67, N = 3SE +/- 0.27, N = 3SE +/- 2.09, N = 6SE +/- 6.06, N = 6SE +/- 7.29, N = 6SE +/- 2.83, N = 6SE +/- 4.48, N = 6SE +/- 3.97, N = 6SE +/- 2.02, N = 6179.09181.58182.55184.40174.82183.72183.62102.5994.1897.12103.7596.0098.69105.591. (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 WriteBFQBFQ low_latencyCFQDEADLINEKyberMQ-DEADLINENoop5001000150020002500SE +/- 4.63, N = 5SE +/- 30.15, N = 6SE +/- 4.46, N = 6SE +/- 2.62, N = 3SE +/- 15.05, N = 6SE +/- 8.51, N = 6SE +/- 2.69, N = 3SE +/- 55.20, N = 6SE +/- 39.09, N = 3SE +/- 8.35, N = 3SE +/- 16.17, N = 3SE +/- 62.04, N = 6SE +/- 94.63, N = 6SE +/- 13.76, N = 3301.02354.98320.96245.09511.81522.59253.042301.401961.432264.962289.321970.861757.422329.091. (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 DirectoryBFQBFQ low_latencyCFQDEADLINEKyberMQ-DEADLINENoop13K26K39K52K65KSE +/- 208.17, N = 3SE +/- 33.33, N = 3597005460057300580005723360500527001. (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 DirectoryBFQBFQ low_latencyCFQDEADLINEKyberMQ-DEADLINENoop15K30K45K60K75KSE +/- 2655.36, N = 6SE +/- 7128.44, N = 6SE +/- 133.33, N = 3SE +/- 5582.04, N = 6SE +/- 4413.84, N = 6SE +/- 6847.96, N = 6SE +/- 964.51, N = 6247836130072067450504660043650338171. (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