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/
Home Products Support Community News


Re: [Xen-devel] xen balloon issue?

>>> "Robbie Garertt" <rgarrett@xxxxxxxxxxxxxx> 16.03.10 15:46 >>>
>I know this may not be the correct place here and hopefully I will not get 
>flamed for this but I am searching for an answer to my problem and I think it 
>may be a bug?

xen-users would likely be the better place to ask questions like this.
>I have a xen server setup and running version 3.4.2. Kernel version is 
>My issue here is that when I do a free -m within the Vm is shows less, some 
>times more ram then what the config files shows.   Here is an example of what 
>I see from xend starting the domU.
>[2010-03-14 17:09:45 2598] DEBUG (balloon:166) Balloon: 7766704 KiB free; need 
>526336; done. 
>526336 /1024 = 514MB
>When I do a free -m within the domU I get it showing me a total of 506mb.
>when I do cat /proc/meminfo is shows a total of 518220 which is 506mb.
>It would appear that for what ever reason my system is off by 19MB when it 
>comes to 512mb, and 28mb per gb.   I had to set my testing.cfg file to 531MB 
>to get free -m to show 512mb of total memory inside a domU and 1052 to get it 
>to so show 1024.
>can anyone provide any insight as to why or where i may go in an attempt to 
>get this solved?  20mb adds up to a lot when you run several domu's
Just compare with what you get on native: If you have 8Gb in the machine, you 
won't be shown a total of 8192Mb either. Linux is not precise in this respect.


Xen-devel mailing list

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