Ubuntu implements units policy, will switch to base-10 units in future release

Ubuntu’s future 10.10 operating system is going to make a small, but contentious change to how file sizes are represented. Like most other operating systems using binary prefixes, Ubuntu currently represents 1 kB (kilobyte) as 1024 bytes (base-2). But starting with 10.10, a switch to SI prefixes (base-10) will denote 1 kB as 1000 bytes, 1 MB as 1000 kB, 1 GB as 1000 MB, and so on.

It was first reported that 10.04 Lucid Lynx would make the switch to base-10, but it was eventually delayed to lucid+1 (10.10) as all applications didn’t comply with the new units policy and were still using base-2.

The new units policy establishes two basic guidelines: applications should use the IEC/binary prefix for base-2 units and the SI prefix for base-10 units. The SI prefix should not be mixed with base-2 units. The exact policy from the wiki is outlined below:

Applications must use IEC standard for base-2 units:

* 1 KiB (kibibyte) = 1,024 bytes (Note: big k)
* 1 MiB (mebibyte) = 1,024 KiB = 1,048,576 bytes
* 1 GiB (gibibyte) = 1,024 MiB = 1,048,576 KiB = 1,073,741,824 bytes
* 1 TiB (tebibyte) = 1,024 GiB = 1,048,576 MiB = 1,073,741,824 KiB = 1,099,511,627,776 bytes

Applications must use SI standard for base-10 units:

* 1 kB (kilobyte) = 1,000 bytes (Note: small k)
* 1 MB (megabyte) = 1,000 kB = 1,000,000 bytes
* 1 GB (gigabyte) = 1,000 MB = 1,000,000 kB = 1,000,000,000 bytes
* 1 TB (terabyte) = 1,000 GB = 1,000,000 MB = 1,000,000,000 kB = 1,000,000,000,000 bytes

It is not allowed to use the SI standard for base-2 units:

* 1 kB ≠ 1,024 bytes
* KB (with a big k) does not exist

Additional implementation guidelines are also outlined: base-10 should be used to represent network bandwidth and disk sizes while RAM sizes should use base-2. File sizes can either be shown in both base-10 and base-2, only base-10, or a user option to choose between the two (but with base-10 set as the default).

This new counting will finally put them in line with the standard Greek meaning of “kilo” as 1000 and will seek to alleviate the confusion that regular consumers often have when buying a new hard drive. The pros are not exclusive of the cons though, as inconsistencies between different operating systems presents a troubling user experience dilemma. Other new confusions that this would bring are also outlined in the wiki:

* CD-ROM sizes are specified in MiB, but the manufacturers label this "MB" (a "700 MB" CD-ROM contains approximately 700 MiB = 737 MB).
* Memory (RAM, ROM) is specified in base 2, but labeled with SI prefixes. For example, a "512 MB" RAM contains 512 MiB = 536.9 MB.

Apple themselves moved over to base-10 counting with the release of 10.6 Snow Leopard. Previous Mac OS X operating systems from 10.0 to 10.5 measured file and drive sizes in base-2.


Yeah … good luck with that!

<Ok, second mini-rant also removed>


All computer hardware works on powers of 2, how exactly is this going to work?

They can’t ‘actually’ be talking about forcing the system to USE base-10…without some kinda on the fly conversion (bloat), impossible… I think they must mean just how they are going to ‘describe’ things… which seems a bit pointless, and technically misleading.

And as if by magic, up pops a technology that will ‘muddy’ the waters even further… before looking bear in mind dividing 10 by 3 gives even us humans a headache :wink:

Yeah, but as with Ubuntu’s 1000 but 'k’s, if you read it all, they don’t think it’ll take off any time soon … :wink:

I realize it isn’t a technology that’'s going to appear tomorrow, or maybe ever… it was a tongue in cheek attempt at showing the futility of messing with established protocols :slight_smile:

A bit like the ‘z’ in realise, it just causes more confusion… “but not a lot!” [Paul Daniels]



BTW, check the penultimate posting on that page, where someone appears to quote “Wikipedia” as a source of reference for the English language. :slight_smile: