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] Is this typical memory usage?

To: "James Pifer" <jep@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Is this typical memory usage?
From: "Jeff Lane" <sundowner225@xxxxxxxxx>
Date: Wed, 21 May 2008 09:15:05 -0400
Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 21 May 2008 06:15:38 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=EPRxYarJkkEMaUjvh0+CLUsdFozGPFQKp11B2EKgM+0=; b=ldlhOi2Ue341ux2La7q+AeumAhwts/CpaW5/LPMGHgUEl2hjd/S4sgos00QucvPTKuvpxdvne4lQ1gMRXpi9N3LaoxOk+gDWzIolr0Hhie7LNH6yrY+ZBZXNnRGGAUH/06gVaTKoQm0qY0vGa8300J3Kpra2MPg2CuyOZlUa+5o=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=s+v3aVCe6PN0y3TjhHragWPE3OYxiEq4LNmYKXfyUqxY2xePcfUs5mM0RBQdFLH7IhGFGW4ahTlfE1RzIIqPuxowRh+/Q7K/aQap4HeIObi7NXTx0ZBVKkFmRLh6EAaWn73WEkYRh+eiCe5zA5LkrIh6SYcEkpUUTmYsIRP6/74=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1211327015.10528.23.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
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: <1211327015.10528.23.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, May 20, 2008 at 7:43 PM, James Pifer <jep@xxxxxxxxxxxxxxxx> wrote:

> I'm wondering if I shut down all the domU's and restart if I'll gain
> some RAM back from dom0? Or, is this typical?

That sounds about right to me... at least in my experience.  The
memory ballooning code in Xen is ... strange and does not always
behave as you may expect it to.  It's also been my experience that
it's really just best practice to limit dom0 to a small amount of ram
by default leaving all the rest for guests...

Typically, I limit dom0 to either 1024 or 2048 MB by using the
dom0_mem= parameter.  You pass this on the kernel line in grub.  That
would be the line that actually says kernel and boots the hypervisor,
NOT the line that says module and boots dom0's kernel.

I've seen all sorts of fun things with memory ballooning, from memory
not being recovered (which I think is expected behaviour) to the
hypervisor refusing to allocate or balloon memory for a new domU.

------------------> 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

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