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] Memory bound applications

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Memory bound applications
From: Javier Guerra <javier@xxxxxxxxxxx>
Date: Thu, 20 Apr 2006 07:32:50 -0500
Delivery-date: Thu, 20 Apr 2006 05:35:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <444775F9.4060909@xxxxxxxxxx>
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: <200604201339.30391.Mathias.Waack@xxxxxxxxxx> <444775F9.4060909@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
On Thursday 20 April 2006 6:52 am, Taneli Leppä wrote:
> Hello,
>
> Why not just set up the swap in the guests?

or, give each domU 256MB-1GB, (variable with the baloon driver).   most of the 
domUs would have just 256MB and do lot of swapping, and one of them (the busy 
one) could get more real RAM (up to 1GB) to do its work.

that assumes, of course, that only one or two would be really busy at a time 
and you know in advance which one will be the busy one.

also, you say that most of the RAM used by your application is a 'shared cache 
between the instances'.  what if you create in dom0 a 1GB file in a 
RAM-backed filesystem (like tmpfs), use that as the VBD for all instances. 
then you could use that extra partition and mmap it on each application 
instance.

this would only work nice if that 'shared cache' is either read-only, or if 
there's another channel of communication to propagate changes.

-- 
Javier

Attachment: pgpMjUVvTBh5T.pgp
Description: PGP signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>