Bonnie++ 1.96
测试命令:bonnie -b -u root -d /root/tmpfile/
Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -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 jsjcloud20 32088M 763 97 61169 13 34234 6 1541 78 110327 7 284.7 11 Latency 39625us 7351ms 3251ms 24187us 102ms 190ms Version 1.96 ------Sequential Create------ --------Random Create-------- jsjcloud20 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 56 0 +++++ +++ 57 0 57 0 +++++ +++ 57 0 Latency 1016ms 895us 258ms 233ms 15us 233ms
Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -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 hadoop1 16G 739 96 28405 7 18972 5 3841 96 83858 13 188.9 12 Latency 13992us 873ms 6533ms 18113us 93496ms 291ms Version 1.96 ------Sequential Create------ --------Random Create-------- hadoop1 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 38 0 +++++ +++ 53 0 38 0 +++++ +++ 53 0 Latency 358ms 815us 1683ms 192ms 2205us 1733ms
Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -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 hadoop2 16G 599 89 2601 1 11303 6 3168 94 45889 7 156.6 2191 Latency 18105us 20413ms 8228ms 61058us 144ms 316ms Version 1.96 ------Sequential Create------ --------Random Create-------- hadoop2 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 37 0 +++++ +++ 49 0 37 0 +++++ +++ 53 0 Latency 338ms 743us 1797ms 421ms 2768us 1329ms
字符写 | block写 | 重写 | 字符读 | block读 | 随机访问 | |
---|---|---|---|---|---|---|
Host | 763 | 61169 | 34234 | 1541 | 110327 | 284.7 |
raw virtio | 739 | 28405 | 18972 | 3841 | 83858 | 188.9 |
qcow2 virtio | 599 | 2601 | 11303 | 3168 | 45889 | 156.6 |
KVM下raw和qcow2格式磁盘文件IO测试,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/heidsoft/p/3926938.html