Linux IO Scheduler Testing - Penryn, Sandy Bridge

Testing for a future article on Phoronix.com of different Linux kernel IO schedulers from the Linux 3.4 kernel: CFQ, Noop, and Deadline. Intel Core 2 Duo T9300 and Intel Core i5 Sandy Bridge setups with hard drive and solid-state drives tested.

HTML result view exported from: https://openbenchmarking.org/result/1204122-SU-NOOPDEADL63&grs.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionPenryn + HDDSandy Bridge + SSD CFQ Noop Deadline CFQ Noop DeadlineIntel Core 2 Duo T9300 @ 2.50GHz (2 Cores)LENOVO 6459CTOIntel Mobile PM965/GM965/GL960 + ICH8M-E4096MB100GB Hitachi HTS72201NVIDIA Quadro NVS 140M 128MB (275/302MHz)Analog Devices AD1984Intel 82566MM Gigabit Connection + Intel PRO/WirelessUbuntu 12.043.4.0-999-generic (x86_64)Unity 5.8.0X Server 1.11.3nouveau 0.0.162.1 Mesa 8.0.2 Gallium 0.4GCC 4.6ext41680x1050LLVMpipeNVIDIA Quadro NVS 140M 128MB (275/302MHz)Intel Core i5-2520M @ 2.50GHz (4 Cores)HP 161CIntel 2nd Generation Core Family DRAM160GB INTEL SSDSA2M160Intel Sandybridge Mobile (GT2+)IDT 92HD81B1X5Intel 82579LM Gigabit Connection + Intel Centrino Advanced-N 6205intel 2.17.03.0 Mesa 8.0.21600x900OpenBenchmarking.orgCompiler Details- --build=x86_64-linux-gnu --disable-werror --enable-checking=release --enable-clocale=gnu --enable-gnu-unique-object --enable-languages=c,c++,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-arch-32=i686 --with-tune=generic -v Disk Details- Penryn + HDD: CFQ: CFQ / data=ordered,errors=remount-ro,relatime,rw- Penryn + HDD: Noop: NOOP / data=ordered,errors=remount-ro,relatime,rw- Penryn + HDD: Deadline: DEADLINE / data=ordered,errors=remount-ro,relatime,rw- Sandy Bridge + SSD: CFQ: CFQ / data=ordered,errors=remount-ro,relatime,rw- Sandy Bridge + SSD: Noop: NOOP / data=ordered,errors=remount-ro,relatime,rw- Sandy Bridge + SSD: Deadline: DEADLINE / data=ordered,errors=remount-ro,relatime,rwProcessor Details- Scaling Governor: ondemandSystem Details- Penryn + HDD: CFQ: Disk Scheduler: CFQ. Python 2.7.3. Compiz was running on this system.- Penryn + HDD: Noop: Disk Scheduler: NOOP. Python 2.7.3. Compiz was running on this system.- Penryn + HDD: Deadline: Disk Scheduler: DEADLINE. Python 2.7.3. Compiz was running on this system.- Sandy Bridge + SSD: CFQ: Disk Scheduler: CFQ. Python 2.7.3rc2. Compiz was running on this system.- Sandy Bridge + SSD: Noop: Disk Scheduler: NOOP. Python 2.7.3rc2. Compiz was running on this system.- Sandy Bridge + SSD: Deadline: Disk Scheduler: DEADLINE. Python 2.7.3rc2. Compiz was running on this system.

tiobench: Rand Write - 128MB - 16tiobench: Rand Write - 128MB - 8tiobench: Rand Write - 64MB - 16fs-mark: 1000 Files, 1MB Sizefs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizeiozone: 64Kb - 8GB - Read Performancetiobench: Rand Write - 64MB - 8blogbench: Writecompilebench: Read Compiled Treepgbench: TPC-B Transactions Per Secondcompilebench: Compilefs-mark: 5000 Files, 1MB Size, 4 Threadsfs-mark: 1000 Files, 1MB Size, No Sync/FSynccompilebench: Initial Createnginx: Static Web Page Servingapache: Static Web Page Servingbuild-linux-kernel: Time To Compilebuild-php: Time To Compilepostmark: Disk Transaction Performanceiozone: 64Kb - 8GB - Write PerformancePenryn + HDDSandy Bridge + SSD CFQ Noop Deadline CFQ Noop Deadline1.932.012.7417.7718.2065.472.7492348.68112.0040.3336.0068.7047.6214157.5911255.18329.4691.75138852.361.741.822.2016.2317.2262.492.6878351.19112.7636.2835.0368.1045.7114181.2011570.62329.4291.89138856.011.931.982.7619.5320.5764.362.7088250.43112.5743.6136.0768.6045.6514207.0211320.64330.0191.80138854.0487.3788.3088.4176.9077.43254.8490.341531151.592420.24107.7199.33145.35100.6927044.6519806.55202.3557.01107.0387.9882.2589.5376.0775.87253.7189.963079126.821643.9183.0796.20152.1781.3427426.1819836.92202.8157.58103.3780.2968.5688.8275.2775.50251.9890.232796126.271863.2378.5196.00146.1783.8627437.3519903.83203.1257.2699.33OpenBenchmarking.org

