public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Avi Kivity <avi@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>, Alexander Graf <agraf@suse.de>,
	"Serebrin,
	Benjamin (Calendar)" <Benjamin.Serebrin@exchange.amd.com>,
	Skywing <Skywing@valhallalegends.com>,
	Anthony Liguori <anthony@codemonkey.ws>,
	kvm@vger.kernel.org, Amit Shah <amit.shah@redhat.com>,
	"Wahlig, Elsie" <elsie.wahlig@amd.com>,
	"Nakajima, Jun" <jun.nakajima@intel.com>
Subject: Re: Cross vendor migration ideas
Date: Mon, 17 Nov 2008 12:09:34 +0100	[thread overview]
Message-ID: <20081117110934.GH6703@one.firstfloor.org> (raw)
In-Reply-To: <49203DFE.1070101@redhat.com>

> Long running guests on a large farm shouldn't expect to stay on the same 
> host they were booted on.  

If they change frequently and the vendors are even matched in the farm
their chance of running "fast" again will be quite good. The only
worst case would be to start on one vendor, run for a short time
there and then spend all the remaining time on the other. Most other
cases would be better.

Also again I wouldn't expect the impact to be that dramatic. While
there are some workloads which are syscall latency sensitive (and not rely
on the vsyscalls) a lot of others are not. 

> But at least for Linux, if we notify the 
> guest telling it to retune (which can include the vsyscall path) we can 
> avoid the cost entirely.

Hmm, we discussed something like this some time ago anyways (add
a way to rescan CPUID features) because there are microcode updates
around that change some (relatively obscure) CPUID features.

But doing it fully general would be likely quite intrusive. You 
would need to rewrite the CPU initialization code and some other
code in a callback like matter like the PCI code does for hotplug.

I doubt doing that would be worth the effort in real performance gains.

-Andi

-- 
ak@linux.intel.com

  reply	other threads:[~2008-11-17 10:59 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-12 15:39 Cross vendor migration ideas Alexander Graf
2008-11-12 15:45 ` Anthony Liguori
2008-11-12 15:50   ` Alexander Graf
2008-11-12 15:59     ` Anthony Liguori
2008-11-13  0:02     ` Skywing
2008-11-13  1:48       ` Serebrin, Benjamin (Calendar)
2008-11-15 13:03         ` Andi Kleen
2008-11-15 16:39           ` Alexander Graf
2008-11-15 17:37             ` Andi Kleen
2008-11-16 15:36               ` Avi Kivity
2008-11-17 11:09                 ` Andi Kleen [this message]
2008-11-17 11:59                   ` Avi Kivity
2008-11-15 17:38             ` Glauber Costa
2008-11-16 14:58               ` Avi Kivity
2008-11-13 10:16     ` Avi Kivity
2008-11-12 20:06   ` Andi Kleen
2008-11-12 20:52     ` Alexander Graf
2008-11-13 10:20   ` Avi Kivity
2008-11-12 16:52 ` Amit Shah
2008-11-12 17:19   ` Alexander Graf
2008-11-13  4:35     ` Amit Shah
2008-11-13 13:38       ` Alexander Graf
2008-11-14 13:07         ` Amit Shah
2008-11-14 23:43           ` Nitin A Kamble
2008-11-17 10:07             ` Amit Shah
  -- strict thread matches above, loose matches on Subject: below --
2008-11-16  0:23 Skywing

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=20081117110934.GH6703@one.firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=Benjamin.Serebrin@exchange.amd.com \
    --cc=Skywing@valhallalegends.com \
    --cc=agraf@suse.de \
    --cc=amit.shah@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=avi@redhat.com \
    --cc=elsie.wahlig@amd.com \
    --cc=jun.nakajima@intel.com \
    --cc=kvm@vger.kernel.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