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. Penryn + HDD: CFQ: Processor: Intel Core 2 Duo T9300 @ 2.50GHz (2 Cores), Motherboard: LENOVO 6459CTO, Chipset: Intel Mobile PM965/GM965/GL960 + ICH8M-E, Memory: 4096MB, Disk: 100GB Hitachi HTS72201, Graphics: NVIDIA Quadro NVS 140M 128MB (275/302MHz), Audio: Analog Devices AD1984, Network: Intel 82566MM Gigabit Connection + Intel PRO/Wireless OS: Ubuntu 12.04, Kernel: 3.4.0-999-generic (x86_64), Desktop: Unity 5.8.0, Display Server: X Server 1.11.3, Display Driver: nouveau 0.0.16, OpenGL: 2.1 Mesa 8.0.2 Gallium 0.4, Compiler: GCC 4.6, File-System: ext4, Screen Resolution: 1680x1050 Penryn + HDD: Noop: Processor: Intel Core 2 Duo T9300 @ 2.50GHz (2 Cores), Motherboard: LENOVO 6459CTO, Chipset: Intel Mobile PM965/GM965/GL960 + ICH8M-E, Memory: 4096MB, Disk: 100GB Hitachi HTS72201, Graphics: LLVMpipe, Audio: Analog Devices AD1984, Network: Intel 82566MM Gigabit Connection + Intel PRO/Wireless OS: Ubuntu 12.04, Kernel: 3.4.0-999-generic (x86_64), Desktop: Unity 5.8.0, Display Server: X Server 1.11.3, Display Driver: nouveau 0.0.16, OpenGL: 2.1 Mesa 8.0.2 Gallium 0.4, Compiler: GCC 4.6, File-System: ext4, Screen Resolution: 1680x1050 Penryn + HDD: Deadline: Processor: Intel Core 2 Duo T9300 @ 2.50GHz (2 Cores), Motherboard: LENOVO 6459CTO, Chipset: Intel Mobile PM965/GM965/GL960 + ICH8M-E, Memory: 4096MB, Disk: 100GB Hitachi HTS72201, Graphics: NVIDIA Quadro NVS 140M 128MB (275/302MHz), Audio: Analog Devices AD1984, Network: Intel 82566MM Gigabit Connection + Intel PRO/Wireless OS: Ubuntu 12.04, Kernel: 3.4.0-999-generic (x86_64), Desktop: Unity 5.8.0, Display Server: X Server 1.11.3, Display Driver: nouveau 0.0.16, OpenGL: 2.1 Mesa 8.0.2 Gallium 0.4, Compiler: GCC 4.6, File-System: ext4, Screen Resolution: 1680x1050 Sandy Bridge + SSD: CFQ: Processor: Intel Core i5-2520M @ 2.50GHz (4 Cores), Motherboard: HP 161C, Chipset: Intel 2nd Generation Core Family DRAM, Memory: 4096MB, Disk: 160GB INTEL SSDSA2M160, Graphics: Intel Sandybridge Mobile (GT2+), Audio: IDT 92HD81B1X5, Network: Intel 82579LM Gigabit Connection + Intel Centrino Advanced-N 6205 OS: Ubuntu 12.04, Kernel: 3.4.0-999-generic (x86_64), Desktop: Unity 5.8.0, Display Server: X Server 1.11.3, Display Driver: intel 2.17.0, OpenGL: 3.0 Mesa 8.0.2, Compiler: GCC 4.6, File-System: ext4, Screen Resolution: 1600x900 Sandy Bridge + SSD: Noop: Processor: Intel Core i5-2520M @ 2.50GHz (4 Cores), Motherboard: HP 161C, Chipset: Intel 2nd Generation Core Family DRAM, Memory: 4096MB, Disk: 160GB INTEL SSDSA2M160, Graphics: Intel Sandybridge Mobile (GT2+), Audio: IDT 92HD81B1X5, Network: Intel 82579LM Gigabit Connection + Intel Centrino Advanced-N 6205 OS: Ubuntu 12.04, Kernel: 3.4.0-999-generic (x86_64), Desktop: Unity 5.8.0, Display Server: X Server 1.11.3, Display Driver: intel 2.17.0, OpenGL: 3.0 Mesa 8.0.2, Compiler: GCC 4.6, File-System: ext4, Screen Resolution: 1600x900 Sandy Bridge + SSD: Deadline: Processor: Intel Core i5-2520M @ 2.50GHz (4 Cores), Motherboard: HP 161C, Chipset: Intel 2nd Generation Core Family DRAM, Memory: 4096MB, Disk: 160GB INTEL SSDSA2M160, Graphics: Intel Sandybridge Mobile (GT2+), Audio: IDT 92HD81B1X5, Network: Intel 82579LM Gigabit Connection + Intel Centrino Advanced-N 6205 OS: Ubuntu 12.04, Kernel: 3.4.0-999-generic (x86_64), Desktop: Unity 5.8.0, Display Server: X Server 1.11.3, Display Driver: intel 2.17.0, OpenGL: 3.0 Mesa 8.0.2, Compiler: GCC 4.6, File-System: ext4, Screen Resolution: 1600x900 Clarksfield + SSD: CFQ: Processor: Intel Core i7 720Q @ 1.60GHz (8 Cores), Motherboard: LENOVO 4318CTO, Chipset: Intel Core DMI, Memory: 4096MB, Disk: 160GB INTEL SSDSA2M160, Graphics: NVIDIA Quadro FX 880M 1024MB (405/324MHz), Audio: Conexant CX20585, Network: Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300 OS: Ubuntu 12.04, Kernel: 3.4.0-999-generic (x86_64), Desktop: Unity 5.8.0, Display Server: X Server 1.11.3, Display Driver: nouveau 0.0.16, OpenGL: 2.1 Mesa 8.0.2 Gallium 0.4, Compiler: GCC 4.6, File-System: ext4, Screen Resolution: 1600x900 Clarksfield + SSD: Noop: Processor: Intel Core i7 720Q @ 1.60GHz (8 Cores), Motherboard: LENOVO 4318CTO, Chipset: Intel Core DMI, Memory: 4096MB, Disk: 160GB INTEL SSDSA2M160, Graphics: NVIDIA Quadro FX 880M 1024MB (405/324MHz), Audio: Conexant CX20585, Network: Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300 OS: Ubuntu 12.04, Kernel: 3.4.0-999-generic (x86_64), Desktop: Unity 5.8.0, Display Server: X Server 1.11.3, Display Driver: nouveau 0.0.16, OpenGL: 2.1 Mesa 8.0.2 Gallium 0.4, Compiler: GCC 4.6, File-System: ext4, Screen Resolution: 1600x900 Clarksfield + SSD: Deadline: Processor: Intel Core i7 720Q @ 1.60GHz (8 Cores), Motherboard: LENOVO 4318CTO, Chipset: Intel Core DMI, Memory: 4096MB, Disk: 160GB INTEL SSDSA2M160, Graphics: NVIDIA Quadro FX 880M 1024MB (405/324MHz), Audio: Conexant CX20585, Network: Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300 OS: Ubuntu 12.04, Kernel: 3.4.0-999-generic (x86_64), Desktop: Unity 5.8.0, Display Server: X Server 1.11.3, Display Driver: nouveau 0.0.16, OpenGL: 2.1 Mesa 8.0.2 Gallium 0.4, Compiler: GCC 4.6, File-System: ext4, Screen Resolution: 1600x900 FS-Mark 3.3 Test: 5000 Files, 1MB Size, 4 Threads Files/s > Higher Is Better Penryn + HDD: CFQ ............ 36.00 |=============== Penryn + HDD: Noop ........... 35.03 |============== Penryn + HDD: Deadline ....... 36.07 |=============== Sandy Bridge + SSD: CFQ ...... 99.33 |========================================= Sandy Bridge + SSD: Noop ..... 96.20 |======================================== Sandy Bridge + SSD: Deadline . 96.00 |======================================== Clarksfield + SSD: CFQ ....... 97.60 |======================================== Clarksfield + SSD: Noop ...... 94.80 |======================================= Clarksfield + SSD: Deadline .. 94.40 |======================================= FS-Mark 3.3 Test: 1000 Files, 1MB Size Files/s > Higher Is Better Penryn + HDD: CFQ ............ 17.77 |========= Penryn + HDD: Noop ........... 16.23 |======== Penryn + HDD: Deadline ....... 19.53 |========== Sandy Bridge + SSD: CFQ ...... 76.90 |======================================== Sandy Bridge + SSD: Noop ..... 76.07 |======================================= Sandy Bridge + SSD: Deadline . 75.27 |======================================= Clarksfield + SSD: CFQ ....... 79.73 |========================================= Clarksfield + SSD: Noop ...... 78.70 |======================================== Clarksfield + SSD: Deadline .. 78.53 |======================================== FS-Mark 3.3 Test: 4000 Files, 32 Sub Dirs, 1MB Size Files/s > Higher Is Better Penryn + HDD: CFQ ............ 18.20 |========= Penryn + HDD: Noop ........... 17.22 |========= Penryn + HDD: Deadline ....... 20.57 |=========== Sandy Bridge + SSD: CFQ ...... 77.43 |======================================== Sandy Bridge + SSD: Noop ..... 75.87 |======================================= Sandy Bridge + SSD: Deadline . 75.50 |======================================= Clarksfield + SSD: CFQ ....... 79.93 |========================================= Clarksfield + SSD: Noop ...... 78.47 |======================================== Clarksfield + SSD: Deadline .. 78.27 |======================================== FS-Mark 3.3 Test: 1000 Files, 1MB Size, No Sync/FSync Files/s > Higher Is Better Penryn + HDD: CFQ ............ 68.70 |================== Penryn + HDD: Noop ........... 68.10 |================== Penryn + HDD: Deadline ....... 68.60 |================== Sandy Bridge + SSD: CFQ ...... 145.35 |====================================== Sandy Bridge + SSD: Noop ..... 152.17 |======================================== Sandy Bridge + SSD: Deadline . 146.17 |====================================== Clarksfield + SSD: CFQ ....... 148.37 |======================================= Clarksfield + SSD: Noop ...... 146.05 |====================================== Clarksfield + SSD: Deadline .. 147.93 |======================================= BlogBench 1.0 Test: Write Final Score > Higher Is Better Penryn + HDD: CFQ ............ 923 |============ Penryn + HDD: Noop ........... 783 |========== Penryn + HDD: Deadline ....... 882 |=========== Sandy Bridge + SSD: CFQ ...... 1531 |==================== Sandy Bridge + SSD: Noop ..... 3079 |======================================== Sandy Bridge + SSD: Deadline . 2796 |==================================== Clarksfield + SSD: CFQ ....... 1496 |=================== Clarksfield + SSD: Noop ...... 3272 |========================================== Clarksfield + SSD: Deadline .. 2546 |================================= Compile Bench 0.6 Test: Compile MB/s > Higher Is Better Penryn + HDD: CFQ ............ 40.33 |=============== Penryn + HDD: Noop ........... 36.28 |============= Penryn + HDD: Deadline ....... 43.61 |================ Sandy Bridge + SSD: CFQ ...... 107.71 |======================================== Sandy Bridge + SSD: Noop ..... 83.07 |=============================== Sandy Bridge + SSD: Deadline . 78.51 |============================= Clarksfield + SSD: CFQ ....... 107.15 |======================================== Clarksfield + SSD: Noop ...... 81.20 |============================== Clarksfield + SSD: Deadline .. 73.47 |=========================== Compile Bench 0.6 Test: Initial Create MB/s > Higher Is Better Penryn + HDD: CFQ ............ 47.62 |=================== Penryn + HDD: Noop ........... 45.71 |================== Penryn + HDD: Deadline ....... 45.65 |================== Sandy Bridge + SSD: CFQ ...... 100.69 |======================================== Sandy Bridge + SSD: Noop ..... 81.34 |================================ Sandy Bridge + SSD: Deadline . 83.86 |================================= Clarksfield + SSD: CFQ ....... 90.65 |==================================== Clarksfield + SSD: Noop ...... 72.24 |============================= Clarksfield + SSD: Deadline .. 69.46 |============================ Compile Bench 0.6 Test: Read Compiled Tree MB/s > Higher Is Better Penryn + HDD: CFQ ............ 48.68 |=========== Penryn + HDD: Noop ........... 51.19 |=========== Penryn + HDD: Deadline ....... 50.43 |=========== Sandy Bridge + SSD: CFQ ...... 151.59 |================================= Sandy Bridge + SSD: Noop ..... 126.82 |============================ Sandy Bridge + SSD: Deadline . 126.27 |=========================== Clarksfield + SSD: CFQ ....... 148.68 |================================ Clarksfield + SSD: Noop ...... 146.23 |================================ Clarksfield + SSD: Deadline .. 183.73 |======================================== IOzone 3.347 Record Size: 64Kb - File Size: 8GB - Disk Test: Read Performance MB/s > Higher Is Better Penryn + HDD: CFQ ............ 65.47 |========== Penryn + HDD: Noop ........... 62.49 |========== Penryn + HDD: Deadline ....... 64.36 |========== Sandy Bridge + SSD: CFQ ...... 254.84 |======================================== Sandy Bridge + SSD: Noop ..... 253.71 |======================================== Sandy Bridge + SSD: Deadline . 251.98 |======================================== Clarksfield + SSD: CFQ ....... 241.73 |====================================== Clarksfield + SSD: Noop ...... 240.68 |====================================== Clarksfield + SSD: Deadline .. 240.84 |====================================== IOzone 3.347 Record Size: 64Kb - File Size: 8GB - Disk Test: Write Performance MB/s > Higher Is Better Penryn + HDD: CFQ ............ 52.36 |==================== Penryn + HDD: Noop ........... 56.01 |===================== Penryn + HDD: Deadline ....... 54.04 |==================== Sandy Bridge + SSD: CFQ ...... 107.03 |======================================== Sandy Bridge + SSD: Noop ..... 103.37 |======================================= Sandy Bridge + SSD: Deadline . 99.33 |===================================== Clarksfield + SSD: CFQ ....... 105.88 |======================================== Clarksfield + SSD: Noop ...... 100.35 |====================================== Clarksfield + SSD: Deadline .. 101.17 |====================================== Threaded I/O Tester 0.3.3 Test: Random Write - Size Per Thread: 128MB - Thread Count: 8 MB/s > Higher Is Better Penryn + HDD: CFQ ............ 2.01 |= Penryn + HDD: Noop ........... 1.82 |= Penryn + HDD: Deadline ....... 1.98 |= Sandy Bridge + SSD: CFQ ...... 88.30 |======================================= Sandy Bridge + SSD: Noop ..... 82.25 |==================================== Sandy Bridge + SSD: Deadline . 68.56 |============================== Clarksfield + SSD: CFQ ....... 83.48 |===================================== Clarksfield + SSD: Noop ...... 89.60 |======================================== Clarksfield + SSD: Deadline .. 92.55 |========================================= Threaded I/O Tester 0.3.3 Test: Random Write - Size Per Thread: 128MB - Thread Count: 16 MB/s > Higher Is Better Penryn + HDD: CFQ ............ 1.93 |= Penryn + HDD: Noop ........... 1.74 |= Penryn + HDD: Deadline ....... 1.93 |= Sandy Bridge + SSD: CFQ ...... 87.37 |======================================= Sandy Bridge + SSD: Noop ..... 87.98 |======================================= Sandy Bridge + SSD: Deadline . 80.29 |=================================== Clarksfield + SSD: CFQ ....... 88.23 |======================================= Clarksfield + SSD: Noop ...... 87.42 |======================================= Clarksfield + SSD: Deadline .. 92.80 |========================================= Threaded I/O Tester 0.3.3 Test: Random Write - Size Per Thread: 64MB - Thread Count: 16 MB/s > Higher Is Better Penryn + HDD: CFQ ............ 2.74 |= Penryn + HDD: Noop ........... 2.20 |= Penryn + HDD: Deadline ....... 2.76 |= Sandy Bridge + SSD: CFQ ...... 88.41 |======================================= Sandy Bridge + SSD: Noop ..... 89.53 |======================================== Sandy Bridge + SSD: Deadline . 88.82 |======================================= Clarksfield + SSD: CFQ ....... 89.59 |======================================== Clarksfield + SSD: Noop ...... 91.12 |======================================== Clarksfield + SSD: Deadline .. 92.79 |========================================= Threaded I/O Tester 0.3.3 Test: Random Write - Size Per Thread: 64MB - Thread Count: 8 MB/s > Higher Is Better Penryn + HDD: CFQ ............ 2.74 |= Penryn + HDD: Noop ........... 2.68 |= Penryn + HDD: Deadline ....... 2.70 |= Sandy Bridge + SSD: CFQ ...... 90.34 |======================================= Sandy Bridge + SSD: Noop ..... 89.96 |======================================= Sandy Bridge + SSD: Deadline . 90.23 |======================================= Clarksfield + SSD: CFQ ....... 89.15 |======================================= Clarksfield + SSD: Noop ...... 93.61 |========================================= Clarksfield + SSD: Deadline .. 94.70 |========================================= Apache Benchmark 2.2.21 Static Web Page Serving Requests Per Second > Higher Is Better Penryn + HDD: CFQ ............ 11255.18 |===================== Penryn + HDD: Noop ........... 11570.62 |====================== Penryn + HDD: Deadline ....... 11320.64 |====================== Sandy Bridge + SSD: CFQ ...... 19806.55 |====================================== Sandy Bridge + SSD: Noop ..... 19836.92 |====================================== Sandy Bridge + SSD: Deadline . 19903.83 |====================================== Clarksfield + SSD: CFQ ....... 14233.48 |=========================== Clarksfield + SSD: Noop ...... 14144.83 |=========================== Clarksfield + SSD: Deadline .. 14135.51 |=========================== NGINX Benchmark 1.0.11 Static Web Page Serving Requests Per Second > Higher Is Better Penryn + HDD: CFQ ............ 14157.59 |==================== Penryn + HDD: Noop ........... 14181.20 |==================== Penryn + HDD: Deadline ....... 14207.02 |==================== Sandy Bridge + SSD: CFQ ...... 27044.65 |===================================== Sandy Bridge + SSD: Noop ..... 27426.18 |====================================== Sandy Bridge + SSD: Deadline . 27437.35 |====================================== Clarksfield + SSD: CFQ ....... 15722.56 |====================== Clarksfield + SSD: Noop ...... 15747.16 |====================== Clarksfield + SSD: Deadline .. 15762.83 |====================== PostMark 1.51 Disk Transaction Performance TPS > Higher Is Better Penryn + HDD: CFQ ........... 1388 |======================== Penryn + HDD: Noop .......... 1388 |======================== Penryn + HDD: Deadline ...... 1388 |======================== Clarksfield + SSD: Noop ..... 2500 |=========================================== Clarksfield + SSD: Deadline . 2500 |=========================================== PostgreSQL pgbench 8.4.11 TPC-B Transactions Per Second TPS > Higher Is Better Penryn + HDD: CFQ ............ 112.00 |== Penryn + HDD: Noop ........... 112.76 |== Penryn + HDD: Deadline ....... 112.57 |== Sandy Bridge + SSD: CFQ ...... 2420.24 |======================================= Sandy Bridge + SSD: Noop ..... 1643.91 |========================== Sandy Bridge + SSD: Deadline . 1863.23 |============================== Clarksfield + SSD: CFQ ....... 2357.81 |====================================== Clarksfield + SSD: Noop ...... 2021.72 |================================= Clarksfield + SSD: Deadline .. 1940.40 |=============================== Timed Linux Kernel Compilation 3.1 Time To Compile Seconds < Lower Is Better Penryn + HDD: CFQ ............ 329.46 |======================================== Penryn + HDD: Noop ........... 329.42 |======================================== Penryn + HDD: Deadline ....... 330.01 |======================================== Sandy Bridge + SSD: CFQ ...... 202.35 |========================= Sandy Bridge + SSD: Noop ..... 202.81 |========================= Sandy Bridge + SSD: Deadline . 203.12 |========================= Clarksfield + SSD: CFQ ....... 181.39 |====================== Clarksfield + SSD: Noop ...... 182.00 |====================== Clarksfield + SSD: Deadline .. 182.07 |====================== Timed PHP Compilation 5.2.9 Time To Compile Seconds < Lower Is Better Penryn + HDD: CFQ ............ 91.75 |========================================= Penryn + HDD: Noop ........... 91.89 |========================================= Penryn + HDD: Deadline ....... 91.80 |========================================= Sandy Bridge + SSD: CFQ ...... 57.01 |========================= Sandy Bridge + SSD: Noop ..... 57.58 |========================== Sandy Bridge + SSD: Deadline . 57.26 |========================== Clarksfield + SSD: CFQ ....... 52.42 |======================= Clarksfield + SSD: Noop ...... 52.62 |======================= Clarksfield + SSD: Deadline .. 52.59 |=======================