From: Keir Fraser Subject: Re: pre-reservation of memory for domain creation Date: Tue, 12 Jan 2010 15:53:26 +0000 Message-ID: References: <4B4CA40C0200007800029657@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B4CA40C0200007800029657@vpn.id2.novell.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: Jan Beulich , "dongxiao.xu@intel.com" Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 12/01/2010 15:32, "Jan Beulich" wrote: > Also - how did that fixed amount get determined? > shadow_min_acceptable_pages() says 128 pages per vCPU, but 4Mb > (1024 pages) is not matching this (given that it ought to be fine for > 128 vCPU-s), just as the old value of 1Mb wasn't matching the > supposed need of 32 vCPU-s. I'm not sure I really believe the toolstack comment. As you say, it wasn't correct before or after the patch we're talking about. > And btw., I think that papering over a Xen crash during > destruction of partially-created domain is rather bad a thing to do. Depends on whether domain-creation failure at the point it failed -- and due to inadequate pre-reservation -- is expected and allowed for by the HVM paging logic. -- Keir