Any difference if L2-Cache = Write-Back or Write Through

Any difference if L2-Cache = Write-Back or Write Through ?
hhhengAsked:
Who is Participating?
 
jhanceCommented:
Yes.  WRITE BACK is generally the best for performance but on some hardware (i.e. poorly designed hardware) it can cause failures.  If you system operates normally with the setting at WRITE BACK, leave it that way.

A WRITE BACK cache holds the data in a buffer and writes it back to the RAM when it feels like it.  In this case the cache controller can optimize writes to RAM and can send an entire block to the RAM at one time.

WRITE THROUGH sends the data to the cache but also writes it "through" the cache to RAM at the same time.  So for every write you end up making a RAM write also.  This can cause a serious slowdown so it's not wise to use this unless there is a good reason for it.
0
 
hhhengAuthor Commented:
Thanks for helping me all the way..
What a pal
Cheers..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.