From: Laurent DESNOGUES <laurent.desnogues@wanadoo.fr>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] ARM CPU Speed simulated by Qemu?
Date: Tue, 12 Sep 2006 16:44:37 +0200 (CEST) [thread overview]
Message-ID: <21288277.1158072277598.JavaMail.www@wwinf1515> (raw)
> Now, CPUs is where I have only a vague idea of what would be needed to
> simulate. I know there are up to three levels of caches and main memory,
> which all have different access times. The CPU itself has a pipeline and
> branch prediction and such which could invalidate the contents of
> pipeline up to a given point (of branching).
>
> I think the most time consuming operation which should be properly
> simulated is memory access. For this to work properly, all levels of
> caches must be emulated, too.
>
> How much do misses on the branch prediction level cost? How much
> pipeline interlocks? I don't think those would be _that_ dramatic. Since
> today's compilers are said to be optimizing quite well...
The most complex thing to accurately simulate a modern
CPU (including ARMs) is the data cache and by far. In
comparison, getting accurate core pipeline simulation
is *very* easy.
There is a company that claims to be able to accurately
simulate an at 200 Mhz (http://www.vastsystems.com). I
bet there are using statistical cycle counting and so
are probably very wrong :)
Laurent
next reply other threads:[~2006-09-12 14:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-12 14:44 Laurent DESNOGUES [this message]
2006-09-12 14:58 ` [Qemu-devel] ARM CPU Speed simulated by Qemu? Markus Schiltknecht
2006-09-12 17:42 ` K. Richard Pixley
2006-09-12 18:40 ` [Qemu-devel] " Antti P Miettinen
-- strict thread matches above, loose matches on Subject: below --
2006-09-12 15:26 [Qemu-devel] " Laurent DESNOGUES
2006-09-12 15:08 Laurent DESNOGUES
2006-09-12 15:19 ` Markus Schiltknecht
2006-09-12 0:17 [Qemu-devel] Re: qemu-system-sparc video problem on 16 bitdisplays Stuart Brady
2006-09-12 7:20 ` [Qemu-devel] ARM CPU Speed simulated by Qemu? Tieu Ma Dau
2006-09-12 11:03 ` nyos
2006-09-12 12:43 ` Paul Brook
2006-09-12 13:19 ` Markus Schiltknecht
2006-09-12 13:39 ` Paul Brook
2006-09-12 14:21 ` Markus Schiltknecht
2006-09-12 14:34 ` Paul Brook
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=21288277.1158072277598.JavaMail.www@wwinf1515 \
--to=laurent.desnogues@wanadoo.fr \
--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).