[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] libxl: error: libxl.c:2150:libxl_set_memory_target new target 0 for dom0 is below the minimum threshold
On Wed, 23 Nov 2011, Ian Campbell wrote:
> > > On the other hand I'm not sure why autoballoon and dom0_mem play so
> > > badly together. Surely if dom0_mem is used autoballon should just see
> > > that there is plenty of free RAM in the system and not do anything?
> >
> > Because one of the "memory slack" paramters needed by autoballoon is
> >
> > totalmemory - dom0_memory_at_boot
>
> libxl gets dom0_memory_at_boot via the dominfo (in
> libxl__fill_dom0_memory_info which I assume happens before any
> potentially autoballooning) which should take dom0_mem into account,
> doesn't it?
It does, in the sense that the memory slack is trimmered to max 15% of
total memory.
Basically there is no way to calculate this parameter if dom0_mem is
set, so we conservatively set it to 15%.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|