From owner-freebsd-hardware@FreeBSD.ORG Wed Aug 9 20:32:56 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A988116A4DA for ; Wed, 9 Aug 2006 20:32:56 +0000 (UTC) (envelope-from j_guojun@lbl.gov) Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by mx1.FreeBSD.org (Postfix) with SMTP id 02FD343D78 for ; Wed, 9 Aug 2006 20:32:51 +0000 (GMT) (envelope-from j_guojun@lbl.gov) Received: (qmail 85260 invoked from network); 9 Aug 2006 20:32:51 -0000 Received: from unknown (HELO ?192.168.2.8?) (jinmtb@sbcglobal.net@68.127.183.0 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 9 Aug 2006 20:32:50 -0000 Message-ID: <44DA46D3.3040504@lbl.gov> Date: Wed, 09 Aug 2006 13:34:27 -0700 From: "Jin Guojun [VFFS]" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050108 X-Accept-Language: en, zh, zh-CN To: John Baldwin References: <200608090908.k79988pY086073@fire.jhs.private> <200608090832.30259.jhb@freebsd.org> <44D9D8D0.1020704@bulinfo.net> <200608091431.50183.jhb@freebsd.org> In-Reply-To: <200608091431.50183.jhb@freebsd.org> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Julian Stacey , freebsd-hardware@freebsd.org Subject: Re: Real and available memory? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2006 20:32:56 -0000 John Baldwin wrote: On Wednesday 09 August 2006 08:45, Krassimir Slavchev wrote: John Baldwin wrote: On Wednesday 09 August 2006 06:13, Krassimir Slavchev wrote: Julian Stacey wrote: Reference: From: Krassimir Slavchev [1] Date: Wed, 09 Aug 2006 11:46:33 +0300 Message-id: [2]<44D9A0E9.30608@bulinfo.net> Krassimir Slavchev wrote: Julian H. Stacey wrote: Krassimir Slavchev wrote: Julian H. Stacey wrote: Krassimir Slavchev wrote: Hello, I have Vortex86-6082 with 128Mb AMI bios. Why the kernel reports only 80 MB available memory? Is this related to BIOS or kernel settings? dmesg output: Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-STABLE #0: Wed Jul 26 10:09:06 EEST 2006 root@krassi:/usr/obj/usr/src/sys/TINYBSD Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium (166.61-MHz 586-class CPU) Origin = "SiS SiS SiS " Id = 0x505 real memory = 125829120 (120 MB) avail memory = 84332544 (80 MB) kbd1 at kbdmux0 ... ... Are you using an MFS root or a really large kernel? Yes, MFS root is 32 Mb and kernel is ~3.4Mb Well, that's where the missing 40 meg is. :) The kernel text (including any modules and preloaded mfsroot's) aren't include in the 'avail memory' count. This is not where the memory goes. The MFS root is probably not allocated yet at this point. -- ------------ Jin Guojun ----------- v --- [3]jin@george.lbl.gov --- Distributed Systems Department [4]http://www.dsd.lbl.gov/~jin Lawrence Berkeley National Laboratory, Berkeley, CA 94720 References 1. mailto:krassi@bulinfo.net 2. mailto:44D9A0E9.30608@bulinfo.net 3. mailto:jin@george.lbl.gov 4. http://www.dsd.lbl.gov/~jin