Linux IO Scheduler Testing - CFQ, Deadline, Noop

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 and Core i7 Clarksfield setups with hard drive and solid-state drives tested.

Compare your own system(s) to this result file with the Phoronix Test Suite by running the command: phoronix-test-suite benchmark 1204132-SU-SCHEDULER98
Jump To Table - Results

View

Do Not Show Noisy Results
Do Not Show Results With Incomplete Data
Do Not Show Results With Little Change/Spread
List Notable Results
Show Result Confidence Charts

Limit displaying results to tests within:

Timed Code Compilation 2 Tests
C/C++ Compiler Tests 4 Tests
CPU Massive 7 Tests
Disk Test Suite 4 Tests
Common Kernel Benchmarks 3 Tests
Multi-Core 3 Tests
Programmer / Developer System Benchmarks 2 Tests
Server 4 Tests
Server CPU Tests 2 Tests

Statistics

Show Overall Harmonic Mean(s)
Show Overall Geometric Mean
Show Geometric Means Per-Suite/Category
Show Wins / Losses Counts (Pie Chart)
Normalize Results
Remove Outliers Before Calculating Averages

Graph Settings

Force Line Graphs Where Applicable
Convert To Scalar Where Applicable
Prefer Vertical Bar Graphs
On Line Graphs With Missing Data, Connect The Line Gaps

Multi-Way Comparison

Condense Comparison
Transpose Comparison

Table

Show Detailed System Result Table

Run Management

Highlight
Result
Hide
Result
Result
Identifier
View Logs
Performance Per
Dollar
Date
Run
  Test
  Duration
Penryn + HDD: CFQ
April 10 2012
 
Penryn + HDD: Noop
April 11 2012
 
Penryn + HDD: Deadline
April 11 2012
 
Sandy Bridge + SSD: CFQ
April 12 2012
 
Sandy Bridge + SSD: Noop
April 12 2012
 
Sandy Bridge + SSD: Deadline
April 12 2012
 
Clarksfield + SSD: CFQ
April 12 2012
 
Clarksfield + SSD: Noop
April 12 2012
 
Clarksfield + SSD: Deadline
April 13 2012
 
Invert Hiding All Results Option
 

Only show results where is faster than
Only show results matching title/arguments (delimit multiple options with a comma):
Do not show results matching title/arguments (delimit multiple options with a comma):


ProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionPenryn + HDDSandy Bridge + SSDClarksfield + SSD CFQ Noop Deadline 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.21600x900Intel Core i7 720Q @ 1.60GHz (8 Cores)LENOVO 4318CTOIntel Core DMINVIDIA Quadro FX 880M 1024MB (405/324MHz)Conexant CX20585Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300nouveau 0.0.162.1 Mesa 8.0.2 Gallium 0.4OpenBenchmarking.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 -vDisk 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,rw- Clarksfield + SSD: CFQ: CFQ / data=ordered,errors=remount-ro,relatime,rw- Clarksfield + SSD: Noop: NOOP / data=ordered,errors=remount-ro,relatime,rw- Clarksfield + 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.- Clarksfield + SSD: CFQ: Disk Scheduler: CFQ. Python 2.7.3. Compiz was running on this system.- Clarksfield + SSD: Noop: Disk Scheduler: NOOP. Python 2.7.3. Compiz was running on this system.- Clarksfield + SSD: Deadline: Disk Scheduler: DEADLINE. Python 2.7.3. Compiz was running on this system.

