Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 149
  • Last Modified:

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

Any difference if L2-Cache = Write-Back or Write Through ?
0
hhheng
Asked:
hhheng
1 Solution
 
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.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now