From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: alloc_heap_pages is low efficient with more CPUs Date: Sat, 13 Oct 2012 07:03:30 +0100 Message-ID: References: <20121012153925.012846e4@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20121012153925.012846e4@mantra.us.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mukesh Rathor , tupeng212 Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 12/10/2012 23:39, "Mukesh Rathor" wrote: > On Fri, 12 Oct 2012 20:24:16 +0800 > tupeng212 wrote: > >> With 16 CPUs you find domain startup takes 3s always. >> :No >> With 16CPUs, first 0.3s, second 3s >> With 64CPUs, first 3s, second 30s. >> >> With 64 CPUs you find it takes 3s first time, then 30s in future? >> : Yes > > ........... > > I had seen this a while ago, it was always page scrubbing. That > algoright was changed IIRC, so not sure if still could be the cause. Tupeng, If the tlbflush_filter() and cpumask_or() lines are commented out from the if(need_tlbflush) block in alloc_heap_pages(), what are the domain creation times like then? By the way it looks like you are not using xen-unstable or xen-4.2, can you try with one of these later versions of Xen? -- Keir > My 2 cents, > thanks > Mukesh