[理工] 95東華資工 os&計組

看板Grad-ProbAsk作者 (Shuk)時間16年前 (2009/04/08 16:27), 編輯推噓2(203)
留言5則, 4人參與, 最新討論串1/1
Assume that the instruction cache miss rate is 4% the data cache miss rate is 5%. a proccessor has a CPI of 2.0 without any memory stalls the miss penalty is 200 cycles for all misses, determine how much faster a processor would run with a perfect cache that never missed? Here,the frequency of loads and stores is 35%. 這種題目我常看到的 不是問有miss狀態下 平均CPI多少 然後跟完全沒miss的比 快幾倍 不過這題居然問的是 perfect and never miss 而且題給的CPI也是without any memory stalls 請問高手這種題要怎麼解@@ -- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.160.161.72

04/08 16:34, , 1F
相同類型吧@@"
04/08 16:34, 1F
可以的話請樓上解一下@@ 我問我同學 他也覺得怪怪的 2+4%*200+5%*200*35%= 有miss的 那沒miss的? 直接答案是2嗎 @@? ※ 編輯: InitialShuk 來自: 118.160.161.72 (04/08 16:41)

04/08 16:43, , 2F
就是2
04/08 16:43, 2F

04/08 16:55, , 3F
感謝解惑<(_ _)>
04/08 16:55, 3F

04/07 13:48, , 4F
請問這題是問perfect CPI比有miss的CPI快上多少嗎?
04/07 13:48, 4F

04/07 13:48, , 5F
因為題目原意看不是很懂
04/07 13:48, 5F
文章代碼(AID): #19t5_aQc (Grad-ProbAsk)