qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Vince Weaver <vince@csl.cornell.edu>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Performance Monitoring
Date: Tue, 20 May 2008 20:09:57 -0400 (EDT)	[thread overview]
Message-ID: <20080520200519.N34495-100000@bell.csl.cornell.edu> (raw)
In-Reply-To: <200805202306.45277.paul@codesourcery.com>

On Tue, 20 May 2008, Paul Brook wrote:
>
> You probably already know this, but I'd be surprised if the statistics you get
> have much/any correlation with real world performance on modern hardware.

You might be suprised.

I've been adding hooks to Qemu to generate traces for use in computer
architecture research.

I compare the results to hardware performance counters, and things like
branch-prediction, cache miss rates, and total instruction mixes come
across very well (with errors less than 5-10%).  [this is simulating
MIPS and also x86]  Now things that depend a lot on actual timing like
cycle counts and CPI you can't do.

I've actually had a paper published that involves using Qemu in a similar
fashion.  It generates traces at least as good as Valgrind and Pin can.

   http://www.csl.cornell.edu/~vince/papers/hipeac08.html


Vince

  reply	other threads:[~2008-05-21  0:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-20 18:56 [Qemu-devel] Performance Monitoring Cheif Jones
2008-05-20 22:06 ` Paul Brook
2008-05-21  0:09   ` Vince Weaver [this message]
2008-05-21  6:41   ` Laurent Desnogues
2008-05-20 22:44 ` Stanislav Shwartsman
2008-05-21 16:10 ` [Qemu-devel] " Charles Duffy
2008-05-22  3:46   ` Glauber Costa
2008-05-22  6:13     ` Cheif Jones
2008-05-23  3:38       ` Vince Weaver
2008-05-25 12:22         ` Cheif Jones
2008-05-28  0:21           ` Vince Weaver

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=20080520200519.N34495-100000@bell.csl.cornell.edu \
    --to=vince@csl.cornell.edu \
    --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).