Intermediate
Computer Architecture & Organization
Q59 / 100
What is "write-back" versus "write-through" cache policy?
Correct! Well done.
Incorrect.
The correct answer is A) Write-back updates only the cache on a write and defers updating main memory until the cache line is evicted; write-through updates both the cache and main memory immediately on every write
A
Correct Answer
Write-back updates only the cache on a write and defers updating main memory until the cache line is evicted; write-through updates both the cache and main memory immediately on every write
Explanation
Write-through ensures memory is always up to date but can be slower due to frequent memory writes; write-back is faster for repeated writes to the same line but requires tracking "dirty" cache lines to write back later.
Progress
59/100