pgbench: TPC-B Transactions Per Secondnginx: Static Web Page Servingapache: Static Web Page Servingbuild-php: Time To Compilebuild-linux-kernel: Time To Compilepostmark: Disk Transaction Performancetiobench: Rand Write - 64MB - 8tiobench: Rand Write - 64MB - 16tiobench: Rand Write - 128MB - 16tiobench: Rand Write - 128MB - 8iozone: 64Kb - 8GB - Write Performanceiozone: 64Kb - 8GB - Read Performancecompilebench: Read Compiled Treecompilebench: Initial Createcompilebench: Compileblogbench: Writefs-mark: 1000 Files, 1MB Size, No Sync/FSyncfs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizefs-mark: 1000 Files, 1MB Sizefs-mark: 5000 Files, 1MB Size, 4 ThreadsPenryn + HDDSandy Bridge + SSDClarksfield + SSD CFQ Noop Deadline CFQ Noop Deadline CFQ Noop Deadline112.0014157.5911255.1891.75329.4613882.742.741.932.0152.3665.4748.6847.6240.3392368.7018.2017.7736.00112.7614181.2011570.6291.89329.4213882.682.201.741.8256.0162.4951.1945.7136.2878368.1017.2216.2335.03112.5714207.0211320.6491.80330.0113882.702.761.931.9854.0464.3650.4345.6543.6188268.6020.5719.5336.072420.2427044.6519806.5557.01202.3590.3488.4187.3788.30107.03254.84151.59100.69107.711531145.3577.4376.9099.331643.9127426.1819836.9257.58202.8189.9689.5387.9882.25103.37253.71126.8281.3483.073079152.1775.8776.0796.201863.2327437.3519903.8357.26203.1290.2388.8280.2968.5699.33251.98126.2783.8678.512796146.1775.5075.2796.002357.8115722.5614233.4852.42181.3989.1589.5988.2383.48105.88241.73148.6890.65107.151496148.3779.9379.7397.602021.7215747.1614144.8352.62182.00250093.6191.1287.4289.60100.35240.68146.2372.2481.203272146.0578.4778.7094.801940.4015762.8314135.5152.59182.07250094.7092.7992.8092.55101.17240.84183.7369.4673.472546147.9378.2778.5394.40OpenBenchmarking.org

PostgreSQL pgbench

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 8.4.11TPC-B Transactions Per SecondDeadlineNoopCFQ5001000150020002500SE +/- 73.53, N = 6SE +/- 80.83, N = 6SE +/- 16.17, N = 3SE +/- 51.48, N = 6SE +/- 21.31, N = 3SE +/- 114.10, N = 6SE +/- 0.48, N = 3SE +/- 0.75, N = 3SE +/- 0.29, N = 31940.402021.722357.811863.231643.912420.24112.57112.76112.001. (CC) gcc options: -O2 -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm

NGINX Benchmark

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgRequests Per Second, More Is BetterNGINX Benchmark 1.0.11Static Web Page ServingDeadlineNoopCFQ6K12K18K24K30KSE +/- 78.35, N = 3SE +/- 119.30, N = 3SE +/- 144.33, N = 3SE +/- 228.12, N = 3SE +/- 368.02, N = 3SE +/- 381.12, N = 3SE +/- 40.09, N = 3SE +/- 18.78, N = 3SE +/- 64.83, N = 315762.8315747.1615722.5627437.3527426.1827044.6514207.0214181.2014157.591. (CC) gcc options: -lpthread -lcrypt -lz

Apache Benchmark

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.2.21Static Web Page ServingDeadlineNoopCFQ4K8K12K16K20KSE +/- 53.71, N = 3SE +/- 81.17, N = 3SE +/- 45.95, N = 3SE +/- 43.97, N = 3SE +/- 174.94, N = 3SE +/- 92.62, N = 3SE +/- 93.72, N = 3SE +/- 26.41, N = 3SE +/- 39.53, N = 314135.5114144.8314233.4819903.8319836.9219806.5511320.6411570.6211255.181. (CC) gcc options: -O2 -pthread -lm -lrt -lcrypt -lpthread -ldl

Timed PHP Compilation

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileDeadlineNoopCFQ20406080100SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.05, N = 3SE +/- 0.36, N = 3SE +/- 0.76, N = 3SE +/- 0.06, N = 3SE +/- 0.18, N = 3SE +/- 0.16, N = 3SE +/- 0.11, N = 352.5952.6252.4257.2657.5857.0191.8091.8991.751. (CC) gcc options: -O2 -pedantic -ldl -lz -lm

