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

[Xen-devel] Re: VT-d scalability issue

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: VT-d scalability issue
From: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Date: Wed, 10 Sep 2008 08:09:15 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Delivery-date: Tue, 09 Sep 2008 17:09:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C4EC0CE7.1CF77%keir.fraser@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080909090427.GA6704@xxxxxxxxxxxxxxxxxxxxxx> <C4EC0CE7.1CF77%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.16 (2007-06-09)
On Tue, Sep 09, 2008 at 11:22:15AM +0100, Keir Fraser wrote:
> 
> 
> 
> On 9/9/08 10:04, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx> wrote:
> 
> > following code in vmx_do_resume try to invalidate orig processor's cache 
> > when
> > 14 migration if this domain has pass-through device and no support for 
> > wbinvd
> > vmexit.          
> > 16 if ( has_arch_pdevs(v->domain) && !cpu_has_wbinvd_exiting )
> > {
> >     int cpu = v->arch.hvm_vmx.active_cpu;
> >     if ( cpu != -1 )
> >         on_selected_cpus(cpumask_of_cpu(cpu), wbinvd_ipi, NULL, 1,
> > 
> > }
> > 
> > So we want to pin vcpu to free processor for domains with pass-through 
> > device
> > in
> > creation process, just like what we did for NUMA system.
> 
> (a) pinning support already exists.Maybe list this as 'best practice' but I
> don't see any need for xend changes, for example.

So end user need explicitly call "xm vcpu-pin" for VTd domain. But where to put 
this 'best practice'?

> (b) presumably your upcoming (and existing current?) processors support
> wbinvd exiting anyway?

Yes, but exist system has such problem.

> 
>  -- Keir
> 
> 

-- 
best rgds,
edwin

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