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] question on balloon driver

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] question on balloon driver
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Tue, 2 Aug 2005 13:53:54 +0100
Cc: Jonas Appel <jonas.appel@xxxxxxxxxx>
Delivery-date: Tue, 02 Aug 2005 12:53:44 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42EE3BB8.9010601@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1122878770.8414.4.camel@xxxxxxxxxxxxxxxxxxxxx> <42EE3BB8.9010601@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.2
> It depends on what you mean by automatic.  I'm not sure anyone has ever
> posted an automated memory balancer.

One fine day, someone should write this.  It'd allow you to trade off a bit of 
isolation for a bit of statistical multiplexing in the case where your 
domains don't have a paranoid mistrust of each other.

VMware ESX sets a minimum, a maximum and a target percentage share for each 
machine.  It then does sampling of the domains to find out how much of their 
memory they're *really* using.  If they're not using all of it, they get told 
to give it back using the balloon driver and it's apportioned to domains that 
are using their memory more heavily.

This sort of thing should carry fairly straightforwardly across to Xen.  We 
could simply get domains to report their current utilisation through the 
store without needing to do sampling behind their back.

Could be a fun project for someone looking to get into Xen stuff (yes, that's 
an unsubtle hint to the world at large :-) ).


Xen-devel mailing list