Re: Changing KB, MB, and GB to KiB, MiB, and GiB in Configure.help.

Albert D. Cahalan (acahalan@cs.uml.edu)
Fri, 21 Dec 2001 23:51:41 -0500 (EST)


Mike Harrold writes:

>>> Yeah, no shit? The first time I buy 512MB of RAM and get 512000 KB
>>> (aka 512000000 bytes) I am gonna be *PISSED*
>>
>> Have a work with your hard disk manufacturer then
>
> That isn't quite so important. My kernel isn't likely to f*ck up when
> a 40GB HD = 40,000,000,000. I'm sure it will die quite painfully with
> RAM chips that are not powers of 2.

You'd be buying 537 MB of RAM, not 512 MB of RAM. I expect that
we will see this soon, since a binary GB has a 7% error.
(For kB the error was only 2.4%, which didn't matter so much.)

I would be selling RAM this way. It's stupid to do otherwise.
Consumers will prefer the bigger numbers.

Prefixes need to align with our number system. Unfortunately we
don't use something sane like hex. We use decimal, which is as
bad as base-9 or base-14. Oh well. Historical reasons you know,
and computers aren't bit-wise addressable either. We live with
this brokenness and can't afford to fix it all. So we might as
well use a notation, the base-10 prefixes, that is consistent
with our cummy number system.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/