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-devel] HVM and free_memory query

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] HVM and free_memory query
From: Apoorva Kulkarni <apoorva@xxxxxxxxx>
Date: Fri, 10 Jul 2009 11:48:01 -0700
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 10 Jul 2009 11:49:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C67D49ED.F538%keir.fraser@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C67D49ED.F538%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (Windows/20090605)
Keir Fraser wrote:
On 10/07/2009 19:33, "Apoorva Kulkarni" <apoorva@xxxxxxxxx> wrote:

Thank you for your quick response. That helps a lot.

In our case we need to know precisely how much overhead memory is
required by xen per domain. So is it okay for us to assume that it will
always be under 0.8% or could there be exceptions to this (e.g.
different fractions for a Solaris 10 HVM vs Windows HVM) ?

Precisely, the overhead is determined by xend as: 8kB per 1MB of guest
memory, plus 1MB per guest virtual cpu.

See xen/xend/image.py:X86_HVM_ImageHandler:getRequiredShadowMemory()

 -- Keir

Exactly what we were looking for. Thanks a ton.

Apoorva Kulkarni
3Tera, Inc.

Xen-devel mailing list

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