From: "Alex Bennée" <alex.bennee@linaro.org>
To: Chaos Shu <chaos.shun@live.com>
Cc: 'Sergey Fedorov' <serge.fdrv@gmail.com>,
'QEMU Developers' <qemu-devel@nongnu.org>,
'Peter Maydell' <peter.maydell@linaro.org>
Subject: Re: [Qemu-devel] 答复: Expansion Ratio Issue
Date: Thu, 05 Jun 2014 09:02:00 +0100 [thread overview]
Message-ID: <87a99rwzt3.fsf@linaro.org> (raw)
In-Reply-To: <SNT149-DS20F931C9587A235B4E0069FB2D0@phx.gbl>
Chaos Shu writes:
> Hi
>
> I'm running SPEC CPU2006 on three kinds of situation, native aarch64 binary and emulator x86_64 system running SPEC CPU2006 and linux user mode level running x86_64 SPEC CPU2006 binary.
>
> To find where the performance lose, translator ? or execution of instruction after TCG? Or something else
>
> I guess most of time, up to 90% should be spent on exec the
> instruction of TCG, does that mean the quality of translating lead to
> the performance lost directly ?
It really depends on the type of code you are executing but yes most of
the time should be spent in TCG generated code. However if you are
running a lot of FP heavy code you'll find it spends a lot of time in
helper routines calling the internal softfloat code.
I posted some patches a few months ago that enabled output to help the
Linux "perf" tool track this. I haven't got time to re-work at the
moment but it might give you a head start to instrumentation:
https://patches.linaro.org/27229/
>
> Thanks
> Chaos
>
> On 29.05.2014 13:04, Peter Maydell wrote:
>> No, we don't in general have any benchmarking of TCG codegen. I think
>> if we did do benchmarking we'd be interested in performance
>> benchmarking -- code expansion ratio doesn't seem like a very
>> interesting thing to measure to me.
>
> Hi,
>
> I have a plan to play with TCG performance benchmarking. And then try to implement some optimizations. So maybe there would be some suggestions on how to perform such benchmarking? What tests seems to be appropriate for this task? I think the benchmarking should reflect real TCG use cases. So what the most typical use cases for TCG are there? Seems that system and user modes may be different from this point.
>
> Appreciate any help.
>
> Thanks,
> Sergey.
--
Alex Bennée
next prev parent reply other threads:[~2014-06-05 8:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <SNT149-DS20972BC8406328B03556C8FB240@phx.gbl>
[not found] ` <CAFEAcA8g5GLj3tjV8tAKC2ASMdGEg9gvKHSU17cExUrwdp1n6g@mail.gmail.com>
2014-06-03 17:13 ` [Qemu-devel] Expansion Ratio Issue Sergey Fedorov
2014-06-05 1:04 ` [Qemu-devel] 答复: " Chaos Shu
2014-06-05 8:02 ` Alex Bennée [this message]
2014-06-05 13:00 ` Sergey Fedorov
2014-06-05 13:07 ` Peter Maydell
2014-06-05 15:14 ` Sergey Fedorov
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=87a99rwzt3.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=chaos.shun@live.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=serge.fdrv@gmail.com \
/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.