#!/bin/bash SCHEDS="anticipatory deadline cfq noop" for sda in $SCHEDS; do for sdb in $SCHEDS; do echo $sda > /sys/block/sda/queue/scheduler echo $sdb > /sys/block/sdb/queue/scheduler echo -n "Selected scheduler for sda:" cat /sys/block/sda/queue/scheduler echo -n "Selected scheduler for sdb:" cat /sys/block/sdb/queue/scheduler echo "Running bonnie now" bonnie++ -m "schedd-$sda-$sdb-main" -s32g -u 1000 -g 1000 -d /data/bonnie done done
Sequential Output | Sequential Input | Random Seeks |
Sequential Create | Random Create | ||||||||||||||||||||||
Size:Chunk Size | Per Char | Block | Rewrite | Per Char | Block | Num Files | Create | Read | Delete | Create | Read | Delete | ||||||||||||||
K/sec | % CPU | K/sec | % CPU | K/sec | % CPU | K/sec | % CPU | K/sec | % CPU | / sec | % CPU | / sec | % CPU | / sec | % CPU | / sec | % CPU | / sec | % CPU | / sec | % CPU | / sec | % CPU | |||
schedd-anticipatory-anticipatory | 32G | 77106 | 99 | 518653 | 58 | 208325 | 31 | 69708 | 78 | 460841 | 34 | 309.1 | 0 | 16 | 24122 | 98 | +++++ | +++ | 20258 | 87 | 24035 | 98 | +++++ | +++ | 18786 | 80 |
schedd-anticipatory-deadline | 32G | 75989 | 99 | 504647 | 56 | 155807 | 22 | 69450 | 95 | 464317 | 33 | 465.8 | 0 | 16 | 24150 | 97 | +++++ | +++ | 19847 | 86 | 24222 | 99 | +++++ | +++ | 18192 | 75 |
schedd-anticipatory-cfq | 32G | 77225 | 99 | 348817 | 43 | 144939 | 27 | 74010 | 98 | 654764 | 51 | 429.7 | 0 | 16 | 23936 | 96 | +++++ | +++ | 19665 | 75 | 24032 | 99 | +++++ | +++ | 18079 | 79 |
schedd-anticipatory-noop | 32G | 77229 | 99 | 517279 | 58 | 155153 | 22 | 68195 | 90 | 463778 | 32 | 398.5 | 0 | 16 | 24136 | 98 | +++++ | +++ | 20146 | 79 | 24217 | 100 | +++++ | +++ | 18504 | 86 |
schedd-deadline-anticipatory | 32G | 77171 | 99 | 500043 | 57 | 215317 | 34 | 68825 | 90 | 463041 | 34 | 286.6 | 0 | 16 | 24156 | 98 | +++++ | +++ | 20131 | 76 | 24204 | 97 | +++++ | +++ | 18500 | 75 |
schedd-deadline-deadline | 32G | 76833 | 99 | 505958 | 57 | 154743 | 22 | 69260 | 90 | 463529 | 34 | 464.6 | 0 | 16 | 24095 | 97 | +++++ | +++ | 19823 | 75 | 24056 | 99 | +++++ | +++ | 18235 | 77 |
schedd-deadline-cfq | 32G | 77253 | 99 | 353386 | 44 | 144172 | 28 | 75664 | 98 | 634247 | 48 | 460.2 | 0 | 16 | 24082 | 97 | +++++ | +++ | 20001 | 80 | 23999 | 99 | +++++ | +++ | 18526 | 74 |
schedd-deadline-noop | 32G | 77189 | 99 | 495193 | 56 | 158175 | 22 | 69157 | 90 | 464012 | 34 | 461.4 | 0 | 16 | 24174 | 98 | +++++ | +++ | 20118 | 78 | 24109 | 94 | +++++ | +++ | 18566 | 79 |
schedd-cfq-anticipatory | 32G | 76667 | 99 | 506670 | 57 | 212186 | 33 | 69331 | 90 | 470267 | 34 | 293.4 | 0 | 16 | 24069 | 99 | +++++ | +++ | 20109 | 78 | 24111 | 97 | +++++ | +++ | 18551 | 76 |
schedd-cfq-deadline | 32G | 77117 | 99 | 480250 | 54 | 158195 | 22 | 69394 | 89 | 461813 | 34 | 395.1 | 0 | 16 | 24257 | 99 | +++++ | +++ | 20143 | 78 | 24192 | 95 | +++++ | +++ | 18539 | 82 |
schedd-cfq-cfq | 32G | 75483 | 99 | 306848 | 38 | 146007 | 27 | 74825 | 98 | 652817 | 51 | 397.9 | 0 | 16 | 24123 | 95 | +++++ | +++ | 19729 | 77 | 24093 | 99 | +++++ | +++ | 18181 | 84 |
schedd-cfq-noop | 32G | 77124 | 99 | 491633 | 54 | 155101 | 22 | 68557 | 89 | 463762 | 34 | 421.2 | 0 | 16 | 24119 | 100 | +++++ | +++ | 20186 | 80 | 24219 | 99 | +++++ | +++ | 18540 | 84 |
schedd-noop-anticipatory | 32G | 77241 | 99 | 504024 | 57 | 193054 | 30 | 69553 | 90 | 460988 | 33 | 320.1 | 0 | 16 | 23760 | 100 | +++++ | +++ | 19712 | 85 | 24118 | 98 | +++++ | +++ | 18152 | 72 |
schedd-noop-deadline | 32G | 67369 | 99 | 494487 | 56 | 157277 | 22 | 68154 | 90 | 462037 | 33 | 474.4 | 0 | 16 | 23986 | 96 | +++++ | +++ | 19727 | 75 | 24183 | 97 | +++++ | +++ | 18546 | 72 |
schedd-noop-cfq | 32G | 76447 | 99 | 356155 | 44 | 151145 | 29 | 75676 | 98 | 645228 | 51 | 463.1 | 0 | 16 | 24011 | 98 | +++++ | +++ | 19400 | 69 | 24117 | 98 | +++++ | +++ | 18095 | 87 |
schedd-noop-noop | 32G | 76760 | 99 | 499945 | 55 | 156119 | 22 | 69071 | 90 | 462026 | 33 | 438.5 | 0 | 16 | 23792 | 97 | +++++ | +++ | 19932 | 85 | 24106 | 98 | +++++ | +++ | 18354 | 79 |