beamjockey: Drawing of Bill of the Heterodyne Boys by Phil Foglio. (Default)
[personal profile] beamjockey
As someone whose workplace is concerned with inverse femtobarns, I am somewhat aware of the importance of standard prefixes for very small or very large numbers.

In the article about puppies killing the Internet, the reference to a "zettabyte" got me thinking about prefixes we use for big binary numbers like kilobytes and megabytes. Turns out the International Electrotechnical Commission has tried to set some standards for this sort of thing.

The IEC explains the problem:
As time has passed, kilobytes have grown into megabytes and megabytes into gigabytes. Within a few years, ordinary PC or laptop data storage could well be measured in terabytes and very large industrial or scientific systems in peta- or even exabytes. The problem is that, even at the SI tera-scale (1012), the discrepancy with the binary equivalent (240) is not the 2,4 % at kilo-scale but rather approaching 10 %. At exa-scale (1018 and 260), it is nearer 20 %. The niceties of mathematics dictate that the bigger the number of bytes, the bigger the differential, so the inaccuracies – for engineers, marketing staff and public alike – are set to grow more and more significant. This is one good reason for the IEC to have standardized prefixes for binary multiples.

The other primary reason is that different parts of the IT industry had started to confuse themselves. In the computing world, for example, the major disk-drive manufacturers tend to mean what they say in kilobytes, megabytes, gigabytes and so on of storage, i.e. precisely 1 000 B, 1 000 000 B and 1 000 000 000 B respectively, according to the decimal prefix. Memory, on the other hand, is described using the decimal prefix but actually supplied in binary quantities, so 512 MB of RAM bought on the high street generally means 536 870 912 B and, as shown in the table, should more properly be described as 512 MiB (mebibytes) or 537 MB.

I made a chart to illustrate the difference between 210N and 103N running up to a decigoogol (1099). I normalized the difference two different ways:
Binary: (210N - 103N)/(210N)
Decimal: (210N - 103N)/(103N)


The difference is a few percent in the kiloscale to gigascale range, but it hits 20% around 2100 and becomes a positively embarrassing 50% around 2300--a number which is more than twice the size of 1090.

The IEC's solution is to offer a family of alternative prefixes which express powers of 2 precisely.

I don't think I am likely to stop saying "terabyte" and start saying "tebibyte" anytime soon, but it's nice to know that the distinction exists, and that I can adopt it if I have a need to express these numbers more precisely.

Moore's Law does suggest that we are headed for an era when the distinction will really matter in specifications and advertising of computer hardware. Mark my words, we will live to see the Exbibyte Wars.



Prefixes
for binary multiples





 Factor  Name  Symbol  Origin Derivation 
 210 kibi Ki kilobinary: (210)1 kilo: (103)1
 220 mebi Mi megabinary: (210) mega: (103)2
 230 gibi Gi gigabinary: (210)3 giga: (103)3
 240 tebi Ti terabinary: (210)4 tera: (103)4
 250 pebi Pi petabinary: (210)5 peta: (103)5
 260 exbi Ei exabinary: (210)6 exa: (103)6

Date: 2011-01-25 07:47 pm (UTC)
From: [identity profile] wcg.livejournal.com
Now I want to write a story about a Heinleinian family with children named Kibi, Mebi, Gibi, Tebi, Pebi, and Exbi. No doubt they're all red-heads.

Date: 2011-01-25 08:06 pm (UTC)
From: [identity profile] sethb.livejournal.com
Don't you mean 2^10N vs. 10^3N?

Also, your link to the "puppies" article is broken.

Date: 2011-01-25 08:51 pm (UTC)
ext_63737: Posing at Zeusaphone concert, 2008 (Default)
From: [identity profile] beamjockey.livejournal.com
Fixed. Thank you for your polite corrections.

Date: 2011-01-25 08:10 pm (UTC)
From: [identity profile] whl.livejournal.com
I have occasionally used the binary prefixes; everyone that hears me either giggles or rolls their eyes...

And the root of the problem was advertising and the hard drive industry, who wanted to make their drives sound bigger.

Date: 2011-01-26 06:47 am (UTC)
From: [identity profile] mmcirvin.livejournal.com
Yeah, while the strictly decimal prefixes are SI-consistent, I never heard anyone use the terms that way until disk manufacturers started doing it, which makes it grating that that mildly fraudulent use is now being enshrined as the correct one.

Date: 2011-01-25 09:09 pm (UTC)
From: [identity profile] von-krag.livejournal.com
Fun, I've sent this to the math geek grandchild & she rolls her eys and said "But EVERYONE knows this!".

Date: 2011-01-25 09:29 pm (UTC)
From: [identity profile] stickmaker.livejournal.com


You should'a run this all the way out to a googleplex, just to be thorough. :-)

Date: 2011-01-25 11:16 pm (UTC)
ext_28681: (Default)
From: [identity profile] akirlu.livejournal.com
Any chance of your putting the graphic behind a cut?

Date: 2011-01-25 11:36 pm (UTC)
ext_63737: Posing at Zeusaphone concert, 2008 (Erichsen WSH portrait)
From: [identity profile] beamjockey.livejournal.com
I have done so, as a favor to you. But I was careful to make the picture small. It is a GIF of only 12 kilobytes-- I mean, 12 kibibytes-- so I would not ordinarily expect it to be a burden on your system.

Date: 2011-01-25 11:59 pm (UTC)
ext_28681: (Default)
From: [identity profile] akirlu.livejournal.com
It's not a burden to my system per se, but the graphic is buggering the heck out of my friends page. Larger format images (irrespective of file size) tend to do that.

Date: 2011-01-26 03:16 pm (UTC)
From: [identity profile] johnridley.livejournal.com
What's the date on that article? Because PC file sizes are already measured in terabytes. Or tebibytes, makes no matter. A cheap laptop drive these days is have a T. I don't bother setting up a machine with less than a TB drive, there's just no point, since a TB drive is about $75, and half that is $65. 2T drives are about $100.

I know I'm an outlier on the bell curve, but I have a data tank in the living room with a 6TB RAID array. But 1TB in a new machine is common.

Profile

beamjockey: Drawing of Bill of the Heterodyne Boys by Phil Foglio. (Default)
beamjockey

May 2024

S M T W T F S
   1234
56789 1011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 23rd, 2025 08:00 am
Powered by Dreamwidth Studios