Threaded I/O Tester

Test: Random Write - Size Per Thread: 128MB - Thread Count: 16

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 128MB - Thread Count: 16CFQNoopDeadline20406080100SE +/- 0.02, N = 4SE +/- 0.02, N = 4SE +/- 0.02, N = 4SE +/- 0.38, N = 4SE +/- 0.39, N = 4SE +/- 5.12, N = 81.931.741.9387.3787.9880.29

Threaded I/O Tester

Test: Random Write - Size Per Thread: 128MB - Thread Count: 8

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 128MB - Thread Count: 8CFQNoopDeadline20406080100SE +/- 0.01, N = 4SE +/- 0.01, N = 4SE +/- 0.01, N = 4SE +/- 0.48, N = 4SE +/- 5.55, N = 8SE +/- 8.87, N = 82.011.821.9888.3082.2568.56

Threaded I/O Tester

Test: Random Write - Size Per Thread: 64MB - Thread Count: 16

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 64MB - Thread Count: 16CFQNoopDeadline20406080100SE +/- 0.01, N = 4SE +/- 0.05, N = 8SE +/- 0.03, N = 4SE +/- 0.18, N = 4SE +/- 0.23, N = 4SE +/- 0.75, N = 42.742.202.7688.4189.5388.82

FS-Mark

Test: 1000 Files, 1MB Size

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeCFQNoopDeadline20406080100SE +/- 0.03, N = 3SE +/- 0.19, N = 3SE +/- 0.15, N = 3SE +/- 0.75, N = 3SE +/- 0.74, N = 3SE +/- 0.79, N = 317.7716.2319.5376.9076.0775.271. (CC) gcc options: -static

FS-Mark

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

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 4000 Files, 32 Sub Dirs, 1MB SizeCFQNoopDeadline20406080100SE +/- 0.12, N = 3SE +/- 0.67, N = 6SE +/- 0.37, N = 3SE +/- 0.03, N = 3SE +/- 0.20, N = 3SE +/- 0.15, N = 318.2017.2220.5777.4375.8775.501. (CC) gcc options: -static

IOzone

Record Size: 64Kb - File Size: 8GB - Disk Test: Read Performance

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgMB/s, More Is BetterIOzone 3.347Record Size: 64Kb - File Size: 8GB - Disk Test: Read PerformanceCFQNoopDeadline60120180240300SE +/- 0.26, N = 3SE +/- 0.29, N = 3SE +/- 0.31, N = 3SE +/- 0.03, N = 3SE +/- 0.30, N = 3SE +/- 0.71, N = 365.4762.4964.36254.84253.71251.981. (CC) gcc options: -O3

Threaded I/O Tester

Test: Random Write - Size Per Thread: 64MB - Thread Count: 8

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 64MB - Thread Count: 8CFQNoopDeadline20406080100SE +/- 0.03, N = 4SE +/- 0.15, N = 8SE +/- 0.02, N = 4SE +/- 0.46, N = 4SE +/- 0.16, N = 4SE +/- 0.36, N = 42.742.682.7090.3489.9690.23

BlogBench

Test: Write

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgFinal Score, More Is BetterBlogBench 1.0Test: WriteCFQNoopDeadline7001400210028003500SE +/- 17.23, N = 6SE +/- 12.94, N = 6SE +/- 12.59, N = 5SE +/- 23.59, N = 6SE +/- 173.66, N = 6SE +/- 107.67, N = 69237838821531307927961. (CC) gcc options: -O2 -pthread

Compile Bench

Test: Read Compiled Tree

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Read Compiled TreeCFQNoopDeadline306090120150SE +/- 0.90, N = 3SE +/- 0.46, N = 3SE +/- 0.91, N = 3SE +/- 1.30, N = 3SE +/- 1.12, N = 3SE +/- 2.50, N = 348.6851.1950.43151.59126.82126.27

PostgreSQL pgbench

