WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] SMP and VCPU migration.

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] SMP and VCPU migration.
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Mon, 17 Oct 2005 19:14:37 +0100
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx, Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Delivery-date: Mon, 17 Oct 2005 18:10:33 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200510171720.25673.Tristan.Gingold@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200510171720.25673.Tristan.Gingold@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.3
> I am working on SMP for xen-ia64.  The first step was to be able to use all
> the cpus but without considering VCPUs migration ie VCPU must be pinned to
> one CPU.
>
> Is it the same policy on x86 ?

They can be repinned (Stephan wrote a CPU rebalancer for this purpose) but 
this should only happen periodically: i.e. there's not a global work-stealing 
scheduler on a per-scheduler-period basis, a balancer has to come in 
periodically and move the vcpus about.  Presumably on IA64 you'd just need 
different time constants to avoid thrashing.

Can you manually repin VCPUs on IA64?  That's a handy feature to have, even 
without the automatic balancer.

Cheers,
Mark

> The migration cost is rather high on ia64 and may require a lot of
> inter-CPU traffic for coherency (TLB and cache management at least).  What
> about x86 ? How is the wbinvd instruction paravirualized/virtualized ?
>
> Thank you for your comments.
> Tristan.
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>