Unit-V: Performance Enhancement Techinques
Unit-V: Performance Enhancement Techinques
PERFORMANCE ENHANCEMENT
TECHINQUES
CACHE MAIN
CPU MEMORY
•
prepared by Geetha.G and Safa.M
Cache memory
• Cache hit
• If the requested word for read/write operation is present in the
cache then it is a cache hit
• Cache Miss
• If the requested word for read/write operation is not present in
the cache then it is a cache miss
• - Entire block will be written back even if the single word in the block is
changed, when the block containing this marked word is to be removed
from the cache to make room for a new block
• Write-back protocol - the block containing the word is brought into the
cache and then the desired word in the cache is overwritten with new
information
• Placement strategies:
• Where to place an incoming block in the cache.
• Consider a cache consisting of 128 blocks ,of 16
words each,for a total of 2048 words
SECONDARY
CACHE
L2
MAIN
MEMORY
Increasing Size
SECONDARY
MEMORY