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] Ballooning and Free memory in xm info

To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Ballooning and Free memory in xm info
From: Stefan de Konink <skinkie@xxxxxxxxx>
Date: Sat, 19 Jul 2008 18:30:46 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 19 Jul 2008 09:31:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200807191723.50486.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <48820E32.9080201@xxxxxxxxx> <200807191723.50486.mark.williamson@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080519)
Mark Williamson schreef:
On Saturday 19 July 2008, Stefan de Konink wrote:
Is it expected behavior that when ballooning is enabled the amount of
free memory visisble is 28k (thus: 0) in free_memory?

Do you mean autoballooning of dom0? Before you've started and destroyed any guests then I'd guess this is normal - dom0 will have been sized to use all available memory. From Xen's PoV the memory is not free because dom0 currently owns it; dom0 will free it to Xen before starting a domU when autoballooning is active.

Or did you mean something else?

Even with one domain active it is still 0. I'm currently creating an cluster economy. One part of the bidding process is new domain is of course free memory. I'm using libvirt, and this is 'smartly' reporting only 28k free memory with ballooning on. That is probably equal to xm info does in megabytes.

I have 'solved' the issue by specifying dom0_mem=... at the Xen cmdline, but I guess there must be a way to get the value:

total_free = xen_total - (dom0_total - dom0_free)

(from the ballooning driver)



Stefan

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