From: Paul Brook <paul@codesourcery.com>
To: Andrea Arcangeli <aarcange@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] allow sysenter on 32bit guests running on vmx host
Date: Fri, 26 Jun 2009 00:49:06 +0100 [thread overview]
Message-ID: <200906260049.07724.paul@codesourcery.com> (raw)
In-Reply-To: <20090625232711.GC12992@random.random>
> KVM users wants performance in their apps anything else is secondary,
> otherwise they would be fine using qemu, no?
No. According to others in this thread, migration between different hosts is
also important, as is isolation from host machine specifics.
In fact I'm skeptical how much benefit using an Intel/AMD vendor ID gets you
by way of performance. While you may be running code "natively", there's still
an awful lot of things that trap back to the hypervisor, so you're liable to
get different performance characteristics to a native CPU.
> Besides I think there is breakage in setting the SEP feature on athlon
> definition for example, I don't have an hardware athlon around to
> check /proc/cpuinfo though, but I don't think SEP would be enabled
> there.
>
> Let's focus on performance (and facts like SEP being enabled on
> athlon) without shooting ourself in the foot by breaking all guest OS
> assumptions with an unknown qemu vendor ID.
>
> Or if you really want to argue, in most others thread you pretend qemu
> should be as close as possible as hardware (no matter if guest
> breaks), and I know no hardware with your brand new qemu vendor_id, do
> you? (yeah not even the model name is reflecting hardware very well I
> know, but that didn't happen to break stuff yet so it can stay as
> default for now)
You're missing the point. "-cpu host" or "-cpu p6" (where p6 is lowest-common-
denominator) may be a reasonable default for KVM. What's not acceptable (as
evidenced by this bug) is taking an arbitrary CPUID and blindly sticking an
Intel vendor ID on it.
Paul
next prev parent reply other threads:[~2009-06-25 23:49 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-23 16:21 [Qemu-devel] allow sysenter on 32bit guests running on vmx host Andrea Arcangeli
2009-06-24 17:29 ` Jamie Lokier
2009-06-24 17:48 ` Filip Navara
2009-06-24 21:13 ` Andrea Arcangeli
2009-06-24 21:12 ` Andrea Arcangeli
2009-06-24 21:39 ` Jamie Lokier
2009-06-24 22:32 ` Andrea Arcangeli
2009-06-25 8:11 ` [Qemu-devel] KVMs default CPU type (was: allow sysenter on 32bit guests running on vmx host) Andre Przywara
2009-06-25 8:29 ` [Qemu-devel] KVMs default CPU type Avi Kivity
2009-06-26 0:42 ` [Qemu-devel] KVMs default CPU type (was: allow sysenter on 32bit guests running on vmx host) Andrea Arcangeli
2009-06-26 1:06 ` Andrea Arcangeli
2009-06-25 17:39 ` [Qemu-devel] allow sysenter on 32bit guests running on vmx host Paul Brook
2009-06-25 21:02 ` Andrea Arcangeli
2009-06-25 22:12 ` Paul Brook
2009-06-25 23:27 ` Andrea Arcangeli
2009-06-25 23:49 ` Paul Brook [this message]
2009-06-26 0:06 ` Andrea Arcangeli
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=200906260049.07724.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=aarcange@redhat.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).