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-devel

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 01:48:13 +0100
Cc: Jonas Appel <jonas.appel@xxxxxxxxxx>
Delivery-date: Tue, 02 Aug 2005 09:47:08 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1122878770.8414.4.camel@xxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.2
> I'm trying to get into the internals of xen and especially the balloon
> driver. During the time I dealt with that, several questions came up:

Excellent!  The more people who know about this stuff (and preferably hack on 
it ;-) the better.

> * Does (and if yes, how) the balloon driver in an guest OS have to be
> activated?

It's purely manual right now: you set a target memory allocation and the 
balloon driver will try and resize the guest to fit.

The target is set by an interface in /proc, or by a message on the Xen control 
interface (soon to be replaced by a value in the xenstore registry).

> * Does the automatic release of memory from a guest OS to Xen already
> work?

Nope, we'd like some kind of daemon to run in dom0 and balloon guests 
according to their need.  This should probably include some activity 
statistics reported by the guests, so the daemon can figure out which needs 
more memory.  Swap statistics might give a good idea of which guests needed 
memory.

> * Is the limit of 100 Guest OSs (as mentioned on
> http://en.wikipedia.org/wiki/Xen_%28virtual_machine_monitor%29 ) really
> hardcoded somewhere or is it more a practical value (or does the limit
> not exist)?

You should be able to start several hundred guests before hitting any hard 
coded limits (e.g. number of event channels  - I'm told there's a plan to 
remove this restriction).  Before you get to that stage, most systems will 
run out of hardware oomph to run so many guests *and* still do something 
useful.  I think Ian started somewhere over 100 guests one time and IIRC he 
ran out of disk images before hitting any limits :-)

Any limits will likely be addressed, since people are a) starting to use very 
large machines with Xen (Unisys are running it on 32 CPU boxes) and b) using 
cunning tricks to get extremely large numbers of guests running (I've heard 
"thousands" mentioned).

Cheers,
Mark

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