6 ms·
Tarsnap - Why is 1 GB 10^9 bytes instead of 2^30?
- ErrantX 17y agoHas this not been hashed over a billion (or, ugh, 10^9) times :)
- cperciva 17y agoYes, and some people still get it wrong!
- ZeroGravitas 17y agoNo, 10^9 is a Milliard: http://en.wikipedia.org/wiki/Milliard http://en.wikipedia.org/wiki/Milliard
- ErrantX 17y agosorry, it was a joke, I never meant 10^9 == 1 Billion. I edited the brackets in afterwards ;)
- ZeroGravitas 17y agoI was also joking. "Billion" suffers from the same problem as "Gigabyte". It has two mutually exclusive definitions (10^9 and 10^12) so you can't use it without the possibility of some confusion resulting.
- ErrantX 17y agoDoh. Double gotcha'd :)
- monos 17y ago10^9 = german billion. no problem here with the short ladder.
- paulbaumgart 17y agoMaybe I misunderstand your comment, but Germany uses the long scale, last time I checked.
- monos 17y agoops, yes of course
- zck 17y agoAt least one gigatime.
- tjarratt 17y agoThat's GiTime, not GITime for those playing the at-home game.
- ntoshev 17y agoThen, OSes get this wrong and calculate storage in GiB. Also when I see a 128 GB SSD I somehow expect this to mean a proper power of 2, not to mention it should be addressed similarly to RAM.
- pieter 17y agoSnow Leopard shows values in the correct GB's. Stuff like df uses Gi and similar prefixes.
- alexk7 17y agoMac OS X 10.6 get this right and calculate in true KB, MB and GB that is 10^3, 10^6, and 10^9 bytes. I heard that Linux also get this right and now use the KiB, MiB and GiB prefixes for 2^10, 2^20, 2^30. Both options are good.
- ntoshev 17y agoThe latest Linux I use (Ubuntu 9.04) uses M and G prefixes. My point is it's a mess and it's unreasonable to claim proper rules are followed. E.g. how do you measure hosting bandwidth? A random calculator (http://www.ibdhost.com/help/bandwidth/ http://www.ibdhost.com/help/bandwidth/) says: 1KB = 1024B; therefore, 500MB = 512000KB = 524288000B .. and .. 1GB = 1048576000B
- tesseract 17y agoThe usual 'binary' scale goes like this: 1 kB = 1024 B, 1 MB = 1024 * 1024 B, 1 GB = 1024 * 1024 * 1024 B, etc. which may be at odds with SI but at least it's self-consistent. The page you've quoted seems to be suggesting that 1 KB = 1024 B, 1 MB = 1024 * 1024 B, and 1 GB = 1000 * 1024 * 1024 B. That seems pretty absurd to me, but maybe they're just taking a page from the book of the "1.44 MB" floppy disks which actually hold 1000 * 1024 B.
- jrockway 17y agoWhere in "Linux" do you mean? In "du" and "df", there is "-h" for powers of 2 and "--si" for powers of 10.