This post answers shows the difference between write-through vs write-back data cache policy.
Data cache operates in two modes:
In case of write-through mode data is written in cache and in source memory when it is modified. No matter how many times data is modified in cache memory, it is the same amount of times modified in source memory as well. This mode can impact performance due to huge traffic through the bus between cache and source memory.
Write-back mode means that data is written only in cache. And when it is being replaced in cache memory it is written in back in source memory. Then source memory is always written only once.
Comparing write-through vs write-back data cache policy – write-back one is faster as memory source data is used only once.
Important note is that this dual approach is used only with data cache, but not with instruction cache.
Big variety of cache memory components can be found at Digi-Key Electronics catalogue.
You can also access our posts via Reddit r/ElectronicsEasy community.