Code:
bonnie:~# cat /sys/block/sda/queue/scheduler
noop anticipatory deadline [cfq]
bonnie:~# bonnie++ -m host -r 4g -s 16g -u root
Using uid:0, gid:0.
Writing with putc()...done
Writing intelligently...done
Rewriting...done
Reading with getc()...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.03d ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
host 16G 53842 85 86796 20 47653 9 60388 82 100970 9 279.5 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 24623 36 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
host,16G,53842,85,86796,20,47653,9,60388,82,100970,9,279.5,1,16,24623,36,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
bonnie:~# bonnie++ -m kvm -r 4g -s 16g -u root
Using uid:0, gid:0.
Writing with putc()...done
Writing intelligently...done
Rewriting...done
Reading with getc()...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.03d ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
kvm 16G 13679 33 14600 11 24881 9 44756 74 66222 12 180.2 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 28597 71 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
kvm,16G,13679,33,14600,11,24881,9,44756,74,66222,12,180.2,1,16,28597,71,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
Het viel me op dat de ksmd erg veel processor gebruikte tijdens deze testen in de vm.