703 views
1 votes
1 votes

Suppose the time taken to write in cache is tc and time to write in main memory is tm. If write back policy is used, only the main memory is written and time taken is tm. But if write through is used, are the main memory and cache updated simultaneously (time taken would be tm) or serially (time taken would be tc + tm)? 

1 Answer

0 votes
0 votes
In write-through updation, both the main memory and the cache happen simultaneously. Because of that, we take the maximum of these two. Whichever is greater; We'll consider that.

Related questions

2 votes
2 votes
2 answers
1