[理工] 計組失誤代價..

看板Grad-ProbAsk作者時間15年前 (2009/04/17 19:32), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/1
Assume an instruction cache miss rate for a program A of 1%, and data cache miss rate of 5%, If a machine has CPI of 2 without any memory stall, and the miss penalty is 50 cycles for all, misses, determine how much faster a machine would run with a perfect cache that never missed. Assume the frequency of load and store in program A is 30%. 答案上面寫著 instruction miss cycle: I * 1% * 500 = 5I data miss cycle : I *30% * 5% *500 = 7.5I .............. 我是想問 哪裡來的500? 上面只有50耶 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.170.95.41

04/17 19:35, , 1F
是高銘的課本嗎?好像是打錯的
04/17 19:35, 1F

04/17 19:58, , 2F
是高銘的課本!!
04/17 19:58, 2F
文章代碼(AID): #19w6Z1uP (Grad-ProbAsk)