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] [PATCH] increase initial memory reservation for stubdom

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] increase initial memory reservation for stubdom based HVM domains
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 15 Jan 2009 17:34:26 +0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 15 Jan 2009 09:34:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <496F6D8D.9050302@xxxxxxxxxxxxx>
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: Acl3N4LpFQIIgX7GEkWeZOaMjk0LEw==
Thread-topic: [Xen-devel] [PATCH] increase initial memory reservation for stubdom based HVM domains
User-agent: Microsoft-Entourage/12.15.0.081119
On 15/01/2009 17:08, "Stefano Stabellini" <stefano.stabellini@xxxxxxxxxxxxx>
wrote:

> This fix is not as bad as it seems: I am only increasing the memory
> freed by the autoballoner when a stubdom based HVM domain is created, in
> order to also take into account the memory used by the stubdom.
> In facts 32MB is exactly the size currently needed by a stubdom, it can
> probably be reduced, but I preferred making one step at a time.
> The memory actually used to create the HVM domain is still the same as
> before.

Doesn't stubdom itself cause the auto-ballooner to be run? Could stubdom add
on the extra headroom of the guest its servicing when it requests
ballooning? I don't know whether that would be clearer/cleaner than your
current patch...

 -- Keir



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