作者christensen ()
看板Grad-ProbAsk
标题[理工] 计组失误代价..
时间Fri Apr 17 19:32:13 2009
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
1F:推 bernachom:是高铭的课本吗?好像是打错的 04/17 19:35
2F:→ christensen:是高铭的课本!! 04/17 19:58