Memory Hierarchy
Which technique, when fetching a missed line from memory, sends the word the CPU needs first and the rest afterward?
- ACritical word first
- BWrite-allocate
- CVictim cache
Show answer and explanation
Answer: A. Critical word first
Waiting for the whole 64-byte line before handing over data lengthens the CPU's stall. Critical word first transfers the requested word first and passes it to the CPU immediately, filling in the rest of the line afterward, which shortens the effective miss penalty. Write-allocate concerns whether a write miss loads the line, and a victim cache is a small buffer for evicted lines; neither relates to transfer order.
- A. Correct. Sending the needed word first shortens the wait.
- B. Write-allocate concerns how write misses are handled.
- C. A victim cache is a buffer for evicted lines.