作者:
Transfat (Transfat)
2016-12-25 22:47:57http://imgur.com/a/2Al15
想問(2)小題,我已經算出來Main memory no. 和 tag 和 index ,但怎麼判斷是不是Hit
或miss呢?
我的數據
word address M.M block no. tag index
3 0 0 0
118 29 0 29
43 10 0 10
1026 256 1 0
191 47 0 47
1064 266 1 10
2 0 0 0
40 10 0 10
和第(5)小題的“What is the AMAT if TLB is a miss without page fault, assuming
the cache is still hit?" 是?
謝謝
作者: aa06697 (todo se andarà) 2016-12-26 13:50:00
5的流程是先取address再取data,address先去TLB取 會miss在去page table取 此時page hit,取得address後先去cache取data 並且cache hit 依照以上流程算出時間即可