From: Mark Williamson Subject: Re: question on balloon driver Date: Tue, 2 Aug 2005 13:53:54 +0100 Message-ID: <200508021353.55198.mark.williamson@cl.cam.ac.uk> References: <1122878770.8414.4.camel@localhost.localdomain> <42EE3BB8.9010601@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <42EE3BB8.9010601@us.ibm.com> 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: xen-devel@lists.xensource.com Cc: Jonas Appel List-Id: xen-devel@lists.xenproject.org > 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 :-) ). Cheers, Mark