From: Ingo Molnar <mingo@elte.hu>
To: linux-kernel@vger.kernel.org, jk@novozymes.com
Cc: Andrew Morton <akpm@linux-foundation.org>,
Yinghai Lu <yinghai@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>, Tejun Heo <tj@kernel.org>
Subject: Re: Memory issues with Opteron 6220
Date: Thu, 9 Feb 2012 09:33:15 +0100 [thread overview]
Message-ID: <20120209083315.GA19380@elte.hu> (raw)
In-Reply-To: <20120208143741.GB28486@otto.nzcorp.net>
* Anders Ossowicki <aowi@novozymes.com> wrote:
> Hey,
>
> We're seeing unexpected slowdowns and other memory issues with a new system.
> Enough to render it unusable. For example:
>
> Error: open3: fork failed: Cannot allocate memory
>
> at times where there's no real memory pressure:
> total used free shared buffers cached
> Mem: 132270720 131942388 328332 0 299768 103334420
> -/+ buffers/cache: 28308200 103962520
> Swap: 7811068 13760 7797308
>
> [...]
> The system is a Dell Poweredge R715, with two eight-core
> Opteron 6220 processors and 128G of memory. We have several
> similar systems, such as the one this should replace: R715,
> 2x8 core Opteron 6140, 128G memory, and they do not exhibit
> any similar symptoms.
130 MB of RAM visible to Linux isn't the expected bootup default
indeed. Around 130 *GB* would be expected ...
> We have tried with 2.6.37, 2.6.38, 3.2.5 and 3.3-rc1 with no luck. The
> microcode updates from AMD have not helped either.
Nasty.
No smoking gun in the dmesg:
> dmesg is available at http://dev.exherbo.org/~arkanoid/atlas-dmesg-3.2.5.txt
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
[ 0.000000] BIOS-e820: 0000000000100000 - 00000000df679000 (usable)
[ 0.000000] BIOS-e820: 00000000df679000 - 00000000df68f000 (reserved)
[ 0.000000] BIOS-e820: 00000000df68f000 - 00000000df6ce000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000df6ce000 - 00000000e0000000 (reserved)
[ 0.000000] BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fe000000 - 00000000fec90000 (reserved)
[ 0.000000] BIOS-e820: 00000000fec94000 - 00000000fecd0000 (reserved)
[ 0.000000] BIOS-e820: 00000000fecd4000 - 0000000100000000 (reserved)
[ 0.000000] BIOS-e820: 0000000100000000 - 000000201f000000 (usable)
that 0x201f000000 is slightly above 128 GB.
The lowlevel x86 RAM init code seems to be fine:
[ 0.000000] last_pfn = 0x201f000 max_arch_pfn = 0x400000000
that 0x201f000 correctly points to slighly above 128 GB
physical.
[ 0.000000] init_memory_mapping: 0000000100000000-000000201f000000
that too shows that the lowlevel x86 platform memory init code
still sees 128 GB.
it's spread out amongst 4 nodes, 32 GB each:
[ 0.000000] Initmem setup node 0 0000000000000000-0000000820000000
[ 0.000000] NODE_DATA [000000081fffb000 - 000000081fffffff]
[ 0.000000] Initmem setup node 1 0000000820000000-0000001020000000
[ 0.000000] NODE_DATA [000000101fffb000 - 000000101fffffff]
[ 0.000000] Initmem setup node 2 0000001020000000-0000001820000000
[ 0.000000] NODE_DATA [000000181fffb000 - 000000181fffffff]
[ 0.000000] Initmem setup node 3 0000001820000000-000000201f000000
[ 0.000000] NODE_DATA [000000201effa000 - 000000201effefff]
the NORMAL zone gets set up properly:
[ 0.000000] Normal 0x00100000 -> 0x0201f000
and each node zone got 32 GB of RAM:
[ 0.000000] Normal zone: 7354368 pages, LIFO batch:31
[ 0.000000] Normal zone: 8257536 pages, LIFO batch:31
[ 0.000000] Normal zone: 8257536 pages, LIFO batch:31
[ 0.000000] Normal zone: 8253504 pages, LIFO batch:31
and it's all visible in the end to the MM:
[ 0.000000] Built 4 zonelists in Zone order, mobility grouping on. Total pages: 33021506
that's still 125 GB. (cgroup_page appears to pick up 1GB of RAM
btw.)
So where is the rest of RAM gone? How does /proc/meminfo look
like?
Thanks,
Ingo
next prev parent reply other threads:[~2012-02-09 8:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-08 14:37 Anders Ossowicki
2012-02-09 8:33 ` Ingo Molnar [this message]
2012-02-09 9:08 ` Eric Dumazet
2012-02-09 13:23 ` Ingo Molnar
2012-02-09 21:07 ` Jesper Krogh
2012-02-10 15:21 ` Jesper Krogh
2012-02-11 13:48 ` Ingo Molnar
2012-02-14 9:32 ` Anders Ossowicki
[not found] ` <20120208205628.GA18909@alberich.amd.com>
2012-02-09 12:43 ` Anders Ossowicki
2012-02-09 13:28 ` Ingo Molnar
2012-02-09 13:49 ` Anders Ossowicki
2012-02-09 16:11 ` Yinghai Lu
2012-02-09 17:51 ` Anders Ossowicki
2012-02-09 18:56 ` Yinghai Lu
2012-02-11 13:50 ` Ingo Molnar
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=20120209083315.GA19380@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=hpa@zytor.com \
--cc=jk@novozymes.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=tj@kernel.org \
--cc=yinghai@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome