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] dom0-min-mem=0 and enable-dom0-ballooning

To: Luke S Crawford <lsc@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] dom0-min-mem=0 and enable-dom0-ballooning
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Sun, 07 Jun 2009 09:42:20 +0100
Cc:
Delivery-date: Sun, 07 Jun 2009 01:42:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <m363f823uf.fsf@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: AcnnFONPZEHr6r7jTKKiY407z7iQswANvtL6
Thread-topic: [Xen-devel] dom0-min-mem=0 and enable-dom0-ballooning
User-agent: Microsoft-Entourage/12.17.0.090302
On 07/06/2009 03:08, "Luke S Crawford" <lsc@xxxxxxxxx> wrote:

> I noticed something odd.  In newer versions of Xen,
> (enable-dom0-ballooning no) will disable ballooning.  But that is only
> respected in newer versions of Xen.   Before the enable-dom0-ballooning
> option was enabled, setting dom0-min-mem to 0 would disable ballooning.
> After the enable-dom0-ballooning setting was added, though, setting
> dom0-min-mem to 0 would actually set the minimum to zero.
> 
> This seems dangerous to me, as I can't think of any time where I'd really
> want to let the dom0 balloon to 0, and it's pretty easy to make the mistake
> of setting dom0-min-mem to 0 if you come across older documentation.
> 
> I would suggest changing xen so that dom0-min-mem 0 disabled ballooning as
> it did before.  

If you look at xen/xend/XendOptions.py:get_enable_dom0_ballooning(), you'll
see that dom0-min-mem=0 should still disable dom0 ballooning. At least in
theory!

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>