From: Sander Eikelenboom Subject: Re: dom0 linux 3.6.0-rc4, crash due to ballooning althoug dom0_mem=X, max:X set Date: Thu, 6 Sep 2012 18:46:34 +0200 Message-ID: <1557575235.20120906184634@eikelenboom.it> References: <1136369816.20120904183757@eikelenboom.it> <20120904163347.GH23361@phenom.dumpdata.com> <143844933.20120904191941@eikelenboom.it> <1813712325.20120904213459@eikelenboom.it> <048EAD622912254A9DEA24C1734613C18C864C3C5D@FTLPMAILBOX02.citrite.net> <20120905140600.GA5844@phenom.dumpdata.com> <1014998302.20120905163848@eikelenboom.it> <20120905201933.GA27814@phenom.dumpdata.com> <679529047.20120906005220@eikelenboom.it> <20120906105746.GA3668@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120906105746.GA3668@phenom.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: Robert Phillips , Ben Guthro , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Thursday, September 6, 2012, 12:57:46 PM, you wrote: >> > About nine of them deal with dom0_mem=max ballooning up right, so if you >> > ignore those: >> >> > b9e0d95 xen: mark local pages as FOREIGN in the m2p_override >> > d79d595 xen: Add selfballoning memory reservation tunable. >> > f62805f xen: enter/exit lazy_mmu_mode around m2p_override calls >> >> > Try reverting any of those. >> >> Ah i missed your email since my hostingprovider was down :-( >> But anyway done a git bisect in the mean time that leads to: >> >> [f62805f1f30a40e354bd036b4cb799863a39be4b] xen: enter/exit lazy_mmu_mode around m2p_override calls > OK. Hmm.that will take a bit of thinking to fix. >> >> >> > And if nothing works there then we can try to revert the ones that >> > deal with 'dom0_mem=max:XX'.. >> >> > I also need to be able to reproduce this. You said you can only reproduce this >> > on your Intel box - is this a fast Intel machine? It also looks like you only >> > have 2GB in the machine - and reserve 1GB to the dom0. >> >> Machine is a quad core q9400 @ 2.66mhz, not very fast .. not very slow either > That is a fast machine. I was thinking you had a Core2 Solo or a Pentium IV Prescott. >> >> > If you manually (so don't start the guest), balloon down - say to 512MB and then launch >> > a guest do you see this problem? >> >> >> Should i use >> >> xl mem-max domain-id mem >> >> or >> >> xl mem-set domain-id mem > The later. Ok tested that as well: - After "xl mem-set 0 768M", xentop reports the new mem values (free and for dom0) correctly, nothing else happens. - After a small wait, i tried to start a guest and it crashes dom0 with the ballooning as before. >> >> for that ? >> >> >> Perhaps a silly question, but why is it ballooning anyway ? >> I have set dom0's memory and there is enough left to create the domain ... or at least there should be ... > There was a bug in xl that would autoballoon. You can turn it off using some xl.conf file. >> >> -- >> Sander