Computer Architecture and Design Question: Download Questions PDF
Whats the difference between Write-Through and Write-Back Caches? Explain advantages and disadvantages of each?
![Computer Architecture Interview Answer Computer Architecture Interview Question](https://globalguideline.com/public/images/interview/14.png)
Answer:
The comparison can be made out of two factors
1) Performance and
2) Integrity of Data
Write through is better in integrity as it will flush for each writes.
Write back holds up the write till the same cache line has to be used up for a read, which question the data integrity when multiple processors access the same region of data using its own internal cache.
Write Back - gives a good performance, as it save many memory write cycles /write.
Write Through - Doesn't give this performance compared to the write-back.
1) Performance and
2) Integrity of Data
Write through is better in integrity as it will flush for each writes.
Write back holds up the write till the same cache line has to be used up for a read, which question the data integrity when multiple processors access the same region of data using its own internal cache.
Write Back - gives a good performance, as it save many memory write cycles /write.
Write Through - Doesn't give this performance compared to the write-back.
Download Computer Architecture Interview Questions And Answers
PDF
Previous Question | Next Question |
How do you handle precise exceptions or interrupts? | Explain What is Virtual Memory? |