The 64-Byte Cache Line's Historical Roots

The prevalence of 64-byte cache lines stems from a historical balance between memory bus width, access latency, and data transfer efficiency, effectively leveraging spatial locality to reduce main memory accesses. This size became a self-reinforcing standard as both hardware and software optimized around it.

The top 3

  1. Early Cache Line Sizes: Before 64 Bytes Dominated: While 64 bytes is now standard, early CPUs like the Intel 486 used smaller cache line sizes, often 16 or 32 bytes, reflecting the memory bus widths and design constraints of their era before larger, more efficient blocks became feasible.
  2. Bus Width's Influence: Why 64 Bytes Made Sense: The transition to 64-byte cache lines was heavily influenced by increasing memory bus widths (e.g., 64-bit buses), allowing for efficient transfer of 8 bytes per clock cycle, making 64 bytes (8 cycles) a natural and performant block size for data fetching.
  3. The Sweet Spot: Balancing Locality and Overhead: The 64-byte cache line size emerged as a sweet spot, balancing the benefits of spatial locality (fetching nearby data proactively) with the overhead of transferring too much unused data, a trade-off solidified by the mid-1990s in dominant CPU architectures.

Sources

Open the full topic