qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Laurent Desnogues" <laurent.desnogues@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] define desired speed?
Date: Tue, 15 Jan 2008 22:53:21 +0100	[thread overview]
Message-ID: <761ea48b0801151353m2b1aa434ke575646497af47bb@mail.gmail.com> (raw)
In-Reply-To: <Pine.NEB.4.64.0801151513420.29361@tx.reedmedia.net>

On Jan 15, 2008 10:34 PM, Jeremy C. Reed <reed@reedmedia.net> wrote:
> Any way to startup qemu with my own desired speed?

You can't as qemu emulated target speed is not constant.
qemu generates code on-the-fly and uses optimizations
that result in big variations.

Add to that there's no cycle accuracy at all.

> Bochs provides a CPU "IPS" (emulated Instructions Per Second)
> configuration that can be adjusted to get at least close to the desired
> speed.

IIRC Bochs is an interpreted simulator so it can count
instructions.  Counting instructions is only a crude
approximation as most processors have pipeline and
caches.

> I know that BogoMips is not a real benchmark, but the Linux system I am
> running in qemu says it is at 7497.31 BogoMIPS which is the probably same
> as if I booted the Linux system outside of qemu on same 1900Mhz hardware.
> (I was hoping to see the BogoMips in the 200 to 700 range.)

7.4 BGIPS is an indicator that the bogo loop was very
well optimized by qemu and/or the timer is wrong :-)


Laurent

  reply	other threads:[~2008-01-15 21:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-15 21:34 [Qemu-devel] define desired speed? Jeremy C. Reed
2008-01-15 21:53 ` Laurent Desnogues [this message]
2008-01-16  3:05 ` Mulyadi Santosa
2008-01-16  7:36   ` Laurent Desnogues
2008-01-17 18:17   ` Jeremy C. Reed

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=761ea48b0801151353m2b1aa434ke575646497af47bb@mail.gmail.com \
    --to=laurent.desnogues@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).