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] swap size on dom0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] swap size on dom0
From: Geoff Kirk <geoff.k@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 30 Jul 2007 13:48:23 +0100
Delivery-date: Mon, 30 Jul 2007 05:46:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <718828c0707292126p499a0aefk4b0d35fc60f1f1fb@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: <718828c0707292126p499a0aefk4b0d35fc60f1f1fb@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.4 (X11/20070604)
Yes that sound a lot too much. 1st point i would make is to pass dom0_mem=xxxxx 
where xxxxx is number of kilobytes to assign to dom0 (not including domU's) 128 
megabytes should be more than enough (xxxxx=128000). 2nd point as a general 
rule i find its then good to use same amount of swap space as i have ram in 
that case would be 128 megabytes. I have heard in the past it used to be 
suggested 2x ram for swap but that much is not often needed. In general a dom0 
should not require so much ram because it doesn't as a rule do anything but 
serve domU's. 128 megabytes of each should be plenty.

Tomoki Taniguchi wrote:
I have installed Xen on top of an Ubuntu Feisty Server Edition.
The system has 4Gig of RAM.  Feisty by default sets up a
 swap partition 2x~3x times the size of the RAM,
which in this case ended up being nearly 10G.

Is this much swap space necessary for running dom0?


TIA,
Tomoki Taniguchi

_______________________________________________
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

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