|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Can't increase memory size during runtime
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>
|
- Re: [Xen-users] Can't increase memory size during runtime,
Xuehai Zhang <=
|
|
|
|
|