From: Ian Campbell Subject: Re: Very strange behavior between balloon driver and network driver (Arndale) Date: Wed, 29 May 2013 14:51:57 +0100 Message-ID: <1369835517.13087.6.camel@zakaz.uk.xensource.com> References: <13839965.291331369828647053.JavaMail.weblogic@epml02> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <13839965.291331369828647053.JavaMail.weblogic@epml02> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: jaeyong.yoo@samsung.com Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, 2013-05-29 at 11:57 +0000, Jaeyong Yoo wrote: > > > >This needs to be a Xen argument, not a dom0 kernel argument. > Ah! got it. > > > > >That said I thought that privcmd mmapbatch put back the original page, > >perhaps I am mistaken here though. > > > >> - create domU with config autoballoon="off" > > > >>You put this in /etc/xen/xl.conf, not the guest config, correct? > > Yes. > > I guess the current work-around solution would be commenting out > the following two lines, very nasty and introduces memory leak though. > Memory leak gives more time than network error for testing xen on Arndale :) The kernel should reuse ballooned out pages where possible rather than creating more so the leak is probably limited. Not ideal though. I suspect the real answer is that the 1:1 workaround needs to be cleverer when dom0 decreases and increases its reservation... > > In function drivers/xen/balloon.c > //if (current_credit()) > // schedule_delayed_work(&balloon_worker, 0); > > Jaeyong