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] pre-reservation of memory for domain creation

To: Jan Beulich <JBeulich@xxxxxxxxxx>, "dongxiao.xu@xxxxxxxxx" <dongxiao.xu@xxxxxxxxx>
Subject: Re: [Xen-devel] pre-reservation of memory for domain creation
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 12 Jan 2010 15:53:26 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 12 Jan 2010 07:53:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B4CA40C0200007800029657@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: AcqTnGoNcjQwwnn5S8Cqy1muZpXI1gAAvZaL
Thread-topic: [Xen-devel] pre-reservation of memory for domain creation
User-agent: Microsoft-Entourage/12.23.0.091001
On 12/01/2010 15:32, "Jan Beulich" <JBeulich@xxxxxxxxxx> 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



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