Difference between revisions of "My laptop has 16GiB"

From Simson Garfinkel
Jump to navigationJump to search
(Created page with "My MacBook has 17,179,869,184 bytes of RAM, and not 16,000,000,000. Recall that 17,179,869,184 = 16GiB = 16 x 2^30, which is the correct measurement under IEC 60027-2. 16GB...")
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
My MacBook has 17,179,869,184 bytes of RAM, and not 16,000,000,000.  Recall that 17,179,869,184  = 16GiB = 16 x 2^30, which is the correct measurement under IEC 60027-2. 16GB would be 16,000,000,000 = 16 x 10^9.
RAM is measured in GiB, which is measured as even powers of 1024. (A GiB is 1024<sup>3</sup>)
 
Disk and network bandwidth is measured in GB, which is even powers of 1000. (A GB is 1000<sup>3</sup>).  


The differences between 1 KiB and 1 KB is not significant, but when you get up to the Gibibytes, the differences are indeed significant!
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 2<sup>30</sup>, which is the correct measurement under IEC 60027-2. 16GB would be 16,000,000,000 = 16 x 10<sup>9</sup>.


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

Latest revision as of 08:28, 2 May 2018

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