Question: Part III: Set Associative Mapped Cache Execute the above program by setting the following Parameters: Number of sets ( Set Blocks ) : 2 way
Part III: Set Associative Mapped Cache
Execute the above program by setting the following Parameters:
Number of sets Set Blocks: way
Cache Type: Set Associative
Replacement: LRUFIFORandom
a Fill up the following table for three different replacement algorithms and state which replacement algorithm is better and why?
tableReplacement Algorithm: RandomBlock Size,Cache size,Miss,Hit,Hit ratioReplacement Algorithm: FIFOBlock Size,Cache size,Miss,Hit,Hit ratioReplacement Algorithm: LRUBlock Size,Cache size,Miss,Hit,Hit ratio
b Plot the graph of Cache Hit Ratio Vs Cache size with respect to different replacement algorithms. Comment on the graph that is obtained.
c Fill in the following table and analyse the behaviour of Set Associative Cache. Which one is better and why?
tableReplacement Algorithm: LRUBlock Size,,Set Blocks,Miss,Hit,Hit ratioCache size,,,, Way,,, Way,,, Way,,,
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
