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


[Xen-devel] xen balloon issue?

To: <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] xen balloon issue?
From: "Robbie Garertt" <rgarrett@xxxxxxxxxxxxxx>
Date: Tue, 16 Mar 2010 10:46:46 -0400
Delivery-date: Tue, 16 Mar 2010 07:47:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrFF4BM/D3C04/TQ5ydkiMPpbo1FA==
Thread-topic: xen balloon issue?
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?
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
Config options below.
Made the dom0 and domU kernel by doing
git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen
cd linux-2.6-xen
make && make modules && make modules_install && make bzImage && make install
my domU config is
kernel      = '/boot/vmlinuz-'
ramdisk     = '/boot/initrd.img-'
memory      = '512'
#  Disk device(s).
root        = '/dev/xvda2 ro'
disk        = [

#  Physical volumes
#  Hostname
name        = 'Testing'
#  Networking
vif         = [ 'ip=,mac=00:16:3E:78:FB:92' ]
#  Behaviour

on_reboot   = 'restart'
on_crash    = 'restart'
Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>