From: Tim Deegan Subject: Re: pre-reservation of memory for domain creation Date: Tue, 9 Feb 2010 10:39:58 +0000 Message-ID: <20100209103958.GC368@whitby.uk.xensource.com> References: <4B4CA40C0200007800029657@vpn.id2.novell.com> <4B4CAEB9020000780002969A@vpn.id2.novell.com> <6CADD16F56BC954D8E28F3836FA7ED7112A79326F2@shzsmsx501.ccr.corp.intel.com> <4B4D8A9402000078000299C3@vpn.id2.novell.com> <6CADD16F56BC954D8E28F3836FA7ED7112A7932EBF@shzsmsx501.ccr.corp.intel.com> <4B4EEB300200007800029E45@vpn.id2.novell.com> <20100114124619.GE30054@whitby.uk.xensource.com> <4B70490D020000780002E4AD@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: <4B70490D020000780002E4AD@vpn.id2.novell.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: Jan Beulich Cc: Dongxiao Xu , "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org At 16:25 +0000 on 08 Feb (1265646333), Jan Beulich wrote: > >Hmmm. Some shadow memory has to be allocated before the VCPUs are > >initialized so that they can be given monitor pagetables etc. Some > >shadow memory has to be allocated before the guest's main memory is > >assigned because the p2m is built out of shadow memory. > > So is there a way to quantify that? In particular, is that *initial* > amount in any way dependent on the number of vCPU-s? Sort of, and not very. We currently allocate about a page per megabyte for p2m; we use a small amount per vcpu (maybe as many as 7 pages) before the vpcu can be scheduled. > I'm re-raising this question because we're not seeming to make any > progress towards a satisfactory resolution of the regression c/s 20389 > introduced. I thought the regression was the Xen crash and that should be fixed by the patch I sent. Tim. -- Tim Deegan Principal Software Engineer, XenServer Engineering Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)