From: Aurelien Jarno <aurelien@aurel32.net>
To: Richard Henderson <rth@twiddle.net>
Cc: Blue Swirl <blauwirbel@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] target-sparc register window handling
Date: Mon, 8 Oct 2012 08:17:47 +0200 [thread overview]
Message-ID: <20121008061747.GE4055@ohm.aurel32.net> (raw)
In-Reply-To: <20121006101516.GK4623@ohm.aurel32.net>
On Sat, Oct 06, 2012 at 12:15:16PM +0200, Aurelien Jarno wrote:
> On Fri, Oct 05, 2012 at 05:00:04PM -0700, Richard Henderson wrote:
> > This applies with or without the sparc-compare patch set I
> > recently sent, and it works with the same set of tests.
> >
> > I've not had time to do true benchmarking on this, but it
> > does reduce the size of the generated code:
>
> Experience proves that there is not a direct relation between size of
> the generated code and the resulting emulation speed, sometimes smaller
> code means slower emulation (when the code generation/optimization takes
> too much time), and sometimes bigger code might means faster emulation
> (think about replacing some helpers by TCG code).
>
> As from the user point of view what is important is the emulation speed,
> I think benchmarks (even simple ones like measuring the boot time of a
> guest) are essential for this kind of patch.
>
For what it worth, I measure a 4% slow down booting a sparc64 guest on a
Core-i5 2500 machine. I guess the memcpy() of the register windows is
more expensive that the gain on the TCG side, though it should be
probably be confirmed using some profiling tools.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
next prev parent reply other threads:[~2012-10-08 6:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-06 0:00 [Qemu-devel] [PATCH] target-sparc register window handling Richard Henderson
2012-10-06 0:00 ` [Qemu-devel] [PATCH] target-sparc: Use TCG registers for windowed registers Richard Henderson
2012-10-06 10:15 ` [Qemu-devel] [PATCH] target-sparc register window handling Aurelien Jarno
2012-10-08 6:17 ` Aurelien Jarno [this message]
2012-10-09 16:53 ` Richard Henderson
2012-10-09 17:06 ` Aurelien Jarno
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=20121008061747.GE4055@ohm.aurel32.net \
--to=aurelien@aurel32.net \
--cc=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.