From: "Jan Beulich" Subject: RE: pre-reservation of memory for domain creation Date: Tue, 09 Feb 2010 09:18:07 +0000 Message-ID: <4B71365F020000780002E676@vpn.id2.novell.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> <6CADD16F56BC954D8E28F3836FA7ED711CA70D75F1@shzsmsx501.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <6CADD16F56BC954D8E28F3836FA7ED711CA70D75F1@shzsmsx501.ccr.corp.intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dongxiao Xu Cc: "xen-devel@lists.xensource.com" , Tim Deegan , Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> "Xu, Dongxiao" 09.02.10 09:02 >>> >The patch I attached last time could not solve this issue. The reason is >the same that, at the point when shadow allocates memory for each vcpu, >xend hasn't ballooned out enough memory.=20 This is why I pinged Tim again. >I discussed this issue within our team, however we could't achieve a >good solution currently since Chinese New Year vacation will soon start. >Anyway I made a work-around patch for it, though you may not like it.=20 Yes, this is what I don't want to do unless absolutely necessary. At the risk of unduly repeating myself - ballooning out 4Mb to be able to allocate 1Mb in 4-page chunks was empirically sufficient (though there never was a guarantee). Increasing the to-be-allocated and to-be- ballooned-out amounts by the same factor does not yield the same confidence that allocation will actually succeed. Hence my goal to reduce the initial allocation (to be satisfied from the pre-ballooning) as much as possible. Unfortunately there was no reply from Tim on that matter so far. Jan