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


Re: [Xen-users] Xen swap space

To: xen-users@xxxxxxxxxxxxxxxxxxx, Arijit Ganguly <aganguly@xxxxxxxxx>
Subject: Re: [Xen-users] Xen swap space
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Fri, 3 Jun 2005 16:45:48 +0100
Delivery-date: Fri, 03 Jun 2005 16:44:29 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <3e8ac0bf0506030940368f2ddd@xxxxxxxxxxxxxx>
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: <3e8ac0bf0506030940368f2ddd@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
> I was just wondering how Xen takes care of swap space.

Domains are treated as independent machines in this respect - it's up to them 
to do swapping themselves.

> > Is there an option  
> in the configuration file, to specify the logical drive to use as swap, and
> what if swap is not specified.

Just export a VBD to the domain that it can use for swap, then configure the 
domain's fstab to use, just as you would on a real machine.

If swap's not specified then the domain will just use its physical RAM 
allocation but may be more vulnerable to out-of-memory conditions.


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>