From mboxrd@z Thu Jan 1 00:00:00 1970 From: Apoorva Kulkarni Subject: Re: HVM and free_memory query Date: Fri, 10 Jul 2009 11:48:01 -0700 Message-ID: <4A578CE1.7030106@3tera.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > 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 > Exactly what we were looking for. Thanks a ton. -- Apoorva Kulkarni 3Tera, Inc.