Overview
Write-back (also called write-behind) is the most common strategy in high-performance CPUs. Updates are made only to the cache, and the cache line is marked as 'dirty.' The data is written to main memory only when that line needs to be replaced by new data.
Advantages
- High Performance: Write operations happen at cache speed.
- Reduced Bus Traffic: Multiple writes to the same location only result in one write to main memory.
Disadvantages
- Complexity: Requires tracking 'dirty' bits and ensuring cache coherency in multi-core systems.