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: AW: [Xen-users] Use hard drive as physical mem for xen vm

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: AW: [Xen-users] Use hard drive as physical mem for xen vm
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Fri, 11 Nov 2005 14:22:37 +0000
Cc: 'Ernst Bachmann' <e.bachmann@xxxxxxxx>, "Oliver Neumann \[New Identity AG\]" <oliver.neumann@xxxxxxxxxxxxxx>
Delivery-date: Fri, 11 Nov 2005 14:24:01 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <0ML2ov-1EaZhy1Eok-0001Bp@xxxxxxxxxxxxxxxxxxxxxxxx>
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: <0ML2ov-1EaZhy1Eok-0001Bp@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.3
> No, with that amount of data in our databases we already calculated, that
> we need at least 4GB only for each cluster node, so we woul dhave to buy at
> least 8GB of ECC RAM which isn't really cheap. The 'problem' is that we
> only need to test an application on a cluster, after that we don't need
> that big amount of memory in that machine so the money is somehow wasted.
> As for the performance: That is irrelevant, the cluster does not need to be
> fast (it actually can be damn slow!).
>
> Unfortunately there seems to be no chance to save the money using Xen with
> harddisc emulated physical RAM, right?

Can you really not configure MySQL to have a smaller RAM footprint?

If you really want to be evil, you could configure a 4Gig domain, start MySQL 
and then *balloon* it down to 2Gig.  MySQL would still see a 4Gig machine, 
just with lots of memory allocated by the kernel...  In reality that 
"allocated" memory is given back to Xen.

You could then do the same for the other MySQL domU (if they don't initially 
fit in memory at once, suspend the first one to disk).

You should be able to get them both fitting in memory, although you'll 
probably be well advised to configure them both with swap internally ;-)

Have fun; if you do try this please let us know how it goes.  It's such an 
utterly twisted thing to do, I'm very curious to find out if it works!

Cheers,
Mark

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