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: Alexandre Chapellon <a.chapellon@xxxxxxxxx>
Date: Thu, 21 Jul 2011 09:39:37 +0200
Delivery-date: Thu, 21 Jul 2011 00:41:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E25B969.8010004@xxxxxxxxxxx>
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>
Organization: horoa
References: <4E25B5EB.3000509@xxxxxxxxx> <4E25B969.8010004@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110624 Thunderbird/5.0

Le 19/07/2011 19:05, Jonathan Tripathy a écrit :

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

Even without keeping beside the memory-max? I remember Having done it too but it did not turn the system unstable AFAICT.

Does anybody have similar feelings about playing with meme making Linux domU unstable?


Xen-users mailing list


Attachment: a_chapellon.vcf
Description: Vcard

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>