TPC-B Transactions Per Second

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 8.4.11TPC-B Transactions Per SecondCFQNoopDeadline5001000150020002500SE +/- 0.29, N = 3SE +/- 0.75, N = 3SE +/- 0.48, N = 3SE +/- 114.10, N = 6SE +/- 21.31, N = 3SE +/- 51.48, N = 6112.00112.76112.572420.241643.911863.231. (CC) gcc options: -O2 -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm

Compile Bench

Test: Compile

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileCFQNoopDeadline20406080100SE +/- 0.18, N = 3SE +/- 0.50, N = 3SE +/- 0.46, N = 3SE +/- 0.62, N = 3SE +/- 0.53, N = 3SE +/- 1.07, N = 340.3336.2843.61107.7183.0778.51

FS-Mark

Test: 5000 Files, 1MB Size, 4 Threads

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 5000 Files, 1MB Size, 4 ThreadsCFQNoopDeadline20406080100SE +/- 0.69, N = 3SE +/- 0.73, N = 6SE +/- 1.17, N = 6SE +/- 0.13, N = 3SE +/- 0.12, N = 3SE +/- 0.40, N = 336.0035.0336.0799.3396.2096.001. (CC) gcc options: -static

FS-Mark

Test: 1000 Files, 1MB Size, No Sync/FSync

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB Size, No Sync/FSyncCFQNoopDeadline306090120150SE +/- 1.33, N = 3SE +/- 0.89, N = 3SE +/- 1.10, N = 3SE +/- 2.33, N = 6SE +/- 0.71, N = 3SE +/- 2.71, N = 368.7068.1068.60145.35152.17146.171. (CC) gcc options: -static

Compile Bench

Test: Initial Create

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateCFQNoopDeadline20406080100SE +/- 0.11, N = 2SE +/- 0.71, N = 3SE +/- 3.02, N = 3SE +/- 1.90, N = 3SE +/- 0.13, N = 3SE +/- 2.04, N = 347.6245.7145.65100.6981.3483.86

NGINX Benchmark

Static Web Page Serving

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgRequests Per Second, More Is BetterNGINX Benchmark 1.0.11Static Web Page ServingCFQNoopDeadline6K12K18K24K30KSE +/- 64.83, N = 3SE +/- 18.78, N = 3SE +/- 40.09, N = 3SE +/- 381.12, N = 3SE +/- 368.02, N = 3SE +/- 228.12, N = 314157.5914181.2014207.0227044.6527426.1827437.351. (CC) gcc options: -lpthread -lcrypt -lz

Apache Benchmark

Static Web Page Serving

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.2.21Static Web Page ServingCFQNoopDeadline4K8K12K16K20KSE +/- 39.53, N = 3SE +/- 26.41, N = 3SE +/- 93.72, N = 3SE +/- 92.62, N = 3SE +/- 174.94, N = 3SE +/- 43.97, N = 311255.1811570.6211320.6419806.5519836.9219903.831. (CC) gcc options: -O2 -pthread -lm -lrt -lcrypt -lpthread -ldl

Timed Linux Kernel Compilation

Time To Compile

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgSeconds, Fewer Is BetterTimed Linux Kernel Compilation 3.1Time To CompileCFQNoopDeadline70140210280350SE +/- 0.82, N = 3SE +/- 0.83, N = 3SE +/- 0.75, N = 3SE +/- 0.73, N = 3SE +/- 0.76, N = 3SE +/- 0.74, N = 3329.46329.42330.01202.35202.81203.12

Timed PHP Compilation

Time To Compile

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileCFQNoopDeadline20406080100SE +/- 0.11, N = 3SE +/- 0.16, N = 3SE +/- 0.18, N = 3SE +/- 0.06, N = 3SE +/- 0.76, N = 3SE +/- 0.36, N = 391.7591.8991.8057.0157.5857.261. (CC) gcc options: -O2 -pedantic -ldl -lz -lm

PostMark

Disk Transaction Performance

OpenBenchmarking.orgTPS, More Is BetterPostMark 1.51Disk Transaction PerformanceCFQNoopDeadline30060090012001500SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5138813881388

IOzone

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

Penryn + HDDSandy Bridge + SSDOpenBenchmarking.orgMB/s, More Is BetterIOzone 3.347Record Size: 64Kb - File Size: 8GB - Disk Test: Write PerformanceCFQNoopDeadline20406080100SE +/- 2.88, N = 6SE +/- 3.28, N = 6SE +/- 3.31, N = 6SE +/- 0.33, N = 3SE +/- 0.06, N = 3SE +/- 1.61, N = 352.3656.0154.04107.03103.3799.331. (CC) gcc options: -O3


Phoronix Test Suite v10.8.4