1 1 vote Assume a sequence of memory accesses is made that have a high degree of temporal locality, which one of these cache would be likely to have the best performance? A 4-way set associative cache with 2-byte blocks A 2-way set associative cache with 4-byte blocks A direct mapped cache with 4-byte blocks A direct mapped cache with 8-byte blocks CO & Architecture co-and-architecture + – vnc 558 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
Best answer 3 3 votes To have high temporal locality the data should be retained longer. Temporal locality means that a data accessed has a high probablity of being accessed again. So to maximize temporal locality we have to ensure that the data is not replaced with another block. And comparing the given cache configurations I think 4-way associative cache with 2 byte blocks is the best choice. Kaushik.P.E answered Jan 10, 2017 • selected Jan 11, 2017 by Sushant Gokhale Kaushik.P.E comment Share Follow See 1 comment 1 1 comment reply Akriti sood commented Jan 10, 2017 reply Follow flag i too think the same..;-) 0 0 replyShare Please log in or register to add a comment.