[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] pre-reservation of memory for domain creation



At 12:41 +0000 on 09 Feb (1265719265), Jan Beulich wrote:
> >OK; the early allocation, for a domain with no vcpus and no RAM, is a
> >constant 4 MiB, and just needs to be added to whatever overheads are
> >already being taken into account (domain and vcpu structs, VMCBs, &c).
> 
> The issue is that this used to be 1Mb. Hence the question whether
> in fact it needs to be 4Mb now (which it got increased to when max
> HVM vCPU-s got grown to 128).
> 
> The point here is that on one hand there's no clear picture how
> much memory is really needed before the full shadow allocation
> gets set up, and on the other hand Keir is recalling issues
> resulting from not growing the amount to 4Mb.

Righto.  The change from 1MB to 4MB is not the right fix for those
issues -- instead, Xend ought to set the shadow memory allocation before
it allocates vcpus.

Tim

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, XenServer Engineering
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.