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] Few Questions / Application of Xen

To: Steffen Heil <lists@xxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Few Questions / Application of Xen
From: "M.A. Williamson" <maw48@xxxxxxxxx>
Date: 21 Mar 2006 16:08:02 +0000
Cc: 'Ugo PARSI' <ugo.parsi@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 21 Mar 2006 16:09:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <003d01c64ce5$d821bfb0$0b4613ac@shs1>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <003d01c64ce5$d821bfb0$0b4613ac@shs1>
Reply-to: mark.williamson@xxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I am also somehow new to xen, so somebody correct me if I am wrong.
But as fas as I understand:

Every domU has it's own kernel which manages it's own memory.
So every domU also has it's own drive cache.

Yep.

Most OSs tend to simly use all free memory for drive caches. So does Windows and so does linux. This makes sence for real hardware, since unused free memory is a waste of resources and using every available memory as cache speeds up the mashine extremely. However, if there are other systems that share the same memory, It might be better for one system to have less cache memory and therefor preventing another system from swaping. But to take control of this, every system would need to know about the memory usage of the other systems. That would be totally against system separation.

It depends. If you're (for instance) a hosting company, you might want to prevent domains from impacting each other completely. If you run your own services in multiple domains, you might want to allow them to grow / shrink according to demand, but with limits on how far one domain could grow at the expense of others. This is (more or less) something that can be solved in the management tools - each domain would report its current load statistics and the management tools would reallocate memory between them accordingly. You might want an administrator alarm bell so that potential resource hogs can be checked out and killed by the sysadmin ;-)

Another thing you'd want to do is share the IO caches between domains - if they have a common basic root filesystem, this could be a big win in performance and memory utilisation.

Cheers,
Mark

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