Tugger the SLUGger!SLUG Mailing List Archives

[chat] Re: [SLUG] Calculating physical memory from /proc/meminfo


On Tue, 4 Feb 2003 09:42:27 +1100, mkraus@xxxxxxxxxxxxxxxxxxxxxx wrote:
> Which showed me the true physical memory  - 57344k which is 56Mg,
> which all makes sense. (Memory is almost always in multiples of 8Mg or
> similar depending on the motherboard and configuration.)

Drifting off-topic, but you shouldn't assume that.  Modern memory sticks
are in multiples of 8, yeah.  Crusoe processors take 12MB of RAM to
store microcode and cached instructions - the OS only sees, for example,
116MB.  Lower-end video cards share main memory, and I believe they also
just allocate themselves a chunk at boot and the OS never has a chance
at it.

-- 
Pete