From owner-freebsd-questions Thu Jan 31 3:59:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from nelly.internal.irrelevant.org (irrelevant.demon.co.uk [158.152.220.121]) by hub.freebsd.org (Postfix) with ESMTP id B775D37B41B for ; Thu, 31 Jan 2002 03:59:34 -0800 (PST) Received: from simond by nelly.internal.irrelevant.org with local (Exim 3.34 #1) id 16WFrb-0001Bl-00; Thu, 31 Jan 2002 11:58:47 +0000 Date: Thu, 31 Jan 2002 11:58:47 +0000 From: Simon Dick To: Jacques Beigbeder Cc: freebsd-questions@freebsd.org, Dohy Hong Subject: Re: how to size memory? Message-ID: <20020131115847.GE461@irrelevant.org> References: <20020131123155.A10595@trefle.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020131123155.A10595@trefle.ens.fr> User-Agent: Mutt/1.3.26i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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