[理工] OS effective M.A. time

看板Grad-ProbAsk作者 (Ellison)時間13年前 (2013/01/14 15:44), 編輯推噓2(201)
留言3則, 3人參與, 最新討論串1/1
In a paging system with two-level page tables, hit ratio is 80% search the TLB need 10 ns memory access need 100ns what is the effective memory access time? 解答: 0.8*(10+100)+0.2*(10+300) =150ns 我想問的是,在300是怎麼來的@@? TLB的effective ma time公式中 失敗的存取時間不是應該為 TLB access time+2*ma time? 先感謝撥冗解答: ) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 115.80.18.86

01/14 15:48, , 1F
two-level查page table就要花兩次memory access的時間
01/14 15:48, 1F

01/14 15:49, , 2F
TLB在2-level就查兩次了~ 之後再去實體位址存 共三次
01/14 15:49, 2F

01/14 15:51, , 3F
懂了!感謝 : )
01/14 15:51, 3F
文章代碼(AID): #1GyxT655 (Grad-ProbAsk)