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&grt&sor .
Processor Motherboard Chipset Memory Disk Graphics Audio Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution Penryn + HDD Sandy Bridge + SSD CFQ Noop Deadline CFQ Noop Deadline Intel Core 2 Duo T9300 @ 2.50GHz (2 Cores) LENOVO 6459CTO Intel Mobile PM965/GM965/GL960 + ICH8M-E 4096MB 100GB Hitachi HTS72201 NVIDIA Quadro NVS 140M 128MB (275/302MHz) Analog Devices AD1984 Intel 82566MM Gigabit Connection + Intel PRO/Wireless Ubuntu 12.04 3.4.0-999-generic (x86_64) Unity 5.8.0 X Server 1.11.3 nouveau 0.0.16 2.1 Mesa 8.0.2 Gallium 0.4 GCC 4.6 ext4 1680x1050 LLVMpipe NVIDIA Quadro NVS 140M 128MB (275/302MHz) Intel Core i5-2520M @ 2.50GHz (4 Cores) HP 161C Intel 2nd Generation Core Family DRAM 160GB INTEL SSDSA2M160 Intel Sandybridge Mobile (GT2+) IDT 92HD81B1X5 Intel 82579LM Gigabit Connection + Intel Centrino Advanced-N 6205 intel 2.17.0 3.0 Mesa 8.0.2 1600x900 OpenBenchmarking.org Compiler 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,rw Processor Details - Scaling Governor: ondemand System 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.
apache: Static Web Page Serving blogbench: Write compilebench: Compile compilebench: Initial Create compilebench: Read Compiled Tree fs-mark: 5000 Files, 1MB Size, 4 Threads fs-mark: 1000 Files, 1MB Size fs-mark: 4000 Files, 32 Sub Dirs, 1MB Size fs-mark: 1000 Files, 1MB Size, No Sync/FSync iozone: 64Kb - 8GB - Read Performance iozone: 64Kb - 8GB - Write Performance nginx: Static Web Page Serving pgbench: TPC-B Transactions Per Second postmark: Disk Transaction Performance tiobench: Rand Write - 128MB - 8 tiobench: Rand Write - 128MB - 16 tiobench: Rand Write - 64MB - 16 tiobench: Rand Write - 64MB - 8 build-linux-kernel: Time To Compile build-php: Time To Compile Penryn + HDD Sandy Bridge + SSD CFQ Noop Deadline CFQ Noop Deadline 11255.18 923 40.33 47.62 48.68 36.00 17.77 18.20 68.70 65.47 52.36 14157.59 112.00 1388 2.01 1.93 2.74 2.74 329.46 91.75 11570.62 783 36.28 45.71 51.19 35.03 16.23 17.22 68.10 62.49 56.01 14181.20 112.76 1388 1.82 1.74 2.20 2.68 329.42 91.89 11320.64 882 43.61 45.65 50.43 36.07 19.53 20.57 68.60 64.36 54.04 14207.02 112.57 1388 1.98 1.93 2.76 2.70 330.01 91.80 19806.55 1531 107.71 100.69 151.59 99.33 76.90 77.43 145.35 254.84 107.03 27044.65 2420.24 88.30 87.37 88.41 90.34 202.35 57.01 19836.92 3079 83.07 81.34 126.82 96.20 76.07 75.87 152.17 253.71 103.37 27426.18 1643.91 82.25 87.98 89.53 89.96 202.81 57.58 19903.83 2796 78.51 83.86 126.27 96.00 75.27 75.50 146.17 251.98 99.33 27437.35 1863.23 68.56 80.29 88.82 90.23 203.12 57.26 OpenBenchmarking.org
Apache Benchmark Static Web Page Serving Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org Requests Per Second, More Is Better Apache Benchmark 2.2.21 Static Web Page Serving Deadline Noop CFQ 4K 8K 12K 16K 20K SE +/- 43.97, N = 3 SE +/- 174.94, N = 3 SE +/- 92.62, N = 3 SE +/- 26.41, N = 3 SE +/- 93.72, N = 3 SE +/- 39.53, N = 3 19903.83 19836.92 19806.55 11570.62 11320.64 11255.18 1. (CC) gcc options: -O2 -pthread -lm -lrt -lcrypt -lpthread -ldl
BlogBench Test: Write Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org Final Score, More Is Better BlogBench 1.0 Test: Write Noop Deadline CFQ 700 1400 2100 2800 3500 SE +/- 173.66, N = 6 SE +/- 107.67, N = 6 SE +/- 23.59, N = 6 SE +/- 17.23, N = 6 SE +/- 12.59, N = 5 SE +/- 12.94, N = 6 3079 2796 1531 923 882 783 1. (CC) gcc options: -O2 -pthread
Compile Bench Test: Compile Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Compile CFQ Noop Deadline 20 40 60 80 100 SE +/- 0.62, N = 3 SE +/- 0.53, N = 3 SE +/- 1.07, N = 3 SE +/- 0.46, N = 3 SE +/- 0.18, N = 3 SE +/- 0.50, N = 3 107.71 83.07 78.51 43.61 40.33 36.28
Compile Bench Test: Initial Create Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Initial Create CFQ Deadline Noop 20 40 60 80 100 SE +/- 1.90, N = 3 SE +/- 2.04, N = 3 SE +/- 0.13, N = 3 SE +/- 0.11, N = 2 SE +/- 0.71, N = 3 SE +/- 3.02, N = 3 100.69 83.86 81.34 47.62 45.71 45.65
Compile Bench Test: Read Compiled Tree Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Read Compiled Tree CFQ Noop Deadline 30 60 90 120 150 SE +/- 1.30, N = 3 SE +/- 1.12, N = 3 SE +/- 2.50, N = 3 SE +/- 0.46, N = 3 SE +/- 0.91, N = 3 SE +/- 0.90, N = 3 151.59 126.82 126.27 51.19 50.43 48.68
FS-Mark Test: 5000 Files, 1MB Size, 4 Threads Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 5000 Files, 1MB Size, 4 Threads CFQ Noop Deadline 20 40 60 80 100 SE +/- 0.13, N = 3 SE +/- 0.12, N = 3 SE +/- 0.40, N = 3 SE +/- 1.17, N = 6 SE +/- 0.69, N = 3 SE +/- 0.73, N = 6 99.33 96.20 96.00 36.07 36.00 35.03 1. (CC) gcc options: -static
FS-Mark Test: 1000 Files, 1MB Size Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 1000 Files, 1MB Size CFQ Noop Deadline 20 40 60 80 100 SE +/- 0.75, N = 3 SE +/- 0.74, N = 3 SE +/- 0.79, N = 3 SE +/- 0.15, N = 3 SE +/- 0.03, N = 3 SE +/- 0.19, N = 3 76.90 76.07 75.27 19.53 17.77 16.23 1. (CC) gcc options: -static
FS-Mark Test: 4000 Files, 32 Sub Dirs, 1MB Size Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 4000 Files, 32 Sub Dirs, 1MB Size CFQ Noop Deadline 20 40 60 80 100 SE +/- 0.03, N = 3 SE +/- 0.20, N = 3 SE +/- 0.15, N = 3 SE +/- 0.37, N = 3 SE +/- 0.12, N = 3 SE +/- 0.67, N = 6 77.43 75.87 75.50 20.57 18.20 17.22 1. (CC) gcc options: -static
FS-Mark Test: 1000 Files, 1MB Size, No Sync/FSync Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 1000 Files, 1MB Size, No Sync/FSync Noop Deadline CFQ 30 60 90 120 150 SE +/- 0.71, N = 3 SE +/- 2.71, N = 3 SE +/- 2.33, N = 6 SE +/- 1.33, N = 3 SE +/- 1.10, N = 3 SE +/- 0.89, N = 3 152.17 146.17 145.35 68.70 68.60 68.10 1. (CC) gcc options: -static
IOzone Record Size: 64Kb - File Size: 8GB - Disk Test: Read Performance Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org MB/s, More Is Better IOzone 3.347 Record Size: 64Kb - File Size: 8GB - Disk Test: Read Performance CFQ Noop Deadline 60 120 180 240 300 SE +/- 0.03, N = 3 SE +/- 0.30, N = 3 SE +/- 0.71, N = 3 SE +/- 0.26, N = 3 SE +/- 0.31, N = 3 SE +/- 0.29, N = 3 254.84 253.71 251.98 65.47 64.36 62.49 1. (CC) gcc options: -O3
IOzone Record Size: 64Kb - File Size: 8GB - Disk Test: Write Performance Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org MB/s, More Is Better IOzone 3.347 Record Size: 64Kb - File Size: 8GB - Disk Test: Write Performance CFQ Noop Deadline 20 40 60 80 100 SE +/- 0.33, N = 3 SE +/- 0.06, N = 3 SE +/- 1.61, N = 3 SE +/- 3.28, N = 6 SE +/- 3.31, N = 6 SE +/- 2.88, N = 6 107.03 103.37 99.33 56.01 54.04 52.36 1. (CC) gcc options: -O3
NGINX Benchmark Static Web Page Serving Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org Requests Per Second, More Is Better NGINX Benchmark 1.0.11 Static Web Page Serving Deadline Noop CFQ 6K 12K 18K 24K 30K SE +/- 228.12, N = 3 SE +/- 368.02, N = 3 SE +/- 381.12, N = 3 SE +/- 40.09, N = 3 SE +/- 18.78, N = 3 SE +/- 64.83, N = 3 27437.35 27426.18 27044.65 14207.02 14181.20 14157.59 1. (CC) gcc options: -lpthread -lcrypt -lz
PostgreSQL pgbench TPC-B Transactions Per Second Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 8.4.11 TPC-B Transactions Per Second CFQ Deadline Noop 500 1000 1500 2000 2500 SE +/- 114.10, N = 6 SE +/- 51.48, N = 6 SE +/- 21.31, N = 3 SE +/- 0.75, N = 3 SE +/- 0.48, N = 3 SE +/- 0.29, N = 3 2420.24 1863.23 1643.91 112.76 112.57 112.00 1. (CC) gcc options: -O2 -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm
PostMark Disk Transaction Performance OpenBenchmarking.org TPS, More Is Better PostMark 1.51 Disk Transaction Performance Deadline Noop CFQ 300 600 900 1200 1500 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 1388 1388 1388
Threaded I/O Tester Test: Random Write - Size Per Thread: 128MB - Thread Count: 8 Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org MB/s, More Is Better Threaded I/O Tester 0.3.3 Test: Random Write - Size Per Thread: 128MB - Thread Count: 8 CFQ Noop Deadline 20 40 60 80 100 SE +/- 0.48, N = 4 SE +/- 5.55, N = 8 SE +/- 8.87, N = 8 SE +/- 0.01, N = 4 SE +/- 0.01, N = 4 SE +/- 0.01, N = 4 88.30 82.25 68.56 2.01 1.98 1.82
Threaded I/O Tester Test: Random Write - Size Per Thread: 128MB - Thread Count: 16 Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org MB/s, More Is Better Threaded I/O Tester 0.3.3 Test: Random Write - Size Per Thread: 128MB - Thread Count: 16 Noop CFQ Deadline 20 40 60 80 100 SE +/- 0.39, N = 4 SE +/- 0.38, N = 4 SE +/- 5.12, N = 8 SE +/- 0.02, N = 4 SE +/- 0.02, N = 4 SE +/- 0.02, N = 4 87.98 87.37 80.29 1.93 1.93 1.74
Threaded I/O Tester Test: Random Write - Size Per Thread: 64MB - Thread Count: 16 Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org MB/s, More Is Better Threaded I/O Tester 0.3.3 Test: Random Write - Size Per Thread: 64MB - Thread Count: 16 Noop Deadline CFQ 20 40 60 80 100 SE +/- 0.23, N = 4 SE +/- 0.75, N = 4 SE +/- 0.18, N = 4 SE +/- 0.03, N = 4 SE +/- 0.01, N = 4 SE +/- 0.05, N = 8 89.53 88.82 88.41 2.76 2.74 2.20
Threaded I/O Tester Test: Random Write - Size Per Thread: 64MB - Thread Count: 8 Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org MB/s, More Is Better Threaded I/O Tester 0.3.3 Test: Random Write - Size Per Thread: 64MB - Thread Count: 8 CFQ Deadline Noop 20 40 60 80 100 SE +/- 0.46, N = 4 SE +/- 0.36, N = 4 SE +/- 0.16, N = 4 SE +/- 0.03, N = 4 SE +/- 0.02, N = 4 SE +/- 0.15, N = 8 90.34 90.23 89.96 2.74 2.70 2.68
Timed Linux Kernel Compilation Time To Compile Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org Seconds, Fewer Is Better Timed Linux Kernel Compilation 3.1 Time To Compile CFQ Noop Deadline 70 140 210 280 350 SE +/- 0.73, N = 3 SE +/- 0.76, N = 3 SE +/- 0.74, N = 3 SE +/- 0.83, N = 3 SE +/- 0.82, N = 3 SE +/- 0.75, N = 3 202.35 202.81 203.12 329.42 329.46 330.01
Timed PHP Compilation Time To Compile Sandy Bridge + SSD Penryn + HDD OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile CFQ Deadline Noop 20 40 60 80 100 SE +/- 0.06, N = 3 SE +/- 0.36, N = 3 SE +/- 0.76, N = 3 SE +/- 0.11, N = 3 SE +/- 0.18, N = 3 SE +/- 0.16, N = 3 57.01 57.26 57.58 91.75 91.80 91.89 1. (CC) gcc options: -O2 -pedantic -ldl -lz -lm
Phoronix Test Suite v10.8.4