public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Andre Przywara <andre.przywara@amd.com>
Cc: Ulrich Drepper <drepper@redhat.com>,
	Ricardo Martins <ricardo.martins.br@gmail.com>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: KVM Processor cache size
Date: Mon, 02 Aug 2010 18:36:13 -0500	[thread overview]
Message-ID: <4C57566D.7000007@codemonkey.ws> (raw)
In-Reply-To: <4C5749C6.8010901@amd.com>

On 08/02/2010 05:42 PM, Andre Przywara wrote:
> Anthony Liguori wrote:
>> On 08/02/2010 08:49 AM, Ulrich Drepper wrote:
>>> glibc uses the cache size information returned by cpuid to perform
>>> optimizations.  For instance, copy operations which would pollute too
>>> much of the cache because they are large will use non-temporal
>>> instructions.  There are real performance benefits.
>>
>> I imagine that there would be real performance problems from doing 
>> live migration with -cpu host too if we don't guarantee these values 
>> remain stable across migration...
> Again, -cpu host is not meant to be migrated.

Then it needs to prevent migration from happening.  Otherwise, it's a 
bug waiting to happen.

> There are other virtualization use cases than cloud-like server 
> virtualization. Sometimes users don't care about migration (or even 
> the live version), but want full CPU exposure for performance reasons 
> (think of virtualizing Windows on a Linux desktop).
> I agree that -cpu host and migration should be addressed, but only to 
> a certain degree. And missing migration experience should not be a 
> road blocker for -cpu host.

When we can reasonably prevent it, we should prevent users from shooting 
themselves in the foot.  Honestly, I think -cpu host is exactly what you 
would want to use in a cloud.  A lot of private clouds and even public 
clouds are largely based on homogenous hardware.

I actually think the case where you want to migrate between heterogenous 
hardware is grossly overstated.

Regards,

Anthony Liguori

>
> Regards,
> Andre.
>


  reply	other threads:[~2010-08-02 23:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-02 11:45 KVM Processor cache size Ricardo Martins
2010-08-02 12:51 ` Andre Przywara
2010-08-02 13:08   ` Avi Kivity
2010-08-02 22:22     ` Anthony Liguori
2010-08-02 22:35       ` Andre Przywara
2010-08-02 23:38         ` Anthony Liguori
2010-08-03  5:38           ` Avi Kivity
2010-08-03  5:33       ` Avi Kivity
2010-08-02 22:25     ` Anthony Liguori
2010-08-02 22:54       ` Andre Przywara
2010-08-02 23:40         ` Anthony Liguori
2010-08-03  5:41           ` Avi Kivity
2010-08-02 13:49   ` Ulrich Drepper
2010-08-02 18:38     ` Ricardo Martins
2010-08-02 22:24       ` Andre Przywara
2010-08-02 22:15     ` Andre Przywara
2010-08-02 22:23     ` Anthony Liguori
2010-08-02 22:42       ` Andre Przywara
2010-08-02 23:36         ` Anthony Liguori [this message]
2010-08-03  6:25           ` Dor Laor

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=4C57566D.7000007@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=andre.przywara@amd.com \
    --cc=drepper@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=ricardo.martins.br@gmail.com \
    /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