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

Re: [Xen-devel] [PATCH v3] tools/libxc: Batch memory allocations for PV guests



On Mon, 2015-06-15 at 17:08 +0100, Wei Liu wrote:
> On Mon, Jun 15, 2015 at 11:12:07AM +0100, Ross Lagerwall wrote:
> > The current code for allocating memory for PV guests batches the
> > hypercalls to allocate memory by allocating 1024*1024 extents of order 0
> > at a time. To make this faster, first try allocating extents of order 9
> > (2 MiB) before falling back to the order 0 allocating if the order 9
> > allocation fails.
> > 
> > On my test machine this reduced the time to start a 128 GiB PV guest by
> > about 60 seconds.

From 61s or from 600s?

> > 
> > Signed-off-by: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>
> 
> Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

Applied. There were some rejects due to "libxc: unify handling of vNUMA
layout" having gone in first, I think they were just contextual and they
seemed trivial to resolve, but please do (both) check.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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