From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tokarev Subject: Re: high load with usb device Date: Tue, 14 Sep 2010 10:51:00 +0400 Message-ID: <4C8F1B54.60604@msgid.tls.msk.ru> References: <4C80E839.50604@msgid.tls.msk.ru> <4C8A1AE3.8030705@redhat.com> <4C8A2187.1020202@msgid.tls.msk.ru> <4C8A59FE.9090400@msgid.tls.msk.ru> <4C8C9CAA.9030203@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: KVM list , Jes Sorensen To: Avi Kivity Return-path: Received: from isrv.corpit.ru ([86.62.121.231]:36777 "EHLO isrv.corpit.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751389Ab0INGvE (ORCPT ); Tue, 14 Sep 2010 02:51:04 -0400 In-Reply-To: <4C8C9CAA.9030203@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 12.09.2010 13:26, Avi Kivity =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On 09/10/2010 07:17 PM, Michael Tokarev wrote: >> Note the changed subject line. >> >> I just did a few tests with linux guest (amd64 2.6.35 kernel). >> >> And it shows the same behavour as win7 (unlike winXP), namely, >> high host CPU load when guest is idle. >=20 > Not for me - F12 idle guest takes 3.5% cpu. >=20 > What does 'top' in the guest show now? Connect with ssh to avoid > triggering the GUI. Guest: Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, = 0.0%st Host: Cpu(s): 5.3%us, 6.7%sy, 0.0%ni, 88.0%id, 0.0%wa, 0.0%hi, 0.0%si, = 0.0%st PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 25685 mjt 20 0 1074m 109m 4652 S 19 1.9 0:29.03 qemu-syste= m-x86 So it appears it's the qemu process that's doing something, after all. Is there a way to compile it with profiling information? I tried, but it does not compile: it uses -fomit-frame-pointer which is not compatible with -p[g], but when removing -fo-f-p it complains about assembly. Thanks! /mjt