[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Memory by free -b(263307264 about 251MB != 256MB)



Osamu Aoki wrote:
> 
> I never bothered memory size until now (<64MB).
> 
> How come memory is less than actual size (256MB)???
> It looks like 251MB but it is exactly 256*1024*1024-5008*1024

You might want to check the output of `dmesg` and, more specifically,
look for a line starting with "Memory: ".  There you'll find how much
memory is "reserved".  Add this to the total amount reported by free,
and you should have 256M exactly.  On my system there's 5920K reserved,
so my total memory is a little more than 250M.

Before you ask, how to get rid of that reserved memory: I'm afraid, you
can't.  IIRC, it's not really reserved by the kernel itself, but by the
BIOS/motherboard circuitry, but I've forgotten, what it's used for.

Ciao,
Viktor
-- 
Viktor Rosenfeld
WWW: http://www.informatik.hu-berlin.de/~rosenfel/
Geek Code (3.1):
  GCS/SS d-@ s+: a20 C++@ UL++$ P+ L+++ E--- W++ N++ o? K? !W O? M? V?
  PS++@ PE+(-) Y+ P?(+++) t+ 5+ X- R? !tv b+ DI+ D- G e>+++ h-- r- !y+



Reply to: