Question: [ 2 0 ] B . 3 > Increasing a cache's associativity ( with all other parameters kept con - stant ) statistically reduces the
B Increasing a cache's associativity with all other parameters kept con
stant statistically reduces the miss rate. However, there can be pathological cases
where increasing a cache's associativity would increase the miss rate for a partic
ular workload.
Consider the case of directmapped compared to a twoway set associative
cache of equal size. Assume that the set associative cache uses the LRU replace
ment policy. To simplify, assume that the block size is one word. Now, construct a
trace of word accesses that would produce more misses in the twoway associative
cache.
Hint: Focus on constructing a trace of accesses that are exclusively directed to
a single set of the twoway set associative cache, such that the same trace would
exclusively access two blocks in the directmapped cache.
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
