[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.