Received: from eggs.gnu.org ([140.186.70.92]:42435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9Hzx-00052h-QN for qemu-devel@nongnu.org; Thu, 29 Sep 2011 10:54:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9Hzo-0002Q7-5l for qemu-devel@nongnu.org; Thu, 29 Sep 2011 10:54:05 -0400 Received: from gmplib-02.nada.kth.se ([130.237.222.242]:35171 helo=shell.gmplib.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9Hzn-0002Pk-UH for qemu-devel@nongnu.org; Thu, 29 Sep 2011 10:53:56 -0400 References: <86ty7xfr7c.fsf@shell.gmplib.org> <20110928093433.GA13116@edde.se.axis.com> From: Torbjorn Granlund Sender: tg@gmplib.org Date: Thu, 29 Sep 2011 16:53:52 +0200 In-Reply-To: <20110928093433.GA13116@edde.se.axis.com> (Edgar E. Iglesias's message of "Wed\, 28 Sep 2011 11\:34\:33 +0200") Message-ID: <86pqij5ri7.fsf@shell.gmplib.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Qemu varying performance List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org "Edgar E. Iglesias" writes: > But running Debian's 64-bit kernel vmlinux-2.6.32-5-5kc-malta under > qemu-system-mips64 consumes 100% on the host system, whether the guest > is idle or busy. (And for qemu-system-mips64el, the same is true for t= he > corresponding 64-bit el kernel.) Hi, It could be any of them or both. You'll have to dig a bit deeper and see if WAIT insns are beeing issued and if QEMU is successfully decoding them etc. =20=20 Thanks for this advice! I naively ran 'objdump -dw' on the kernel, looked for wait, and thanks to the naming of kernel idle loop functions, was able to make educated guesses about which processors would be fed the 'wait' instruction. The feeble conclusion made, that passing '-cpu 5Kc' to qemu-system-mips64{el,} would help, turned out to be correct--now my mips64 systems uses insignificant host CPU when they idle. --=20 Torbj=F6rn