kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* KVM performance
@ 2009-04-03 11:32 BRAUN, Stefanie
  2009-04-06 11:45 ` Avi Kivity
  2009-04-06 12:13 ` Hauke Hoffmann
  0 siblings, 2 replies; 14+ messages in thread
From: BRAUN, Stefanie @ 2009-04-03 11:32 UTC (permalink / raw)
  To: kvm


Hallo,

as I want to switch from XEN to KVM I've made some performance tests
to see if KVM is as peformant as XEN. But tests with a VMU that receives
a streamed video, adds a small logo to the video and streams it to a
client
have shown that XEN performs much betten than KVM. 
In XEN the vlc (videolan client used to receive, process and send the
video) process 
within the vmu has a cpuload of 33,8 % whereas in KVM
the vlc process has a cpuload of 99.9 %.
I'am not sure why, does anybody now some settings to improve
the KVM performance?

Thank you.
Regards, Stefanie.


Used hardware and settings:
In the tests I've used the same host hardware for XEN and KVM:
- Dual Core AMD 2.2 GHz, 8 GB RAM
- Tested OSes for KVM Host: Fedora 10, 2.6.27.5-117.fc10.x86_64 with kvm
version 10.fc10 version 74
                            also tested in january: compiled kernel with
kvm-83

- KVM Guest settings: OS: Fedora 9 2.6.25-14.fc9.x86_64 (i386 also
tested)
                      RAM: 256 MB (same for XEN vmu)
                      CPU: 1 Core with 2,2 GHz (same for XEN vmu)
			    tested nic models: rtl8139, e1000, virtio

Tested Scenario: VMU receives a streamed video , adds a logo (watermark)
to the video stream and then streams it to a client

Results:
	
XEN:
Host cpu load (virt-manager): 		23%
VMU  cpu load (virt-manager):			18 %	
VLC process within VMU (top):			33,8%			

KVM:
no virt-manager cpu load as I started the vmu with the kvm command
Host cpu load :					52%
qemu-kvm process (top)				77-100%
VLC process within vmu (top):			80 - 99,9%

KVM command to start vmu
/usr/bin/qemu-kvm -boot c -hda /images/vmu01.raw -m 256 -net
nic,vlan=0,macaddr=aa:bb:cc:dd:ee:10,model=virtio -net
tap,ifname=tap0,vlan=0,script=/etc/kvm/qemu-ifup,downscript=/etc/kvm/qem
u-ifdown -vnc 127.0.0.1:1 -k de --daemonize





________________________________

Alcatel-Lucent Deutschland AG
Bell Labs Germany
Service Infrastructure, ZFZ-SI
Stefanie Braun
Phone:   +49.711.821-34865
Fax:     +49.711.821-32453

Postal address:
Alcatel-Lucent Deutschland AG
Lorenzstrasse 10
D-70435 STUTTGART

Mail: stefanie.braun@alcatel-lucent.de

 

Alcatel-Lucent Deutschland AG
Sitz der Gesellschaft: Stuttgart - Amtsgericht Stuttgart HRB 4026
Vorsitzender des Aufsichtsrats: Michael Oppenhoff Vorstand: Alf Henryk
Wulf (Vors.), Dr. Rainer Fechner

________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-04-16 14:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-03 11:32 KVM performance BRAUN, Stefanie
2009-04-06 11:45 ` Avi Kivity
     [not found]   ` <133D9897FB9C5E4E9DF2779DC91E947C51834A@SLFSNX.rcs.alcatel-research.de>
     [not found]     ` <49DA2F54.8090109@redhat.com>
2009-04-07 17:00       ` AW: AW: " BRAUN, Stefanie
2009-04-07 17:34         ` Avi Kivity
2009-04-08 11:38           ` AW: " BRAUN, Stefanie
2009-04-09 15:34             ` BRAUN, Stefanie
2009-04-11 16:19               ` Avi Kivity
2009-04-14  8:26                 ` AW: " BRAUN, Stefanie
2009-04-14  8:47                   ` Avi Kivity
2009-04-16 13:27                     ` AW: " BRAUN, Stefanie
2009-04-16 14:40                       ` Avi Kivity
2009-04-06 12:13 ` Hauke Hoffmann
2009-04-06 16:30   ` AW: " BRAUN, Stefanie
2009-04-07 12:58   ` BRAUN, Stefanie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).