From: Jeff Chua <jeff.chua.linux@gmail.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
Hugh Dickins <hugh@veritas.com>
Subject: 2.6.32-rc3: low mem - only 378MB on x86_32 with 64GB. Why?
Date: Mon, 5 Oct 2009 23:57:24 +0800 (SGT) [thread overview]
Message-ID: <Pine.LNX.4.64.0910052334480.17655@boston.corp.fedex.com> (raw)
I've 3 systems with 4GB, 16GB and 64GB all running 32bit with these set:
CONFIG_X86_32=y
CONFIG_X86=y
CONFIG_ZONE_DMA=y
# CONFIG_ZONE_DMA32 is not set
CONFIG_SPARSEMEM_MANUAL=y
CONFIG_SPARSEMEM=y
CONFIG_HIGHMEM64G=y
CONFIG_HIGHMEM=y
CONFIG_X86_PAE=y
CONFIG_KSM=y
CONFIG_HIGHPTE=y
# using "free -lm" ...
# with 4GB
total used free shared buffers cached
Mem: 3983 3862 120 0 112 3542
Low: 850 738 112
High: 3132 3123 8
-/+ buffers/cache: 207 3775
Swap: 8008 0 8008
# with 16GB
total used free shared buffers cached
Mem: 16244 6570 9673 0 320 5559
Low: 750 717 33
High: 15493 5853 9640
-/+ buffers/cache: 690 15554
Swap: 26709 0 26709
# with 64GB
total used free shared buffers cached
Mem: 63995 524 63470 0 4 365
Low: 378 32 345
High: 63616 492 63124
-/+ buffers/cache: 154 63840
Swap: 28003 0 28003
Question is ... is there anyway to increase "low mem" without resorting to
migrating to 64bit? (Look... it only has 378MB total low mem vs 850MB on
the 4GB system). I've oracle installed on the 64GB system and it keeps
getting OOMs!
I thought CONFIG_HIGHPTE (Allocate 3rd-level pagetables from highmem) is
supposed to help with low mem as stated here ...
CONFIG_HIGHPTE:
The VM uses one page table entry for each page of physical memory.
For systems with a lot of RAM, this can be wasteful of precious
low memory. Setting this option will put user-space page table
entries in high memory.
Anything I should do? Slow death using sysctl like this ...
vm.min_free_kbytes = 16384
vm.overcommit_memory = 2
vm.overcommit_ratio = 75
vm.vfs_cache_pressure = 10000
Thanks,
Jeff.
P.S. I was trying to "cross-compile" a gcc compiler, but didn't get far.
That's a different topic ... offline, please write to me directly if
you've done this ... would need binutil 64 (compile ok), gcc 64 (stucked
... seems to be looking for libc 64bit) ...
next reply other threads:[~2009-10-05 15:58 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-05 15:57 Jeff Chua [this message]
2009-10-05 18:12 ` Linus Torvalds
[not found] ` <b6a2187b0910051715y4ee63503y148ba2d7e24cad8e@mail.gmail.com>
2009-10-06 0:30 ` Linus Torvalds
2009-10-06 10:06 ` Tvrtko Ursulin
2009-10-06 11:01 ` Frans Pop
2009-10-14 21:32 ` Lennart Sorensen
2009-10-06 12:59 ` David Woodhouse
2009-10-06 14:26 ` Linus Torvalds
2009-10-11 9:08 ` Benjamin Herrenschmidt
[not found] ` <b6a2187b0910052312o662642b2teded3d19548b9151@mail.gmail.com>
2009-10-06 14:35 ` Linus Torvalds
[not found] ` <b6a2187b0910080926x303d3c9em8f70632fb19b6509@mail.gmail.com>
2009-10-08 16:35 ` Dave Hansen
[not found] ` <b6a2187b0910090928r648169dax86178a3e8b8c2f21@mail.gmail.com>
2009-10-10 18:10 ` Valdis.Kletnieks
2009-10-10 18:37 ` Linus Torvalds
2009-10-11 9:06 ` Benjamin Herrenschmidt
2009-10-11 17:34 ` Linus Torvalds
2009-10-06 16:50 ` Yuhong Bao
2009-10-05 18:42 ` Byron Stanoszek
2009-10-05 19:15 ` Dave Hansen
2009-10-05 19:42 Tomasz Chmielewski
2009-10-05 20:31 ` Valdis.Kletnieks
[not found] <drYiu-Pj-15@gated-at.bofh.it>
2009-10-05 20:05 ` Daniel J Blueman
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=Pine.LNX.4.64.0910052334480.17655@boston.corp.fedex.com \
--to=jeff.chua.linux@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=hugh@veritas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.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
all inboxes | Powered by JetHome®