Timed Linux Kernel Compilation

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgSeconds, Fewer Is BetterTimed Linux Kernel Compilation 3.1Time To CompileDeadlineNoopCFQ70140210280350SE +/- 0.51, N = 3SE +/- 0.50, N = 3SE +/- 0.55, N = 3SE +/- 0.74, N = 3SE +/- 0.76, N = 3SE +/- 0.73, N = 3SE +/- 0.75, N = 3SE +/- 0.83, N = 3SE +/- 0.82, N = 3182.07182.00181.39203.12202.81202.35330.01329.42329.46

PostMark

Clarksfield + SSDPenryn + HDDOpenBenchmarking.orgTPS, More Is BetterPostMark 1.51Disk Transaction PerformanceDeadlineNoopCFQ5001000150020002500SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 525002500138813881388

Threaded I/O Tester

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 64MB - Thread Count: 8DeadlineNoopCFQ20406080100SE +/- 0.24, N = 4SE +/- 0.09, N = 4SE +/- 1.13, N = 8SE +/- 0.36, N = 4SE +/- 0.16, N = 4SE +/- 0.46, N = 4SE +/- 0.02, N = 4SE +/- 0.15, N = 8SE +/- 0.03, N = 494.7093.6189.1590.2389.9690.342.702.682.74

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 64MB - Thread Count: 16DeadlineNoopCFQ20406080100SE +/- 1.05, N = 4SE +/- 1.30, N = 8SE +/- 0.14, N = 4SE +/- 0.75, N = 4SE +/- 0.23, N = 4SE +/- 0.18, N = 4SE +/- 0.03, N = 4SE +/- 0.05, N = 8SE +/- 0.01, N = 492.7991.1289.5988.8289.5388.412.762.202.74

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 128MB - Thread Count: 16DeadlineNoopCFQ20406080100SE +/- 0.20, N = 4SE +/- 3.68, N = 8SE +/- 0.13, N = 4SE +/- 5.12, N = 8SE +/- 0.39, N = 4SE +/- 0.38, N = 4SE +/- 0.02, N = 4SE +/- 0.02, N = 4SE +/- 0.02, N = 492.8087.4288.2380.2987.9887.371.931.741.93

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 128MB - Thread Count: 8DeadlineNoopCFQ20406080100SE +/- 0.21, N = 4SE +/- 2.45, N = 8SE +/- 5.33, N = 8SE +/- 8.87, N = 8SE +/- 5.55, N = 8SE +/- 0.48, N = 4SE +/- 0.01, N = 4SE +/- 0.01, N = 4SE +/- 0.01, N = 492.5589.6083.4868.5682.2588.301.981.822.01

IOzone

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgMB/s, More Is BetterIOzone 3.347Record Size: 64Kb - File Size: 8GB - Disk Test: Write PerformanceDeadlineNoopCFQ20406080100SE +/- 0.80, N = 3SE +/- 2.03, N = 6SE +/- 1.04, N = 3SE +/- 1.61, N = 3SE +/- 0.06, N = 3SE +/- 0.33, N = 3SE +/- 3.31, N = 6SE +/- 3.28, N = 6SE +/- 2.88, N = 6101.17100.35105.8899.33103.37107.0354.0456.0152.361. (CC) gcc options: -O3

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgMB/s, More Is BetterIOzone 3.347Record Size: 64Kb - File Size: 8GB - Disk Test: Read PerformanceDeadlineNoopCFQ60120180240300SE +/- 0.49, N = 3SE +/- 0.29, N = 3SE +/- 0.04, N = 3SE +/- 0.71, N = 3SE +/- 0.30, N = 3SE +/- 0.03, N = 3SE +/- 0.31, N = 3SE +/- 0.29, N = 3SE +/- 0.26, N = 3240.84240.68241.73251.98253.71254.8464.3662.4965.471. (CC) gcc options: -O3

