My laptop has 16GiB

From Simson Garfinkel
Revision as of 07:28, 2 May 2018 by Simson (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

RAM is measured in GiB, which is measured as even powers of 1024. (A GiB is 10243)

Disk and network bandwidth is measured in GB, which is even powers of 1000. (A GB is 10003).

The differences between 1 KiB and 1 KB is not significant, but when you get up to the Gibibytes, the differences are indeed significant!

In the 1980s the powers-of-1024 prefixes did not exist. When Bill Gates gave his famous quote "640 kilobytes ought to be enough for anybody," he didn't mean 640,000 bytes: he meant 640 * 1024 = 655,360 bytes. What is an extra 15,360 bytes between friends? But as memories went to megabytes and then gigabytes, the difference became meaningful. So in the 1990s, the IEC created the new suffixes which are based on powers of 2, rather than powers of 10. However, they are only used for systems that are organized with binary addresses, which basically means memory. Hard drives are peculiar: the sectors are even powers of two, but the number of sectors is arbitrary, so they are typically described in powers of ten.

My MacBook has 17,179,869,184 bytes of RAM, and not 16,000,000,000. Note that 17,179,869,184 = 16GiB = 16 x 230, which is the correct measurement under IEC 60027-2. 16GB would be 16,000,000,000 = 16 x 109.

For more information, see https://physics.nist.gov/cuu/Units/binary.html