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] question about xm mem-set

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] question about xm mem-set
From: Dominik Klein <dk@xxxxxxxxxxxxxxxx>
Date: Fri, 16 Mar 2007 08:17:20 +0100
Delivery-date: Fri, 16 Mar 2007 00:16:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45FA13D6.8020803@xxxxxxxxxx>
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: <200703151857.59545.parisa.heidari@xxxxxxxxxx> <45FA13D6.8020803@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20070103)
I boot up the domU with the config file mem=256
then I xm mem-set domU 128 ,and it works well ,
that is, xm list shows domU's mem =128 and in the domU,/proc/meminfo is 128M

but when I xm mem-set domU 512, it does not work well
though the xm list shows domU's mem =512 , but in the domU
,/proc/meminfo is 256M ,not 512M


does xm mem-set can not expand domU's memsize beyond its boot-size? or
what should I do ?

Set
maxmem=512
memory=256
in your config file.

xm mem-set cannot go above maxmem.

You may want to try "xm mem-max" to alter maxmem, but I read it is not the safest to use.

Regards
Dominik

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