public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: "Bradley Chapman" <kakadu@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: CONFIG_HIGHMEM4G and 1GB RAM
Date: Mon, 30 Apr 2007 00:17:55 -0700	[thread overview]
Message-ID: <20070430001755.e9f203c9.akpm@linux-foundation.org> (raw)
In-Reply-To: <e294b46e0704281326w60f9cecfuace3442791f147b3@mail.gmail.com>

On Sat, 28 Apr 2007 21:26:42 +0100 "Bradley Chapman" <kakadu@gmail.com> wrote:

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

I would expect the advantages of the additional 128MB to considerably
outweigh the cost of turning on CONFIG_HIGHMEM4G.

That cost will be a little extra CPU consumption inside the kernel, but the
great majority of CPU consumption usually happens in userspace anyway.


  reply	other threads:[~2007-04-30  7:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-28 20:26 CONFIG_HIGHMEM4G and 1GB RAM Bradley Chapman
2007-04-30  7:17 ` Andrew Morton [this message]
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

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=20070430001755.e9f203c9.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=kakadu@gmail.com \
    --cc=linux-kernel@vger.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