WARNING - OLD ARCHIVES

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

xen-users

Re: [Xen-users] how to dynamically increase domU's memory?

To: Rudi Ahlers <Rudi@xxxxxxxxxxx>
Subject: Re: [Xen-users] how to dynamically increase domU's memory?
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Thu, 28 Jan 2010 12:19:28 +0700
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 27 Jan 2010 21:20:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <695200da1001262208x24e4ffaam385365bfe4cfee1e@xxxxxxxxxxxxxx>
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: <4B5F2061020000990003C39F@xxxxxxxxxxxxxxxxxxxxx> <695200da1001262208x24e4ffaam385365bfe4cfee1e@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Jan 27, 2010 at 1:08 PM, Rudi Ahlers <Rudi@xxxxxxxxxxx> wrote:
> Nick,
>
> I already tried "xm mem-set" before I posted this, but it didn't do
> anything, other than altering the memory value in the domU configuration
> file.
>
> The dom0 server is on CentOS 5.4 x64, and the domU as well.
> So, if I want this feature, then what should I have enabled / installed?

Is it PV domU? If yes, you can try putting a setting like this on domU config

memory = "4000"
maxmem = "8000"

in that example, domU will start with 4000M memory, but you'll be able
to increase it later with "xm mem-set" up to 8000MB. Note that there
are some memory overhead necessary to be able to balloon-up, so you
should set a realistic value for maxmem.

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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