作者InitialShuk (Shuk)
站內Grad-ProbAsk
標題[理工] 95東華資工 os&計組
時間Wed Apr 8 16:27:14 2009
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
推 muta22:相同類型吧@@" 04/08 16:34
可以的話請樓上解一下@@
我問我同學 他也覺得怪怪的
2+4%*200+5%*200*35%= 有miss的
那沒miss的? 直接答案是2嗎 @@?
※ 編輯: InitialShuk 來自: 118.160.161.72 (04/08 16:41)
→ ssccg:就是2 04/08 16:43
→ InitialShuk:感謝解惑<(_ _)> 04/08 16:55
推 kylekatarn:請問這題是問perfect CPI比有miss的CPI快上多少嗎? 04/07 13:48
→ kylekatarn:因為題目原意看不是很懂 04/07 13:48