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] setting max memory

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] setting max memory
From: Jonathan Tripathy <jonnyt@xxxxxxxxxxx>
Date: Tue, 19 Jul 2011 18:05:45 +0100
Delivery-date: Tue, 19 Jul 2011 10:09:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E25B5EB.3000509@xxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4E25B5EB.3000509@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0

On 19/07/2011 17:50, Alexandre Chapellon wrote:

I know the parameter mem-max sets the maximum RAM that can be allocated
to a domU.
Beside this limit, VM has to be recreated with required memory size.

Is it possible to set the mem-max parameter without recreating VM?
xm max-mem seems to work but in fact, has no effect (at least on my
debian Lenny dom0)

If not possible to dynamicly change max-mem, Is it possible/safe/clever
to set max-mem to the maximum amount of RAM the dom0 can allocate (total
RAM - minimum dom0 RAM).


If you are going to be using these DomUs for anything even remotely serious, then I would strongly advise against dynamically resizing a Linux environment's available memory. Form personal experience, I can categorically say that this leads to a very unstable system.

Just my 2 pence


Xen-users mailing list

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