[理工] [計組]101中央

看板Grad-ProbAsk作者 (死月)時間13年前 (2013/01/02 11:37), 編輯推噓2(202)
留言4則, 2人參與, 最新討論串1/1
第11題的(C)小題 Assume that the access time to this cache is 2ns and the main memory access time is 100ns, including all the miss handling. The miss rate of this cache is 5%. What is the speedup if we add a secondary cache that has a 20ns access time and the miss rate of this secondary cache is 10%? 答案: 只有cache:2 ns + 5 % * 100 ns = 7 ns 加上secondary cache: 2 ns + 5 % * 20 ns + 1 % * 100ns= 4 ns speedup: 7/4=1.75 請問加上secondary cache列的式子 1 % * 100 ns裡的 1 %是怎樣來的? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.129.23.123

01/02 12:02, , 1F
應該是0.5%才對,由5%*10% = 0.5%
01/02 12:02, 1F

01/02 13:30, , 2F
所以解答錯了? 第2cache的是要在多乘上第一層的mr?
01/02 13:30, 2F

01/02 22:34, , 3F
要看給的是區域miss rate還是global的,這題是給區域才需多乘
01/02 22:34, 3F

01/03 00:57, , 4F
我懂了,感謝回答!
01/03 00:57, 4F
文章代碼(AID): #1GuwjSwc (Grad-ProbAsk)