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] Use hard drive as physical mem for xen vm

To: "Oliver Neumann [New Identity AG]" <oliver.neumann@xxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Use hard drive as physical mem for xen vm
From: "Petersson, Mats" <mats.petersson@xxxxxxx>
Date: Fri, 11 Nov 2005 14:58:10 +0100
Delivery-date: Fri, 11 Nov 2005 13:58:36 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXmxwphrLykbPOWRoCI0+gLdoF2bQAAG/OA
Thread-topic: [Xen-users] Use hard drive as physical mem for xen vm
The short answer is NO. 

In longer text: Xen has no idea about swapping, which is really what you
want it to do [because you want Xen to say that there is 8GB of RAM
where there really isn't]. In Xen, all management of swapping is done in
the guest-OS, so Xen doesn't have any capability of managing swapping
[in fact, Xen itself doesn't even have a hard disk driver in it]. 

The only solution to your problem would be to have the required amount
of physical memory for the server, i.e. 8GB (+ a little bit) if you run
2x 4GB servers on one machine.

--
Mats 

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Oliver
Neumann [New Identity AG]
Sent: 11 November 2005 13:52
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Use hard drive as physical mem for xen vm

Hi all,

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?

Thanks for your help!

Sincerly,
Oliver Neumann


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



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