Compile Bench

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Read Compiled TreeDeadlineNoopCFQ4080120160200SE +/- 37.24, N = 3SE +/- 1.97, N = 3SE +/- 1.66, N = 3SE +/- 2.50, N = 3SE +/- 1.12, N = 3SE +/- 1.30, N = 3SE +/- 0.91, N = 3SE +/- 0.46, N = 3SE +/- 0.90, N = 3183.73146.23148.68126.27126.82151.5950.4351.1948.68

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateDeadlineNoopCFQ20406080100SE +/- 1.84, N = 3SE +/- 0.78, N = 3SE +/- 3.46, N = 3SE +/- 2.04, N = 3SE +/- 0.13, N = 3SE +/- 1.90, N = 3SE +/- 3.02, N = 3SE +/- 0.71, N = 3SE +/- 0.11, N = 269.4672.2490.6583.8681.34100.6945.6545.7147.62

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileDeadlineNoopCFQ20406080100SE +/- 0.53, N = 3SE +/- 2.82, N = 6SE +/- 0.62, N = 3SE +/- 1.07, N = 3SE +/- 0.53, N = 3SE +/- 0.62, N = 3SE +/- 0.46, N = 3SE +/- 0.50, N = 3SE +/- 0.18, N = 373.4781.20107.1578.5183.07107.7143.6136.2840.33

BlogBench

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgFinal Score, More Is BetterBlogBench 1.0Test: WriteDeadlineNoopCFQ7001400210028003500SE +/- 63.96, N = 6SE +/- 99.29, N = 6SE +/- 27.43, N = 3SE +/- 107.67, N = 6SE +/- 173.66, N = 6SE +/- 23.59, N = 6SE +/- 12.59, N = 5SE +/- 12.94, N = 6SE +/- 17.23, N = 62546327214962796307915318827839231. (CC) gcc options: -O2 -pthread

FS-Mark

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB Size, No Sync/FSyncDeadlineNoopCFQ306090120150SE +/- 2.25, N = 3SE +/- 2.35, N = 4SE +/- 2.21, N = 3SE +/- 2.71, N = 3SE +/- 0.71, N = 3SE +/- 2.33, N = 6SE +/- 1.10, N = 3SE +/- 0.89, N = 3SE +/- 1.33, N = 3147.93146.05148.37146.17152.17145.3568.6068.1068.701. (CC) gcc options: -static

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 4000 Files, 32 Sub Dirs, 1MB SizeDeadlineNoopCFQ20406080100SE +/- 0.23, N = 3SE +/- 0.19, N = 3SE +/- 0.22, N = 3SE +/- 0.15, N = 3SE +/- 0.20, N = 3SE +/- 0.03, N = 3SE +/- 0.37, N = 3SE +/- 0.67, N = 6SE +/- 0.12, N = 378.2778.4779.9375.5075.8777.4320.5717.2218.201. (CC) gcc options: -static

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeDeadlineNoopCFQ20406080100SE +/- 0.82, N = 3SE +/- 0.75, N = 3SE +/- 1.02, N = 3SE +/- 0.79, N = 3SE +/- 0.74, N = 3SE +/- 0.75, N = 3SE +/- 0.15, N = 3SE +/- 0.19, N = 3SE +/- 0.03, N = 378.5378.7079.7375.2776.0776.9019.5316.2317.771. (CC) gcc options: -static

Clarksfield + SSDSandy Bridge + SSDPenryn + HDDOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 5000 Files, 1MB Size, 4 ThreadsDeadlineNoopCFQ20406080100SE +/- 0.23, N = 3SE +/- 0.23, N = 3SE +/- 0.00, N = 3SE +/- 0.40, N = 3SE +/- 0.12, N = 3SE +/- 0.13, N = 3SE +/- 1.17, N = 6SE +/- 0.73, N = 6SE +/- 0.69, N = 394.4094.8097.6096.0096.2099.3336.0735.0336.001. (CC) gcc options: -static