1 |
Dnia 2014-03-31, o godz. 06:56:19 |
2 |
Joshua Kinard <kumba@g.o> napisał(a): |
3 |
|
4 |
> On 03/31/2014 02:07, Michał Górny wrote: |
5 |
> > Dnia 2014-03-30, o godz. 23:13:50 |
6 |
> > Richard Yao <ryao@g.o> napisał(a): |
7 |
> > |
8 |
> >> Lets just stick with the JEDEC standard's way of doing things that came from IBM. |
9 |
> > |
10 |
> > JEDEC itself admits it have failed with the 'standard way': |
11 |
> > |
12 |
> > | NOTE 2 The definitions of kilo, giga, and mega based on powers of two |
13 |
> > | are included only to reflect common usage. IEEE/ASTM SI 10‑1997 states |
14 |
> > | "This practice frequently leads to confusion and is deprecated." Further |
15 |
> > | confusion results from the popular use of a "megabyte" consisting |
16 |
> > | of 1 024 000 bytes to define the capacity of the familiar "1.44‑MB" |
17 |
> > | diskette. |
18 |
> > |
19 |
> > http://www.jedec.org/standards-documents/dictionary/terms/mega-m-prefix-units-semiconductor-storage-capacity |
20 |
> |
21 |
> The problem is, those of us who grew up in those dark ages, who played with |
22 |
> 5.25" and 3.5" disks....we're a lost cause. No hope to save us. It'll |
23 |
> always be 1,024 bytes to a kilobyte. Anything else is blasphemy. Save |
24 |
> yourselves! |
25 |
> |
26 |
> Besides, for an outdated standard, it still gets used a lot. Last I |
27 |
> checked, one can really only buy RAM in sizes of powers of two. And the |
28 |
> computer will report that size, in powers of two. Ditto for L1/L2/L3 caches |
29 |
> (look at the top of any kernel dmesg), etc. |
30 |
> |
31 |
> In some respect, if all one cares about is free space on a disk drive or how |
32 |
> fast they can stream a movie, then the KiB/MiB thing works. But if you play |
33 |
> with bits and bytes from time-to-time (and worry about byte alignment) or |
34 |
> sometimes fiddle w/ partition tables in a hex editor...you're going to think |
35 |
> in terms of powers of two. |
36 |
|
37 |
I feel like there's some misunderstanding here. I didn't really intend |
38 |
to make everything power-of-10. It's just about the extra 'i' in 'KiB' |
39 |
for unambiguity with 1000 of 'kilo'. |
40 |
|
41 |
-- |
42 |
Best regards, |
43 |
Michał Górny |