Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

[Xen-devel] qemu-dm cpu utilization

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] qemu-dm cpu utilization
From: "McAfee, Tommie M" <Tommie.McAfee@xxxxxxxxxx>
Date: Sat, 26 Aug 2006 12:16:30 -0400
Delivery-date: Sat, 26 Aug 2006 09:17:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbJKv19/U8dkyKGQoGJXWqmnMhRxA==
Thread-topic: qemu-dm cpu utilization
Using an 8-way ES7000 with 32GB of ram, I'm running xen at changset 11217
with dom0_mem=3092M as a kernel parameter on a x86_64 hyperviser.

It appears that qemu is adding too much overhead to
virtual machines to display graphics.
If I boot a sles9sp3 domVT in runlevel 5 with vga=0x314 for a graphicalboot, 
and immediately use
vncviewer simply to watch the virtual machine as it boots,
qemu-dm consumes 40% cpu as soon as vncviewer is launched and remains that way 
throughout this entire process  without settling down when the login screen 
appears.
Even If I close the console that's viewing the virtual host,  qemu-dm remains 
at 40-44%.


When booting the same domVT in runlevel 5 without ever attempting to connect to 
it with
vncviewer, qemu-dm fluctuated from 1-3% while the host was booting and then 
settled to 0.2% after 4-5 mins.  Assuming that the boot process was complete, I 
launched vncviewer and qemu-dm jumped up to a 40-44% range again.

Lastly I started the same host in runlevel 3 in pure text mode without any
vga parameters on the kernel line, connected to the virtual machine with
vncviewer, and watched the machine boot until a login prompt appeared.  At
this point, top showed qemu-dm as using 0% of the cpu.  Logging into the
virtual machine and running 'startx' however sent qemu-dm back up to a 40-
44% range.

Why is qemu-dm consuming so much of the cpu?  Why is qemu-dm still high
even when I close my vncviewer?

Tommie,
Xen Test Team
Unisys 

Attachment: sles9sp3.hvm
Description: sles9sp3.hvm

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>