From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Vasiliy G Tolstov <v.tolstov@selfip.ru>
Cc: Don Brearley <donbrearley@hibbing.edu>, xen-devel@lists.xensource.com
Subject: Re: linux kernel 2.6.37
Date: Wed, 26 Jan 2011 12:58:28 -0500 [thread overview]
Message-ID: <20110126175828.GA26532@dumpdata.com> (raw)
In-Reply-To: <20110125184342.GA4975@dumpdata.com>
On Tue, Jan 25, 2011 at 01:43:42PM -0500, Konrad Rzeszutek Wilk wrote:
> On Tue, Jan 25, 2011 at 07:33:14PM +0300, Vasiliy G Tolstov wrote:
> > On Tue, 2011-01-25 at 09:45 -0500, Konrad Rzeszutek Wilk wrote:
> > > On Mon, Jan 24, 2011 at 11:19:02PM +0300, Vasiliy G Tolstov wrote:
> > > > On Fri, 2011-01-21 at 19:16 +0300, Vasiliy G Tolstov wrote:
> > > > > On Fri, 2011-01-21 at 10:30 -0500, Konrad Rzeszutek Wilk wrote:
> > > > >
> > > > > > Do you see any messages during bootup about memory being returned? Look for
> > > > > > xen_release_chunk .. and pages freed ?
> > > > [snip]
> > > >
> > > > Hello. Konrad, do You have any progress about this issue?
> > >
> > > Try booting your kernel with 'debug loglevel=10 memblock=debug'. I know that at least
> > > 64MB is used for SWIOTLB (which you don't need - you can disable that since you are
> > > not doing any PCI passthrough), 6MB for kernel + kernel data. The "memblock=debug" will
> > > give you the details to figure out who else is eating the big swaths of memory.
> > >
> >
> > Nice suggestion about swiotlb. Can You check my debug output and helps
> > me to find what else eats memory?
>
> Why don't you run this through | grep memblock,
> then awk - extract those regions .. something like this:
>
> grep memblock | serve_range:// | sed s/\\[// | sed s/\\]// | sed s/-/\ / | awk --non-decimal-data ' { a=$2;b=$1;printf "%s %s\n", a-b, $3 }
>
> that should give you an idea what is eating what memory. For example
> NODE_DATA looks to be eating a bunch of 20 pages (20*4096)= 81920 bytes.
>
> thought later on it free's some of them.
Did you do what I asked you try?
Also what is the memory consumption when you boot Linux as HVM guest? You MUST have
the same amount of memory in both guests, so try the test with
mem=512
maxmem=512
for both HVM and PV. What is the difference in the log console when you use memblock=debug?
Do you see any big differences?
next prev parent reply other threads:[~2011-01-26 17:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-20 20:09 linux kernel 2.6.37 Don Brearley
2011-01-20 20:11 ` Vasiliy G Tolstov
2011-01-20 20:19 ` Pasi Kärkkäinen
2011-01-20 20:28 ` Vasiliy G Tolstov
2011-01-20 22:42 ` Vasiliy G Tolstov
2011-01-21 15:30 ` Konrad Rzeszutek Wilk
2011-01-21 16:16 ` Vasiliy G Tolstov
2011-01-24 20:19 ` Vasiliy G Tolstov
2011-01-25 14:45 ` Konrad Rzeszutek Wilk
2011-01-25 16:33 ` Vasiliy G Tolstov
2011-01-25 18:43 ` Konrad Rzeszutek Wilk
2011-01-26 17:58 ` Konrad Rzeszutek Wilk [this message]
2011-01-25 17:35 ` Vasiliy G Tolstov
2011-01-25 21:03 ` Dan Magenheimer
2011-01-26 6:40 ` Vasiliy G Tolstov
-- strict thread matches above, loose matches on Subject: below --
2011-01-20 20:01 Vasiliy G Tolstov
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=20110126175828.GA26532@dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=donbrearley@hibbing.edu \
--cc=v.tolstov@selfip.ru \
--cc=xen-devel@lists.xensource.com \
/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.