[理工] 95東華資工 os&計組
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
04/08 16:43, 2F
→
04/08 16:55, , 3F
04/08 16:55, 3F
推
04/07 13:48, , 4F
04/07 13:48, 4F
→
04/07 13:48, , 5F
04/07 13:48, 5F