Cache Optimizations
Cache Optimizations
Penalty
• Serves reads before writes have been completed.
• With write-through cache most important is a write buffer of the
proper size.
• Write buffers, however, do complicate memory access because they
might hold the updated value of a location need on read miss.
• The simplest way for this dilemma is for the read miss to wait
until the write buffer is empty.
• Virtually all the desktop and server processors use the later
approach, giving reads priority over writes.
Reducing hit time