qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: walt <w41ter@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: qemu-kvm faster than qemu?
Date: Thu, 26 Aug 2010 14:57:30 -0700	[thread overview]
Message-ID: <i56o0g$b27$1@dough.gmane.org> (raw)
In-Reply-To: <4C75A736.80005@codemonkey.ws>

On 08/25/2010 04:28 PM, Anthony Liguori wrote:
> On 08/25/2010 06:09 PM, walt wrote:
>> On 08/25/2010 12:48 PM, Anthony Liguori wrote:
>>> On 08/25/2010 02:37 PM, walt wrote:

>>>> I find that qemu-kvm boots to the Win7 login prompt in 25 seconds,
>>>> while qemu with kvm enabled takes about 45 seconds.

>>> Also, what's your full command line?

>> /usr/local/bin/qemu-system-x86_64 -m 1024 -enable-kvm -cpu kvm64 w7.diff

> You'll get more accurate and repeatable results by using:
>
> qemu-system-x86_64 -m 1024 -enable-kvm -cpu kvm64 -drive file=w7.diff,cache=none

Turning off the cache slows both of them down, as I would expect:

qemu-kvm:  52 seconds
qemu:      65 seconds

> Also try qemu-kvm with -no-kvm-irqchip. I can't believe an in-kernel lapic would make this much of a difference with windows 7 but it's worth trying.

Using that flag wipes out the difference entirely:  both come in at about 65 seconds.

I also tried xp-32 running on the same two kvm64 virtual machines, with slightly
different results:

qemu-kvm:  35 seconds (65 seconds using -no-kvm-irqchip, a huge disadvantage)
qemu:      58 seconds

Anything unexpected in these results?

Thanks for your time.

  parent reply	other threads:[~2010-08-26 22:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-25 19:37 [Qemu-devel] qemu-kvm faster that qemu? walt
2010-08-25 19:48 ` Anthony Liguori
2010-08-25 23:09   ` [Qemu-devel] Re: qemu-kvm faster than qemu? walt
2010-08-25 23:28     ` Anthony Liguori
2010-08-26  7:53       ` Gerd Hoffmann
2010-08-26  7:59         ` Gleb Natapov
2010-08-26  9:59           ` Gerd Hoffmann
2010-08-26 10:24             ` Alexander Graf
2010-08-26 10:25               ` Gleb Natapov
2010-08-26 11:56                 ` Avi Kivity
2010-08-26 12:54           ` Anthony Liguori
2010-08-26 12:57             ` Gleb Natapov
2010-08-26 21:57       ` walt [this message]
2010-08-29 15:02         ` Avi Kivity

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='i56o0g$b27$1@dough.gmane.org' \
    --to=w41ter@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).