From: "Jan Beulich" Subject: Re: xen balloon issue? Date: Tue, 16 Mar 2010 15:52:40 +0000 Message-ID: <4B9FB758020000780003534B@vpn.id2.novell.com> References: <67C84CCFBA7570459B81345BA19100052CB6@ex02.hostourweb.local> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <67C84CCFBA7570459B81345BA19100052CB6@ex02.hostourweb.local> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Robbie Garertt Cc: Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> "Robbie Garertt" 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. =20 >I have a xen server setup and running version 3.4.2. Kernel version is = 2.6.31.12. >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.=20 >526336 /1024 =3D 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. >=20 > =20 >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. =20 >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 =20 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. Jan