From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWjkc-0001Nu-FD for qemu-devel@nongnu.org; Fri, 19 Feb 2016 07:01:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWjkY-00041D-P3 for qemu-devel@nongnu.org; Fri, 19 Feb 2016 07:01:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWjkY-000419-Ji for qemu-devel@nongnu.org; Fri, 19 Feb 2016 07:01:30 -0500 Date: Fri, 19 Feb 2016 12:01:27 +0000 From: "Daniel P. Berrange" Message-ID: <20160219120126.GD12919@redhat.com> References: <1051EFB4D3A1704680C38CCAAC5836D292F07603@WPTXMAIL2.ptx.axway.int> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1051EFB4D3A1704680C38CCAAC5836D292F07603@WPTXMAIL2.ptx.axway.int> Subject: Re: [Qemu-devel] %cpu used by qemu-kvm processes Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jean-Pierre Ribeauville Cc: "qemu-devel@nongnu.org" On Fri, Feb 19, 2016 at 11:58:38AM +0000, Jean-Pierre Ribeauville wrote: > Hi, > > My Guest users ask me why , from Host point of view , there is a big difference interm of CPU % used by qemu-kvmcontrolling processs : > > Result of "top" on the host : > > For Windows guests: > > 8680 qemu 20 0 4939588 4.092g 9668 S 12.6 8.7 927:46.78 qemu-kvm > 47377 qemu 20 0 2903560 2.121g 9676 S 11.6 4.5 587:08.42 qemu-kvm > > For Linux Guests: > > 120443 qemu 20 0 4832180 1.312g 9628 S 1.7 2.8 59:43.79 qemu-kvm > 43224 qemu 20 0 4825724 2.235g 9664 S 1.0 4.8 105:27.18 qemu-kvm > 44894 qemu 20 0 4864728 1.450g 9648 S 1.0 3.1 41:30.73 qemu-kvm > 45000 qemu 20 0 4862676 1.508g 9648 S 0.3 3.2 39:41.45 qemu-kvm > > > These guests are just booted , nothing special running on it as shown by "top" ran on the Linux Guest : > > %Cpu(s): 0.0 us, 0.2 sy, 0.0 ni, 99.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st > > Or on the Windows Guest > > C:\Users\Administrator>wmic cpu get loadpercentage > LoadPercentage > 0 > 0 > > Any idea to help me to answer them ? At the very least please show the command line arguments used to boot the windows guests, and the arguments used with the Linux guests. The choice of hardware config can have a significant impact on performance of different guests Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|