From: Keir Fraser Subject: Re: VT-d scalability issue Date: Tue, 09 Sep 2008 11:22:15 +0100 Message-ID: References: <20080909090427.GA6704@edwin-gen.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080909090427.GA6704@edwin-gen.sh.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Zhai, Edwin" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 9/9/08 10:04, "Zhai, Edwin" 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. (b) presumably your upcoming (and existing current?) processors support wbinvd exiting anyway? -- Keir