Consider the given two statements S1 and S2
S1: If compulsory misses are most common then the designers should consider to increase the cache line size to take better advantage of locality.
S2: If capacity misses are most common then the designer should increase the cache associativity, in order to provide more flexibility when collision occurs.
Which of the following is correct?
@mcjoshi, multiplex more blocks into a set . suppose, increasing the k set associative to 2k set associative .
@Kapilp the reference link given above says "On increasing associativity conflict misses increase". How?
ASWER : (b)
S1: compulsory miss is that which always occur because intialy cache memory is always empty and there is no reference present so first reference will always be a MISS. called compulsory MISS
S2 :this miss will occur when the cache memory size is full due to small size of cache it cannot accommodate all the main memory blocks during the program execution so some of the cache block are discarded and later reterived..so if we increase the associative of the cache than more no of blocks can be hold by cache ..
64.3k questions
77.9k answers
244k comments
80.0k users