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] xm balloon problems

On Friday 18 November 2005 07:56, Subhabrata Bhattacharya wrote:

> But expanding only works to a fixed extent
>
> [root@tux06 ~]# xm balloon 0 128
> [root@tux06 ~]# xm balloon 8 64
> [root@tux06 ~]# xm balloon 8 128
> [root@tux06 ~]# xm balloon 0 256
> [root@tux06 ~]# xm list
> Name              Id  Mem(MB)  CPU  State  Time(s)  Console
> Domain-0           0      123    0  r----   1001.4
> vtux02             8       63    1  -b---     12.0    9608
>
> I have done
> [root@tux06 ~]# xm maxmem 0 256
> [root@tux06 ~]# xm maxmem 8 256
> But it still doesn't work.


Expanding only works up to the ammount initially allocated to a domain. So 
simply start each domain with a large ammount of memory, and balloon them 
down.

Balloon works by having a kernel driver inside the dom allocate a chunk of 
memory and releasing that chunk back to xen. Ballooning a domain to more 
memory than it initially had would require the balloon driver to allocate a 
negative ammount of memory, which simply isn't possible.

/Ernst 

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

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