[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 Tue, 2011-11-22 at 08:38 +0000, Teck Choon Giam wrote:
> On Tue, Nov 22, 2011 at 4:31 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> > On Tue, 2011-11-22 at 08:30 +0000, Teck Choon Giam wrote:
> >> On Tue, Nov 22, 2011 at 4:18 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> 
> >> wrote:
> >> > On Tue, 2011-11-22 at 07:56 +0000, Teck Choon Giam wrote:
> >> > [...]
> >> >> memory = 15360
> >> >> maxmem = 15360
> >> > [...]
> >> >> How much RAM does the host system have? What are your hypervisor and
> >> >> > dom0 command lines.
> >> >>
> >> >> 16GB RAM.
> >> >
> >> > So you are assigning 15GB out of a total of 16GB to the guest which
> >> > necessitates ballooning dom0 from 16GB down to 1GB.
> >>
> >> I actually set dom0-min-mem 512 in xend-config.sxp as well.
> >
> > xl/libxl don't use this configuration file.
> 
> Oh... now then I know.  I always test with both xl and xm for my
> testing machine(s) to see any differences as there are... ...

I believe xend and xl do behave slightly differently wrt dom0 auto
ballooning.

> 
> >
> >>
> >> >
> >> >> title Scientific Linux (2.6.32.47-0.xen.pvops.choon.sl6)
> >> >>       root (hd0,0)
> >> >>       kernel /xen.gz dom0_mem=512M loglvl=all guest_loglvl=all 
> >> >> cpuidle=0 cpufreq=none
> >> >
> >> > But you have already forced the dom0_mem to 512M. I suspect this is
> >> > colluding with the above ballooning to make it look as if dom0 should be
> >> > ballooned to <128M, which causes xl to print a warning message. Perhaps
> >> > someone who understands this stuff can comment on whether or not this
> >> > should be the case.
> >> >
> >> > Can you try setting "autoballoon=0" in /etc/xl.cfg.
> >>
> >> You mean /etc/xen/xl.conf?  I have done so and guess what?  IT WORKS!!! :)
> >
> > Great.
> 
> That means default value changed if it is unset for autoballoon?
> Original one is commented with #autoballoon = 1 in /etc/xen/xl.conf so
> it is unset I guess so the default value for autoballoon for c/s 23110
> is autoballoon=0 where c/s 23190 is autoballoon=1?  Just some
> guessing... ...

Can you give the full changeset numbers of what you see as 23110 and
23190 please, the short numbers are not globally stable and in my
version that file is identical in both.

Ian.
 
> 
> >
> > Ian.
> 
> Thanks.
> 
> Kindest regards,
> Giam Teck Choon



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