Re: HIGHMEM64G Kernel (2.6.23.1) makes system crawl

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Boaz Harrosh <bharrosh@...>
Cc: Rajkumar S <rajkumars@...>, linux-kernel <linux-kernel@...>
Date: Wednesday, October 24, 2007 - 4:37 pm

On Wed, Oct 24, 2007 at 07:56:12PM +0200, Boaz Harrosh wrote:

For efficiency reasons the kernel only supports about 900MB of ram on
i386, unless you enable the support for a full 4GB address space which
is what CONFIG_HIGHMEM4G does.  What exactly changes in the memory
management and mapping I am not sure of, but it made some difference.
It only gives 4GB of address space and does not enable PAE, which means
if the system has more ram than it can map in the first 4GB of address
space, then the remaining ram is simply invisible to the system.  So you
might have 4GB ram, and only see 3GB or 2.5GB of it with a 4GB kernel.
If you want the kernel to have access to the rest of the ram then you
need a kernel capable of addressing physical ram at addresses higher
than 4GB, which means either PAE (CONFIG_HIGHMEM64G) or a 64bit kernel.
I believe the comments for the CONFIG_HIGHMEM* options was recently
updated to me correct rather than the rather misleading messages they
have had for years.  Unfortunately it would appear those nice updates
have not gone tp Linus' tree so we are still stuck with the old awful
descriptions.  I wonder what happened to them.


Because the 36bit trickery works with an i386 system and kernel.  Not
everyone wants to run 64bit and deal with the (few) programs that don't
yet work on 64bit systems.

Personally I run a 64bit kernel with a 32bit user space on any 64bit
capable machines I deal with.  That seems to work fine, and it lets me
play with 64bit programs in a 64bit chroot when I want to.

--
Len Sorensen
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
HIGHMEM64G Kernel (2.6.23.1) makes system crawl, Rajkumar S, (Wed Oct 24, 6:26 am)
Re: HIGHMEM64G Kernel (2.6.23.1) makes system crawl, Boaz Harrosh, (Wed Oct 24, 10:41 am)
Re: HIGHMEM64G Kernel (2.6.23.1) makes system crawl, H. Peter Anvin, (Wed Oct 24, 1:21 pm)
Re: HIGHMEM64G Kernel (2.6.23.1) makes system crawl, Lennart Sorensen, (Wed Oct 24, 12:35 pm)
Re: HIGHMEM64G Kernel (2.6.23.1) makes system crawl, Boaz Harrosh, (Wed Oct 24, 1:56 pm)
Re: HIGHMEM64G Kernel (2.6.23.1) makes system crawl, Lennart Sorensen, (Wed Oct 24, 4:37 pm)