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


[Xen-users] crazy SWAP and RAM idea

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] crazy SWAP and RAM idea
From: "SH Solutions" <info@xxxxxxxxxxxxxxx>
Date: Thu, 7 Sep 2006 23:26:35 +0200
Delivery-date: Fri, 08 Sep 2006 03:04:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AcbSxEtf0GU8WiiFS9+AwBHlJJtcoA==

I've been thinking about the following:

As every domU has it's own RAM, I cannot give as much memory to each domU,
as I wanted to.
So I gave them swap. That's LVM-backed.
But now, each domain that exceeds it's memory needs to swap pages in and
out, while other domains might not need their memory.

The idea to solve this, is a follows:

1. Give every domU as few memory as possible. (16MB?)
2. Give dom0 a huge fast swap space (several GB?)
3. Create a "RAMDRIVE" in dom0 in that swap.
4. Create domU's swap partitions on dom0's ramdrive.

The reason would be that dom0 can now "really" swap in pages as *REALLY*
needed from/to harddrive.
DomU's would then "only" swap from/to a partition that really is RAM and as
such really fast.

Seems a little crazy idea, but a way to make swaping more sensfull.

What do you think?


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Xen-users mailing list