Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2003 23:06:32 -0700
From:      David Schultz <das@FreeBSD.ORG>
To:        "Dag-Erling =?us-ascii:iso-8859-1?Q?Sm=F8rgrav?=" <des@des.no>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: real vs. avail memory
Message-ID:  <20031016060632.GA68007@VARK.homeunix.com>
In-Reply-To: <xzpsmlybr6c.fsf@dwp.des.no>
References:  <xzpsmlybr6c.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 12, 2003, Dag-Erling Smrgrav wrote:
> I've gotten used to the fact that there is a small discrepancy between
> real and available memory, but I was surprised to see the following in
> dmesg on a new P4 system:
> 
> real memory  = 1073676288 (1023 MB)
> avail memory = 1037799424 (989 MB)
> 
> That's a full 40 MB difference...  where does that memory go?  is it
> used for page maps or something like that?

Unless this is related to Peter's recent machdep.c changes, the
difference is probably just random chunks of memory that the BIOS
decided to use.  This could include a shadow copy of the BIOS, the
BIOS data segment, maybe a frame buffer for a cheap integrated
video card, etc.  If you do a verbose boot, you'll get a list of
the chunks of memory that are taken according to the BIOS.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031016060632.GA68007>