作者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
1F:推 muta22:相同类型吧@@" 04/08 16:34
可以的话请楼上解一下@@
我问我同学 他也觉得怪怪的
2+4%*200+5%*200*35%= 有miss的
那没miss的? 直接答案是2吗 @@?
※ 编辑: InitialShuk 来自: 118.160.161.72 (04/08 16:41)
2F:→ ssccg:就是2 04/08 16:43
3F:→ InitialShuk:感谢解惑<(_ _)> 04/08 16:55
4F:推 kylekatarn:请问这题是问perfect CPI比有miss的CPI快上多少吗? 04/07 13:48
5F:→ kylekatarn:因为题目原意看不是很懂 04/07 13:48