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] memory=x & maxmem=y

Hi Paul,

On Mon, 21 May 2007 21:56:22 -0500 (CDT)
Paul Archer <tigger@xxxxxx> wrote:

> After doing some more research, I finally found out what's going on.
> In order to allocate more memory to a domU, it has to be freed from
> somewhere else first. In other words, if memory=256 and maxmem=512,
> then before you run 'xm mem-set mydomU 512', you have to run 'xm
> mem-set 0 <current memory for dom0 - 256>'.
> I suppose this would work just as well by taking the memory from
> another domU (or some combination of domU's and dom0), but I haven't
> tried that.

I don't think this is the issue here since the dom0 memory usage will balloon 
down automatically to free up more RAM for the domU. When I attempted to get 
this to work yesterday, dom0 had over 2GB of RAM allocated to it, so it had 
heaps to spare when it ballooned down.

The problem isn't with trying to allocate memory to a domU, it is with trying 
to get domU to use or recognise the extra memory. I was able to allocate the 
extra memory ok, but running free -m in the domU would not show the extra 
memory as being available.

Cheers,

Brad

Attachment: signature.asc
Description: PGP signature

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