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: Ernst Bachmann <e.bachmann@xxxxxxxx>
Date: Fri, 11 Nov 2005 15:25:21 +0100
Delivery-date: Fri, 11 Nov 2005 14:25:31 +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.1
On Friday 11 November 2005 15:15, Oliver Neumann [New Identity AG] wrote:
> >> I've got a machine that should serve 2 XenUs as mysql cluster nodes with
> >> realy big memory consumption. As mysql cluster will need approx. 4GB
> >> memory on each XenU, I wondered if I could use hard disc space as memory
> >> for the XenU that appears as real physical memory within the VM. Swap is
> >> no alternative as mysql cluster nodes check the physical memory and if
> >> that is not enough, they will not work.
> >>
> >> How can I do that?
> >
> >Invest a few extra € and put 8Gigs of ram in that server?
> >Reconfigure the mysql instances to run with just 2GB?
> >Seriously, mysql wants physical ram there for a reason, if that memory is
> >swapped, it would be faster for mysql to just read the blocks from its db
> >files.
>
> 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?

As Mats pointed out, xen doesn't know about harddrives, so it can't do any 
swapping itself. 
Maybe you'll have more luck with a virtualization method running at a higher 
level like linux-vserver or vmware or perhaps an emulation like qemu.

/Ernst

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