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

Re: [Xen-devel] [PATCH] docs: clarify xl mem-max semantics



Konrad Rzeszutek Wilk writes ("Re: [Xen-devel] [PATCH] docs: clarify xl mem-max 
semantics"):
> On Fri, Jan 20, 2017 at 10:54:18AM +0100, Juergen Gross wrote:
> >  The mem-max value may not correspond to the actual memory used in the
> >  domain, as it may balloon down its memory to give more back to the OS.

Thanks for working on this.

> > +The value given just sets the memory amount the domain is allowed
> > +to allocate in the hypervisor. Thus it can't be lower than the
> > +current reservation,

This is not true.  It is perfectly possible to set max_pages lower
than the current reservation.  This is routine: xl mem-set does it
when the guest is being asked to shrink.  It prevents the guest from
growing instead.

Setting max_pages < target seems like it wouldn't make sense but as I
don't understand the system setup for target != max_pages I don't feel
confident about that.

> > + * change of the current memory size involved. The allowed memory size can
> > + * even be above the configured maxmem size of the domain, but the related
> > + * Xenstore entry memory/static-max isn't modified!

static-max is an "almost unrelated" entry, not a "related" one.

Ian.

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

 


Rackspace

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