From: Keir Fraser Subject: Re: HVM and free_memory query Date: Fri, 10 Jul 2009 19:41:33 +0100 Message-ID: References: <4A578994.3040806@3tera.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A578994.3040806@3tera.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Apoorva Kulkarni Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 10/07/2009 19:33, "Apoorva Kulkarni" 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