121k views
0 votes
Calculate the global and local miss rates for a 2-level cache. Consider level-1 cache with 16KB and vary the level-2 cache size form 2KB, 8KB, 32KB and 128KB for a block size of 16bytes, LRU replacement policy and 2-way associativity. Compare this value with the miss rates of single-level cache. a) Consider only data caches for simulation and plot the results (Logarithmic scale makes the plot clearer). b) What conclusion can you draw from this? c) Is the local miss rate a good measure of secondary caches? d) What is the optimum value of the secondary cache size?

User Ranusharao
by
4.8k points

1 Answer

2 votes

Answer:

As given problem statement we are considering 1-cache with 16kb and level 2 cache of 128 kb,so optimum value of secondary cache size is 64 Kb.

User MaxKlaxx
by
4.9k points