What is Write-through?
A write policy that writes to the level below (such as main memory) at the same time as the cache. The lower level stays up to date, but write traffic is heavy, so it is paired with a write buffer.
Field: Memory Hierarchy
A write policy that writes to the level below (such as main memory) at the same time as the cache. The lower level stays up to date, but write traffic is heavy, so it is paired with a write buffer.
Field: Memory Hierarchy
A write-through cache also writes to main memory on every store, so waiting for each write to finish would stall the CPU constantly.
What is the main purpose of a write buffer in a write-throu…Updating memory on every write is the write-through behavior, which generates traffic each time the line is written.
For code that writes to the same line many times, why is a …Write-through updates both every time.
Which correctly describes the write-back policy for caches?Write-allocate DMA (direct memory access) Average memory access time Cache line Capacity miss Compulsory miss Conflict miss Direct-mapped cache Fully associative cache Loop blocking