From owner-freebsd-arch Wed Oct 30 9:43:42 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 032BD37B401 for ; Wed, 30 Oct 2002 09:43:41 -0800 (PST) Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A70643E88 for ; Wed, 30 Oct 2002 09:43:40 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g9UHhWMF216294; Wed, 30 Oct 2002 12:43:32 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <200210300820.g9U8K3wB014618@apollo.backplane.com> References: <20021030.010347.76766507.imp@bsdimp.com> <200210300820.g9U8K3wB014618@apollo.backplane.com> Date: Wed, 30 Oct 2002 12:43:31 -0500 To: Matthew Dillon , "M. Warner Losh" From: Garance A Drosihn Subject: Re: "MB" instead of "K bytes" in memory probe? Cc: nate@root.org, des@ofug.org, arch@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) 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 At 12:20 AM -0800 10/30/02, Matthew Dillon wrote: >Warner Losh wrote: >:But you are right. We should use MB for anything under about 2G >:or so (but even 4G vs 4096M isn't that bad). > > 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. I think you read Warner's request backwards. He was saying to use MB for anything *under* 2gig, and presumably switch to gigabytes at that point. He was talking about machines with lots and lots of memory, not "little memory". That is an idea I like too, but I'd do it somewhere closer to 8196 Meg. Actually I tend to do it at "10,000 somethings", switching to "10 (somethings*1K)". -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message