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] Can't increase memory size during runtime

To: Patrick Hess <posi@xxxxxxx>
Subject: Re: [Xen-users] Can't increase memory size during runtime
From: Xuehai Zhang <hai@xxxxxxxxxxxxxxx>
Date: Thu, 7 Jul 2005 00:12:01 -0500 (CDT)
Cc: Xen User List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 07 Jul 2005 05:10:50 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42C164A4.5080000@xxxxxxx>
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: <42C154F9.5030404@xxxxxxx> <42C164A4.5080000@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

On Tue, 28 Jun 2005, Patrick Hess wrote:

>
> Hi again,
>
> just a couple of minutes after sending my first mail to the list I found
> the "xm maxmem" command. Expected this to be the solution - but it is
> not... It's not working like expected - or, like I expected ;)
>
> Starting with 128M memory for domain "dev" which was bootet with 256M
> and then decreased to 128M:

Can you explain more about "booted with 256M and then decreased to 128M"?
Do you mean you add "mem=268435456" as the kernel command line parameter
as well as a line "memory=128" in domain "dev"'s configuration file before
you create the "dev" domain? In another word, the "dev" domain's config
file should look like the following according to the instructions
suggested in
http://lists.xensource.com/archives/html/xen-users/2005-04/msg00294.html:

...
name="dev"
memory = 128
root = "/dev/sda1 ro"
extra = "mem=268435456"
...


> nd:~# xm list
> Name              Id  Mem(MB)  CPU  State  Time(s)  Console
> Domain-0           0       27    0  r----     46.6
> bb1                2       63    0  -b---      7.1    9602
> dev                5      127    0  -b---      4.5    9605
>
> Ok, let's increase memory:
>
> nd:~# xm maxmem dev 256
> nd:~# xm balloon dev 200
> nd:~# xm list
> Name              Id  Mem(MB)  CPU  State  Time(s)  Console
> Domain-0           0       27    0  r----     47.6
> bb1                2       63    0  -b---      7.1    9602
> dev                5      127    0  -b---      4.5    9605
>
> Nothing happend :-((
>
> nd:~# xm info
> system                 : Linux
> host                   : nd
> release                : 2.6.11.10-xen0
> version                : #2 Fri Jun 24 21:24:58 CEST 2005
> machine                : i686
> cores                  : 1
> hyperthreads_per_core  : 1
> cpu_mhz                : 2392
> memory                 : 503
> free_memory            : 202
> nd:~#
>
> And still around 200M left -- so increasing from 128 to 200 should fine....
>
> Regards,
>     Patrick
>
> _______________________________________________
> 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

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