This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6455芯片片内cache内部结构问题



set-associated可用direct-mapped实现,为什么要设计direct-mapped与set-associated两种cache映射机制?比如说512bytes的cache,设每个cache line是32bytes,若采用direct-mapped,则是16个cache line。若采用set-associated,设每个set有4个cache line,则整个含有4个set。两者在实际的cache 替换调度过程中由什么区别吗?

其实就是同样总容量的cache下,set-associated怎么体现其相对direct-mapped的优势?