Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

associativity

How many slots each group in a cache has, so how many lines with the same index can be kept at once: 1 for direct-mapped, 8 for an 8-way cache.

Associativity N is the number of ways per set; N = 1 is direct-mapped and N = number of lines is fully associative. Higher associativity removes conflict misses at the cost of more tag comparisons per lookup.

Read the full section →