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
相關文章
相關標籤/搜索