From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: Torbjorn Granlund <tg@gmplib.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Qemu varying performance
Date: Wed, 28 Sep 2011 11:34:33 +0200 [thread overview]
Message-ID: <20110928093433.GA13116@edde.se.axis.com> (raw)
In-Reply-To: <86ty7xfr7c.fsf@shell.gmplib.org>
On Wed, Sep 28, 2011 at 02:25:43AM +0200, Torbjorn Granlund wrote:
> Running Debian's vmlinux-2.6.32-5-4kc-malta under qemu-system-mips works
> very well--the system is fast, and when it is idle the qemu-system-mips
> process on the host system consumes insignificant CPU. (The same is
> true for qemu-system-mipsel, using the correesponding 'el' Debian
> kernel.)
>
> 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 the
> corresponding 64-bit el kernel.)
>
> This cpu usage makes it somewhat inconvenient to let the qemu processes
> stay running. Is there anything that can be done about the cpu usage?
> Is it a Linux problem (say, that the 64-bit kernel fails to invoke some
> clever system sleep instruction when in the idle loop), or is it a qemu
> problem?
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.
> Another issue I ran into what the sh4 qemu performance. It is much
> worse than other qemu ports (except perhaps ppc64). What is the reason
> behind that? (The idle thing works well for sh4, though.)
IIRC, the SH has an MMU that is a bit problematic wrt performance in QEMU.
Cheers
next prev parent reply other threads:[~2011-09-28 9:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-28 0:25 [Qemu-devel] Qemu varying performance Torbjorn Granlund
2011-09-28 7:15 ` Andreas Färber
2011-09-28 8:23 ` Torbjorn Granlund
2011-09-28 9:34 ` Edgar E. Iglesias [this message]
2011-09-29 14:53 ` Torbjorn Granlund
-- strict thread matches above, loose matches on Subject: below --
2005-01-26 2:49 [Qemu-devel] qemu " Lee
2005-01-26 13:34 ` Johannes Schindelin
2005-01-26 14:49 ` Daniel Egger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110928093433.GA13116@edde.se.axis.com \
--to=edgar.iglesias@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=tg@gmplib.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).