All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sander Eikelenboom <linux@eikelenboom.it>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Robert Phillips <robert.phillips@citrix.com>,
	Ben Guthro <ben@guthro.net>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: dom0 linux 3.6.0-rc4, crash due to ballooning althoug dom0_mem=X, max:X set
Date: Thu, 6 Sep 2012 13:16:55 +0200	[thread overview]
Message-ID: <899997008.20120906131655@eikelenboom.it> (raw)
In-Reply-To: <20120906105746.GA3668@phenom.dumpdata.com>


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

Will test that shortly

> The later.
>> 
>> 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.

Should that have been fixed ?
       A) you describe it as a bug, so even without tinkering with the default xl.conf, the tools shouldn't be autoballooning when "dom0_mem=X, max:X" is set right ?)
       B) or was it fixed by letting the user turn it off in xl.conf ?

If A .. That would make that the "bug" is still present in xen-4.2-rc4 ...

Because i was under the impression the "dom0_mem=X, max:X" would prevent the whole autoballooning stuff :-)


>> 
>> --
>> Sander

  reply	other threads:[~2012-09-06 11:16 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04 16:37 dom0 linux 3.6.0-rc4, crash due to ballooning althoug dom0_mem=X, max:X set Sander Eikelenboom
2012-09-04 16:33 ` Konrad Rzeszutek Wilk
2012-09-04 17:19   ` Sander Eikelenboom
2012-09-04 18:07     ` Ben Guthro
2012-09-04 18:22       ` Konrad Rzeszutek Wilk
2012-09-04 18:57         ` Sander Eikelenboom
2012-09-04 19:34       ` Sander Eikelenboom
2012-09-04 20:27         ` Robert Phillips
2012-09-05 14:06           ` Konrad Rzeszutek Wilk
2012-09-05 14:38             ` Sander Eikelenboom
2012-09-05 20:19               ` Konrad Rzeszutek Wilk
2012-09-05 22:52                 ` Sander Eikelenboom
2012-09-06 10:57                   ` Konrad Rzeszutek Wilk
2012-09-06 11:16                     ` Sander Eikelenboom [this message]
2012-09-06 16:46                     ` Sander Eikelenboom
2012-09-11 16:02             ` Stefano Stabellini
2012-09-12 10:28               ` Sander Eikelenboom
2012-09-12 11:28                 ` Stefano Stabellini
2012-09-13 13:32                 ` Konrad Rzeszutek Wilk
2012-09-13 13:42                   ` Robert Phillips
2012-09-14 14:53                   ` Conny Seidel
2012-09-14 17:00                     ` Konrad Rzeszutek Wilk
2012-09-14 17:38                       ` Conny Seidel
2012-09-17 19:14                   ` Sander Eikelenboom
2012-09-17 19:23                     ` Konrad Rzeszutek Wilk
2012-09-04 16:39 ` Konrad Rzeszutek Wilk
2012-09-04 18:02   ` Sander Eikelenboom
2012-09-04 17:58     ` Konrad Rzeszutek Wilk
2012-09-04 19:01       ` Sander Eikelenboom
2012-09-04 20:13       ` Sander Eikelenboom
2012-09-04 21:23       ` Sander Eikelenboom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=899997008.20120906131655@eikelenboom.it \
    --to=linux@eikelenboom.it \
    --cc=ben@guthro.net \
    --cc=konrad.wilk@oracle.com \
    --cc=robert.phillips@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.