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] Memory Sizing Guidelines

To: Christian Horn <chorn@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Memory Sizing Guidelines
From: Paul Waldo <pwaldo@xxxxxxxxxxxxx>
Date: Sat, 20 Oct 2007 07:27:35 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 20 Oct 2007 04:27:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071019140929.GA9599@xxxxxxxxxxxx>
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: <4718B53C.90507@xxxxxxxxxxxxx> <20071019140929.GA9599@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20070824)
Christian Horn wrote:
On Fri, Oct 19, 2007 at 09:46:36AM -0400, Paul Waldo wrote:
I have searched in vain on google for tips on memory sizing but have had 
no luck.  What are the guidelines for allocating memory amongst the Dom0 
and the DomUs?
dom0: advises range from reserving 128MB to 512MB if you arent running heavy 
	applications in dom0 (which should be moved into domUs).
domU: The kernel and applications running there handle memory as they do
	on usual servers, so size as usual here, mainly depending on the
	applications you will run.

As an example, I have a Xen server that has 2 GB memory.  I want to 
create 2 DomUs.  If these were standalone machines, 1GB each would be 
fine.  How would I partition this memory under Xen?
256MB for dom0, rest split up for the 2 domU would be my guess.

Thanks for the reply, Christian.  The only services I plan on running on dom0 are ones that support the domU, so it should be pretty light.  I guess the main issue is disk caching.  Linux uses free memory to cache disk, so where should that happen, the dom0 or the domU?

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>