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-users] Disable memory balloon in dom0

To: "Nick Anderson" <nick@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Disable memory balloon in dom0
From: "Jeff Lane" <sundowner225@xxxxxxxxx>
Date: Tue, 6 May 2008 17:09:32 -0400
Delivery-date: Tue, 06 May 2008 14:10:05 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=4qN5h+i2h0+ktyKZhQaSp4ls1r1dQtSkDtVk1sk3ivU=; b=l9nbTC00GlokI+zvgHbKCjqhlIfQluBjzFZCNJwm19oReZqIJc54nfJGcHuwnutA5sWwRHZ+X/Rdc5fWbWc6W0G8+6QCUl/s9XGyH6Nn06h1Ona1VeKBAzyaMjFxjZzPXfsXbqaj8TbaChkhfcMDNwHzIuhV0MzVPQp6Ib7ZLlc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XzNtqMeP7LkgWtxYbry/NA2cUS3Dw3DZzI9JFxavCUqwe1nV9QzmUuYbJ3xU/IZLZ8iQcFr83SakuK15rdOb1fDaOpwtfNADaxeI5FJ0aFVbL8hyolqNDlXrjYEEdKkL5j5fmg03D36dUv/1gSC4WKChZoYKYCrvV337fAkgubI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4820C835.40107@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4820C835.40107@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, May 6, 2008 at 5:05 PM, Nick Anderson <nick@xxxxxxxxxxxx> wrote:
> Is there any reason why I would not want to set dom0-min-mem to 0 or to what
> I set dom0_mem on my kernel line? Setting to 0 or setting to the same value
> as dom0_mem disables memory balloon correct? I cant seem to think of a
> reason why I would want memory ballooning.

As an alternate, just pass dom0_mem=<some number> to the hypervisor
via grub.  That's what I always do.  No ballooning issues and I can
make sure domain 0 is as big or as small as I need it to be (though I
never set it below 512M and usually its set to somewhere between 1GB
and 4GB depending on the amount of RAM the system has).

>  Also setting dom0-min-mem should that be done in xend-config.sxp or on the
> kernel command line?

I'm not positive on this, but I'd say xend-config.sxp.

------------------> Jeffrey Lane - W4KDH <-------------------
 Another cog in the great
 Corporate Wheel

The internet has no government, no constitution, no laws, no
rights, no police, no courts. Don't talk about fairness or
innocence, and don't talk about what should be done. Instead,
talk about what is being done and what will be done by the
amorphous unreachable undefinable blob called "the internet
user base." -Paul Vixie

Xen-users mailing list