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/
Home Products Support Community News


Re: [Xen-devel] lowest limit for balloon?

To: aq <aquynh@xxxxxxxxx>
Subject: Re: [Xen-devel] lowest limit for balloon?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 18 Jul 2005 13:38:33 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 18 Jul 2005 12:32:54 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9cde8bff05071803571388e532@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <9cde8bff05071803571388e532@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
It's probably a job for higher-level management tools. Maybe a safety catch should be placed on 'xm balloon', but the intra-VM /proc/xen/balloon interface is definitely not intended for the casual user.

 -- Keir

On 18 Jul 2005, at 11:57, aq wrote:

urrently there is one problem with balloon: if we specify too little
memory for a domain, that domain might crash with OOM error. even in
that case, balloon still happily do what we request. i just
accidentally balloon dom0 to 0M, and must reboot the machine ;-)

so i guess it is better to enforce a certain limit, so balloon will
not bring the amount of memory for a domain to be lower than that

there are few choices to do this:
- each domain has a configurable option for this (for example:
balloon-level in domain config file)

Xen-devel mailing list