3 ms·
Computers access things in powers of 2 because we settled on a byte being 8 bits. We then proceeded to doing things in even multiple of bytes. A cache line, row
by wang_li 4y ago
Computers access things in powers of 2 because we settled on a byte being 8 bits. We then proceeded to doing things in even multiple of bytes. A cache line, row in DRAM, registers, and a page of memory in your MMU are all some even multiple of bytes. And back in the day when we couldn't put 300 million transistors on a chip, because the systems work in binary, it was also quite useful to be able to do things like calculate the address of a pixel in the frame buffer by simply shifting the row index and adding the column index, meaning that something like 1024 pixels wide was much simpler to implement than 999 pixels wide.
There's lots of reasons why computers so often use powers of two and thus K being 2^10 instead of 10^3. But the word measure is probably not the best.