Date: Wed, 30 Oct 2002 12:43:31 -0500 From: Garance A Drosihn <drosih@rpi.edu> To: Matthew Dillon <dillon@apollo.backplane.com>, "M. Warner Losh" <imp@bsdimp.com> Cc: nate@root.org, des@ofug.org, arch@FreeBSD.ORG Subject: Re: "MB" instead of "K bytes" in memory probe? Message-ID: <p05111708b9e5c75825c8@[128.113.24.47]> In-Reply-To: <200210300820.g9U8K3wB014618@apollo.backplane.com> References: <xzpiszk4k1e.fsf@flood.ping.uio.no> <Pine.BSF.4.21.0210292331030.89254-100000@root.org> <20021030.010347.76766507.imp@bsdimp.com> <200210300820.g9U8K3wB014618@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05111708b9e5c75825c8>