From owner-freebsd-arch Wed Oct 30 0:20:11 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5DDD37B401 for ; Wed, 30 Oct 2002 00:20:10 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74A1F43E77 for ; Wed, 30 Oct 2002 00:20:10 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.5/8.12.5) with ESMTP id g9U8K3FC014619; Wed, 30 Oct 2002 00:20:03 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.5/8.12.5/Submit) id g9U8K3wB014618; Wed, 30 Oct 2002 00:20:03 -0800 (PST) (envelope-from dillon) Date: Wed, 30 Oct 2002 00:20:03 -0800 (PST) From: Matthew Dillon Message-Id: <200210300820.g9U8K3wB014618@apollo.backplane.com> To: "M. Warner Losh" Cc: nate@root.org, des@ofug.org, arch@FreeBSD.ORG Subject: Re: "MB" instead of "K bytes" in memory probe? References: <20021030.010347.76766507.imp@bsdimp.com> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Keep in mind that Des's change is still printing the total number of bytes, in bytes. The MB is in parenthesis. Oct 29 15:55:18 dsa kernel: real memory = 266493952 (254 MB) There is no need to do anything fancy inside the parenthesis. It should just be in megabytes (as DES presented). If the machine has so little memory that '1 MB' or '2 MB' meaningless, then the user can still read the actual number of bytes. I would certainly find the MB number useful no matter how little memory the computer has. -Matt :: think 4 MB was the lowest) and that the values are only for the benefit of :: the user, sounds great. : :Actually, ultra-stripped 1.0 kernels were being booted on 2MB and 3MB :386SX systems. It was possible to build 1.0 kernels that were 500k or :so if you restricted devices and features severely. : :But you are right. We should use MB for anything under about 2G or so :(but even 4G vs 4096M isn't that bad). : :Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message