public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* CONFIG_HIGHMEM4G and 1GB RAM
@ 2007-04-28 20:26 Bradley Chapman
  2007-04-30  7:17 ` Andrew Morton
  0 siblings, 1 reply; 7+ messages in thread
From: Bradley Chapman @ 2007-04-28 20:26 UTC (permalink / raw)
  To: linux-kernel

After installing a second 512MB SODIMM into my laptop, I noticed that
my 2.6.18.3 kernel only detected and used 896MB of the resulting 1GB,
and informed me that I needed to enable high memory in order to access
the remaining 127MB.

While doing so, I noticed that the help text stated that enabling high
memory (in my case, CONFIG_HIGHMEM4G) should only be done if the
system the kernel is running on has more than 1GB, but less than 4GB -
it said that systems with 1GB should leave it off, which resulted in
an eighth of the installed memory going missing. A bit more research
found a three year old thread on this list where it was stated that
enabling CONFIG_HIGHMEM4G sometimes slows the system down due to
sometimes undesirable changes to the way the kernel sets up the memory
map.

Basically, all I want to know is whether or not enabling
CONFIG_HIGHMEM4G for a laptop that has exactly 1GB of RAM will result
in any performance degradation.

TIA,

Brad

P.S: Direct replies please - I'm not subscribed to the list.

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: CONFIG_HIGHMEM4G and 1GB RAM
@ 2007-05-01  5:06 Al Boldi
  0 siblings, 0 replies; 7+ messages in thread
From: Al Boldi @ 2007-05-01  5:06 UTC (permalink / raw)
  To: linux-kernel

William Lee Irwin III wrote:
>> The CONFIG_VMSPLIT config options were merged for such cases.
>> It should be able to split on any 4MB-aligned boundary in
>> CONFIG_HIGHMEM4G. CONFIG_VMSPLIT_3G_OPT appears to do something of
>> this sort to use an entire 1GB RAM with minimal user address space
>> reduction.
>> This is an ELF ABI violation but the number of major applications
>> that break is apparently low.

On Mon, Apr 30, 2007 at 11:18:28PM +0100, Matt Keenan wrote:
> wine and some java implementations being two of the big caveats.

If this is really true, then I think it critical to be mentioned in the 
Kconfig help text.


Thanks!

--
Al


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-05-12 11:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-28 20:26 CONFIG_HIGHMEM4G and 1GB RAM Bradley Chapman
2007-04-30  7:17 ` Andrew Morton
2007-04-30  7:40   ` William Lee Irwin III
2007-04-30 22:18     ` Matt Keenan
2007-04-30 22:45       ` William Lee Irwin III
2007-05-12 11:08       ` Alejandro Riveira Fernández
  -- strict thread matches above, loose matches on Subject: below --
2007-05-01  5:06 Al Boldi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox