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-devel

Re: [Xen-devel] How much memory does a domain REALLY use...

To: Nick Craig-Wood <nick@xxxxxxxxxxxxxx>, <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] How much memory does a domain REALLY use...
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Mon, 26 Feb 2007 13:27:41 +0000
Delivery-date: Mon, 26 Feb 2007 05:26:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070226124142.4119914C02B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdZqePTIiUCssWdEdu1UwAX8io7RQ==
Thread-topic: [Xen-devel] How much memory does a domain REALLY use...
User-agent: Microsoft-Entourage/11.2.5.060620
On 26/2/07 12:41, "Nick Craig-Wood" <nick@xxxxxxxxxxxxxx> wrote:

>>  Yes, there's an overhead of 7MB per 1GB on i386, and 12MB per 1GB
>>  on x86/64.
> 
> Some time ago (xen 3.0.2 I think) I measured the overhead on i386 to be
> 
>   12 MB per domain

Do you mean 12MB static overhead for Xen itself? There is no 12MB overhead
per guest, unless you are talking about HVM guests in which case there is
some shadow-pagetable overhead (I'm not sure it's as much as 12MB though).

 --Keir

>   plus 6MB per GB host RAM
> 
> I guess it has gone up since the above figures fit the 7MB amount much
> better
> 
>>>> for total in (2, 6, 8, 16): print "Total",total,"Calculated
>>>> used",total*7+12+768
> ... 
> Total 2 Calculated used 794
> Total 6 Calculated used 822
> Total 8 Calculated used 836
> Total 16 Calculated used 892


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