Cache Memory
Cache Memory
Falguni Sinhababu
Government College of Engineering and Leather Technology
1
Cache Memory Organization
Done
Write Buffer
▪Write-Back Cache
▪Write hit operation:
▪Miss penalty =0
IMPROVING CACHE PERHORMANCE
ESTIMATION OF MISS PENALTIES
▪Write-Back Cache (with Write Allocate)
▪ Write Hit Operation
▪ Miss penalty = 0
▪ Read or Write Miss Operation
▪ If the replacement block is clean, miss penalty = tMM
▪ No need to write the block back to MM.
▪ New block to be brought into MM (tMM).
▪ If the replace block is dirty miss penalty = 2 tMM
▪ Write the block to be replaced to MM (tMM)
▪ New block to be brought into MM (tMM)
▪ L2 unified cache:
▪ 256 KB, 8-way set
associative
▪ Access: 11 cycles
▪ L3 unified cache:
▪ 8 MB, 16-way set
associative
▪ Access: 30 - 40 cycles