[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xen 4.3.2 rc1 memory ballooning
On Mon, Feb 17, 2014 at 01:27:57PM +0400, Vasiliy Tolstov wrote: > Update info: > If i from dom0 do xl mem-set XXX maxmem, domU can balloon up/down fine. > What is the difference between 4.1 and 4.3 in this case? > I don't quite know the difference between 4.1 and 4.3 off the top of my head. 4.1 is too old for me. I think I've seen this before. The root cause is that xl (now) always caps maxmem to memory when building a domain but never raises it to the real maxmem set in config file. It's a matter of turning a parameter from "true" to "false" in source code, but it's not exposed to users at the moment. If you're interested, have a look at libxl/xl_cmdimpl.c:2683. The "enforce" parameter to libxl_set_memory_target is always set to 1. Daniel posted a series of patch to fix that behavior but it wasn't merged. It's too late to fix that for 4.5. We can revisit that series during next development cycle if we have time. http://lists.xenproject.org/archives/html/xen-devel/2013-04/msg03072.html Wei. > 2014-02-14 22:12 GMT+04:00 Vasiliy Tolstov <v.tolstov@xxxxxxxxx>: > > 2014-02-14 20:34 GMT+04:00 Wei Liu <wei.liu2@xxxxxxxxxx>: > >> My gut feeling is nothing is wrong with Xen. It's just that you have a > >> typo in your config file. :-) > >> > >> Wei. > > > > No, if i have error in config domain can't start. You known that. > > my config is: > > > > name="21-10918" > > kernel="/var/storage/kernel/debian/6/kernel-64" > > ramdisk="/var/storage/kernel/ramdisk-64" > > vif=["mac=00:16:3e:00:2c:63,ip=62.76.185.64"] > > disk=["phy:/dev/disk/vbd/21-916,xvda,w"] > > memory=512 > > maxmem=1024 > > vcpus=3 > > maxvcpus=3 > > cpu_cap=300 > > cpu_weight=256 > > vfb=["type=vnc,vnclisten=0.0.0.0,vncpasswd=7QOG1885y3"] > > extra="root=/dev/xvda1 selinux=1 enforcing=0 iommu=off swiotlb=off > > earlyprintk=xen console=hvc0" > > on_restart="destroy" > > cpuid="host,x2apic=0,aes=0,xsave=0,avx=0" > > device_model_version="qemu-xen" > > device_model_override="/usr/bin/qemu-system-x86_64" > > > > -- > > Vasiliy Tolstov, > > e-mail: v.tolstov@xxxxxxxxx > > jabber: vase@xxxxxxxxx > > > > -- > Vasiliy Tolstov, > e-mail: v.tolstov@xxxxxxxxx > jabber: vase@xxxxxxxxx _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |