testing KVM with bad performance

frankyds

New Member
Mar 12, 2010
10
0
1
i have run 2 I/O benchmarks (bonnie++)

1. Host OS

Code:
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
proxmox         16G 43256  86 98548  27 45054   9 37183  97 110565   9 273.1   0
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
proxmox,16G,43256,86,98548,27,45054,9,37183,97,110565,9,273.1,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++


2. KVM Virtio & RAW image

Code:
Version 1.03c       ------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
localhost.local 16G 13910  68  6306   8 20223  17 25078  84 56290  19 136.6   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  9386  65 +++++ +++ +++++ +++ 21097  96 +++++ +++ +++++ +++
localhost.localdomain,16G,13910,68,6306,8,20223,17,25078,84,56290,19,136.6,1,16$
 
Last edited:
if you publish performance test please include more information about your setup.

  • hardware, especially storage and raid setup (cache settings controller, cache settings disks)
  • pveversion -v
  • pveperf results (on the host)
  • VM setup (post /etc/qemu-server/VMID.conf)
  • Guest OS
  • benchmark tool used, exact command
  • and include a conclusion
 
DELL R210 X3450 8GB RAM 1x250GB SATA (3ware raid with 2x sata will be installed today)

proxmox:~# pveversion -v
pve-manager: 1.5-8 (pve-manager/1.5/4674)
running kernel: 2.6.32-1-pve
proxmox-ve-2.6.32: 1.5-4
pve-kernel-2.6.32-1-pve: 2.6.32-4
pve-kernel-2.6.18-2-pve: 2.6.18-5
qemu-server: 1.1-11
pve-firmware: 1.0-3
libpve-storage-perl: 1.0-10
vncterm: 0.9-2
vzctl: 3.0.23-1pve8
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.11.1-2
ksm-control-daemon: 1.0-3

proxmox:~# pveperf
CPU BOGOMIPS: 42558.01
REGEX/SECOND: 919597
HD SIZE: 57.09 GB (/dev/mapper/pve-root)
BUFFERED READS: 105.92 MB/sec
AVERAGE SEEK TIME: 8.76 ms
DNS EXT: 123.85 ms
DNS INT: 108.16 ms

proxmox:~# cat /etc/qemu-server/101.conf
name: test2ide
ide2: cdrom,media=cdrom
vlan0: rtl8139=22:52:62:E1:2A:1C
bootdisk: ide0
ostype: other
ide0: local:101/vm-101-disk-1.raw
memory: 1000
onboot: 1
sockets: 1


Guest OS: fedora 11

Benchmark : bonnie++ -s 16384
 
i have better results with IDE :

Code:
Version 1.03c       ------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
localhost.local 16G 26800  83 26574  22 26839  23 30884  89 97885  29 186.6   5
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  5111  57 +++++ +++ +++++ +++ 10132  87 +++++ +++ +++++ +++
localhost.localdomain,16G,26800,83,26574,22,26839,23,30884,89,97885,29,186.6,5,$
 
why does pveperf does not show fsyc/sec?
 
can you retest as soon as we released a new kvm version? just follow the news and announcements.