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

Re: [Xen-devel] xen 4.3.2 rc1 memory ballooning



On Fri, Feb 21, 2014 at 03:30:21PM +0400, Vasiliy Tolstov wrote:
> 2014-02-21 14:56 GMT+04:00 Wei Liu <wei.liu2@xxxxxxxxxx>:
> > DISCLAIMER: xl is designed like that for a reason, I don't think I know
> > this particular reason. I just know how it is implemented. So you need
> > to evaluate the risk before changing it. I wouldn't claim the following
> > paragraphs as a "fix" to this issue.
> >
> > If you don't care much about altering the behavior, the change is only
> > oneliner. Find libxl/libxl_dom.c:libxl__build_pre, then look for
> > xc_domain_setmaxmem. There's a parameter "info->target_memkb". Change it
> > to "info->max_memkb".
> >
> > With that change, not the cap is set to maxmem= by default when building
> > a domain.
> 
> 
> Thanks! =) May be alter current setting based on enforce param from
> Daniel patch?
> 

That would require a fair amount of plumbing. Plus the paramater Daniel
introduced might not fit this purpose. I don't think we should / can do
anything before reaching a concensus on the list, not without toolstack
maintainer's input. Probably something for 4.5 cycle.

Wei.

> -- 
> Vasiliy Tolstov,
> e-mail: v.tolstov@xxxxxxxxx
> jabber: vase@xxxxxxxxx

_______________________________________________
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®.