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/
Home Products Support Community News


AW: [Xen-users] Use hard drive as physical mem for xen vm

To: "'Petersson, Mats'" <mats.petersson@xxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: AW: [Xen-users] Use hard drive as physical mem for xen vm
From: "Oliver Neumann [New Identity AG]" <oliver.neumann@xxxxxxxxxxxxxx>
Date: Fri, 11 Nov 2005 15:12:42 +0100
Delivery-date: Fri, 11 Nov 2005 14:14:36 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B325E57@xxxxxxxxxxxxxxxxx>
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>
Organization: New Identity AG
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXmxwphrLykbPOWRoCI0+gLdoF2bQAAG/OAAACNpOA=
Hmpf, to bad. Thanks for your answer.

-----Ursprüngliche Nachricht-----
Von: Petersson, Mats [mailto:mats.petersson@xxxxxxx] 
Gesendet: Freitag, 11. November 2005 14:58
An: Oliver Neumann [New Identity AG]; xen-users@xxxxxxxxxxxxxxxxxxx
Betreff: RE: [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.


-----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
on each XenU, I wondered if I could use hard disc space as memory for
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
not enough, they will not work.

How can I do that?

Thanks for your help!

Oliver Neumann

Xen-users mailing list

Xen-users mailing list