0 votes
11 views
How to Reading/Writing to Cache?
in Technology by (187k points)

1 Answer

0 votes

In distributed caching, Cache Coherence refers to the problem of keeping the data in caches consistent. There are two general strategies for dealing with writes to a cache:

Write-through – all data written to the cache is also propagated to the main memory at the same time.

Write-back – when data is written to a cache, a dirty bit is set for the affected block. The modified block is written to memory only when the block is replaced.

Write-through caches are simpler, and they automatically deal with the cache coherence problem. But, they increase bus traffic significantly. Write-back caches are more common where higher performance is desired.

by (187k points)

Related questions

0 votes
1 answer 17 views
0 votes
1 answer 195 views
0 votes
1 answer 38 views
0 votes
1 answer 50 views
0 votes
1 answer 32 views
32 views asked Oct 7, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 47 views
0 votes
1 answer 27 views
27 views asked Oct 6, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 11 views
11 views asked Oct 6, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 108 views
0 votes
1 answer 15 views
15 views asked Oct 7, 2020 in Technology by JackTerrance (187k points)
...