[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] crazy SWAP and RAM idea


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "SH Solutions" <info@xxxxxxxxxxxxxxx>
  • Date: Thu, 7 Sep 2006 23:26:35 +0200
  • Delivery-date: Fri, 08 Sep 2006 03:04:02 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcbSxEtf0GU8WiiFS9+AwBHlJJtcoA==

Hi

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?

Regards,
  Steffen

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

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.