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] RE: [PATCH] Allocate vmcs pages when system booting

To: Jan Beulich <JBeulich@xxxxxxxxxx>, Yunhong Jiang <yunhong.jiang@xxxxxxxxx>
Subject: Re: [Xen-devel] RE: [PATCH] Allocate vmcs pages when system booting
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 15 Jan 2010 10:31:39 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 15 Jan 2010 02:32:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B5043B8020000780002A2E9@xxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqVxVme7EN1OoA5TyaMx+UMKHT6NwACJIqg
Thread-topic: [Xen-devel] RE: [PATCH] Allocate vmcs pages when system booting
User-agent: Microsoft-Entourage/12.23.0.091001
On 15/01/2010 09:30, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

>>>> "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> 15.01.10 10:06 >>>
>> b) Can we still turn to the original patch, i.e. pre-allocate all VMCS pages
>> for all possible CPU?
> 
> I'm generally opposed to pre-allocations, at least as long as all CPUs are
> considered 'possible'. Building with a relatively high nr_cpus= setting
> and then running on a relatively small system results in (close to)
> unacceptable overhead.
> 
> In fact it's really not clear to me why cpu_possible_map must be set to
> CPU_MASK_ALL - if Linux has ways to avoid this, Xen should have too.

Does Linux manage a good reliable job of cutting down cpu_possible_map? That
would save cpu_possible_map in my eyes, if we could do that. Otherwise it is
indeed pretty useless now. Either way, I'd like cpu hotplug notifier chains
in the 4.1 development window.

 -- Keir



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