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: Dominik Klein <dk@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] question about xm mem-set
From: tgh <tianguanhua@xxxxxxxxxx>
Date: Fri, 16 Mar 2007 16:04:08 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 16 Mar 2007 01:03:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45FA4480.8060002@xxxxxxxxxxxxxxxx>
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> <45FA4480.8060002@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)
Thank you for your reply
I try to use the commands of xm mem-max and xm mem-set ,and these both seems work well
and you say "xm mem-max" is not safe , then what do you mean ?
could you help me
Thanks in advance



Dominik Klein 写道:
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




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