Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 11:58:47 +0000
From:      Simon Dick <simond@irrelevant.org>
To:        Jacques Beigbeder <Jacques.Beigbeder@free.fr>
Cc:        freebsd-questions@freebsd.org, Dohy Hong <Dohy.Hong@ens.fr>
Subject:   Re: how to size memory?
Message-ID:  <20020131115847.GE461@irrelevant.org>
In-Reply-To: <20020131123155.A10595@trefle.ens.fr>
References:  <20020131123155.A10595@trefle.ens.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 31, 2002 at 12:31:55PM +0100, Jacques Beigbeder wrote:
> Hardware (2 years old):
> 	PC Dell Optiplex GX300
> 	2 processors 800 Mhz
> 	256 Mo ECC RDRAM (in the Setup)
> 
> Windows NT 4.0 says that the memory is 256 Mb. Perfect.
> 
> But FreeBSD within the boot says:
> 	FreeBSD 3.4-RELEASE #3: Thu Jan 31 09:47:44 CET 2002
> 	...
> 	real memory  = 66707456 (65144K bytes)
> 	avail memory = 61202432 (59768K bytes)
> 	...
> 
> How can you explain this difference (64 Mb vs 256 Mb)???

Have a read of this from LINT, it may explain it:
# MAXMEM specifies the amount of RAM on the machine; if this is not
# specified, FreeBSD will first read the amount of memory from the CMOS
# RAM, so the amount of memory will initially be limited to 64MB or 16MB
# depending on the BIOS.  If the BIOS reports 64MB, a memory probe will
# then attempt to detect the installed amount of RAM.  If this probe
# fails to detect >64MB RAM you will have to use the MAXMEM option.
# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
# be 131072 (128 * 1024).

so you'll probably see your full memory if you put this in your kernel
config file and rebuild your kernel:
options MAXMEM="(256*1024)"

-- 
Simon Dick					simond@irrelevant.org
"Why do I get this urge to go bowling everytime I see Tux?"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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