Chapter 7 Revision: Memory Hierarchy
The memory hierarchy bridges the widening performance gap between blazing-fast CPU cores and dense, cost-effective storage technologies.
Use these flashcards for active recall. Try to answer the question out loud before clicking the card to flip it.
Flashcards 🎴
What are the '3 Cs' of Cache Misses?
2. Capacity Misses: The cache cannot contain all working set blocks.
3. Conflict (Collision) Misses: Multiple blocks map to the same set in a direct-mapped or set-associative cache.
What is the difference between Write-Through and Write-Back caches?
• Write-Back: Updates only the cache block and marks it 'dirty'; writes to lower-level memory only when evicted (lower bus traffic).
What is the formula for Average Memory Access Time (AMAT)?
Final Chapter Quiz 🧠
A 4-way set-associative cache has 64-byte blocks, 1024 sets, and a 32-bit physical address space. How many bits are allocated to the Block Offset and Set Index?
Ready to move on? You are now ready to tackle Memory Abstraction in Chapter 8!