cpu cache中LRU算法所须要的位数

参考:algorithm LRU, how many bits needed for implement this algorithm?web 问题:在cpu缓存中使用的LRU替换算法须要多少位呢?算法 解决方法: 对于n路相连的缓存来讲,LRU每一个缓存块须要的位数为log2(n),那么每一个set须要的位数就为n*log2(n)。缓存 (原文:Assuming you mean a 4-way
相关文章
相关标签/搜索