From: Rob Landley <rob@landley.net>
To: Torbjorn Granlund <tg@gmplib.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Aurelien Jarno <aurelien@aurel32.net>,
Artyom Tarasenko <atar4qemu@gmail.com>,
qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Reporting Heisenbugs in qemu
Date: Wed, 08 May 2013 19:28:27 -0500 [thread overview]
Message-ID: <1368059307.18069.219@driftwood> (raw)
In-Reply-To: <86fvxxoldi.fsf@shell.gmplib.org> (from tg@gmplib.org on Wed May 8 04:45:45 2013)
On 05/08/2013 04:45:45 AM, Torbjorn Granlund wrote:
> Paolo Bonzini <pbonzini@redhat.com> writes:
>
> I guess that's the register windows. There's only so much you can
> do to
> optimize them, and heavily recursive workloads (like Perl, or the
> RTL
> half of GCC) pay a hefty price.
>
> Two qemu targets stand out for slowness, sparc (32 and 64) and mips
> (64,
> don't know about 32).
>
> x86 (32 and 64), arm, and ppc run with a slowdown of < 30 for my bogus
> benchmark of GMP configure+make.
>
> With FreeBSD x86_64 I see a slowdown of just 13. (My reference system
> runs FreeBSD, so running FreeBSD under qemu is only far.)
>
> My claimed slowdown factors are affected by kernel, libraries, and
> unfortunately very much by gcc speed, which vary with target.
>
> If the sparc emulation speed is due to register windows, then why does
> mips seem just as slow?
>
> If register windows shortage is a problem, it should be easy to
> pretend
> to have lots of them, right?
sh4 is pretty slow too. Unfortunately:
http://landley.net/aboriginal/bin/system-image-sh4.tar.bz2
Only has 64 megs of memory in the emulated board. (Enough to build
hello world, not enough to build most packages.) I have a vague todo
item to add a command line thing to qemu to plug a physical memory
address range into an aribtrary address and then tell linux
discontigmem "add memory range HERE" on the command line. That way I
wouldn't have to hack up each board emulation to get more memory...)
Rob
prev parent reply other threads:[~2013-05-09 0:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-07 11:38 [Qemu-devel] Reporting Heisenbugs in qemu Torbjorn Granlund
2013-05-07 13:25 ` Mark Cave-Ayland
2013-05-07 15:50 ` Aurelien Jarno
2013-05-07 16:18 ` Torbjorn Granlund
2013-05-07 21:29 ` Artyom Tarasenko
2013-05-07 21:43 ` Torbjorn Granlund
2013-05-07 21:53 ` Artyom Tarasenko
2013-05-07 23:06 ` Torbjorn Granlund
2013-05-07 22:57 ` Aurelien Jarno
2013-05-08 7:25 ` Paolo Bonzini
2013-05-08 9:45 ` Torbjorn Granlund
2013-05-08 10:18 ` Paolo Bonzini
2013-05-09 18:15 ` Blue Swirl
2013-05-08 10:35 ` Aurelien Jarno
2013-05-09 0:28 ` Rob Landley [this message]
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=1368059307.18069.219@driftwood \
--to=rob@landley.net \
--cc=atar4qemu@gmail.com \
--cc=aurelien@aurel32.net \
--cc=pbonzini@redhat.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).