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

Albert D. Cahalan
2001-12-22T04:52:08Z

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.