From: Richard Henderson <rth@twiddle.net>
To: Aurelien Jarno <aurelien@aurel32.net>
Cc: Blue Swirl <blauwirbel@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] target-sparc register window handling
Date: Tue, 09 Oct 2012 09:53:32 -0700 [thread overview]
Message-ID: <5074568C.20602@twiddle.net> (raw)
In-Reply-To: <20121008061747.GE4055@ohm.aurel32.net>
On 10/07/2012 11:17 PM, Aurelien Jarno wrote:
> 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.
Confirmed with userland testing (running cc1plus on large input),
and I see much more than 4% slow down -- more like 15%. I can reduce
this by adding save/restore window inc/dec optimization within the
cpu_set_cwp routine, but that only gets me back to 5% slow down.
A bit disappointing; I guess other avenues will want exploring.
Patch withdrawn.
r~
next prev parent reply other threads:[~2012-10-09 16:53 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
2012-10-09 16:53 ` Richard Henderson [this message]
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=5074568C.20602@twiddle.net \
--to=rth@twiddle.net \
--cc=aurelien@aurel32.net \
--cc=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.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).