Dealing with Stale Data
-
Route all I/O through the cache instead of memory (bad performance).
-
I/O Reads
-
Invalidate entire cache or selective cache entries
after each read operation.
-
Perform read to a buffer that is marked as noncacheable.
-
I/O Writes
-
Use write-through.
-
Force write backs to occur (flush cache) before each write operation.
|