login
Header Space

 
 

Re: [x86_32] With 4GB installed, in which cases low mem total is less than 896MB?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Fabio De Francesco <fabiomdf@...>
Cc: <linux-kernel@...>
Date: Tuesday, April 29, 2008 - 1:18 pm

On Wed, 30 Apr 2008 17:02:02 +0200
Fabio De Francesco <fabiomdf@alice.it> wrote:


I'm not an expert in this, but one thing is that the more memory the system has, the more overhead there is.
(roughly 64 bytes per 4Kb of memory).


yes this is expected.
Let me explain: even though you have 4Gb of memory, it's spread out like this:

0     - 3.5Gb	Memory
3.5Gb - 4Gb  	Gap
4Gb   - 4.5Gb   Memory

This "gap" is needed for PCI. PCI devices have "memory" on them (technical term is "MMIO", memory mapped IO) and
this needs to be in the first 4Gb of memory (traditionally). So the system leaves a 0.5Gb gap on your system
for this purpose.
Some other systems have 0.25Gb or 1Gb gaps; some systems even have a BIOS option for the size of this gap.
But a gap.. all machines with >= 4Gb have that.

Just enable PAE and be done with it. (And you get the non-executable stack security feature as well then)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[x86_32] With 4GB installed, in which cases low mem total is..., Fabio De Francesco, (Wed Apr 30, 11:02 am)
Re: [x86_32] With 4GB installed, in which cases low mem tota..., Fabio De Francesco, (Thu May 8, 3:48 am)
Re: [x86_32] With 4GB installed, in which cases low mem tota..., Arjan van de Ven, (Tue Apr 29, 1:18 pm)
Re: [x86_32] With 4GB installed, in which cases low mem tota..., Fabio De Francesco, (Fri May 2, 10:38 am)
speck-geostationary