看板 Grad-ProbAsk 關於我們 聯絡資訊
Give the following series of address references: 22,36,19,43,27,25,24,19,8,12,4,7,10,38,20,36,16 assuming a direct-mapped cache with 8 one-word blocks that is initially empty,label each reference in the list as a hit or miss and show the final content of the cache i)which block of cache is never used using the above reference? ii)how many compulsory misses would occur?list them iii)how many conflict misses would occur? 答案我貼在網路上比較清楚 http://www.badongo.com/cn/pic/9073192 我想請問各位高手 為什麼19跟36發生衝突性失誤 但是22,38的block no 一樣是6卻沒發生呢? 其他也有block no相同的也沒有發生衝突性失誤? 謝謝指教 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.41.121.120
GAZZ1234:... 因為第一次都是冷開機失誤XD 所以當然不算衝突 03/18 01:13
GAZZ1234:19已經出現第2次拉 就衝突拉 compulsory miss <第一次 03/18 01:15
bigrat2:感謝指教 熊熊沒看到36也出現兩次 :P 03/18 01:35