推 mqazz1:謝謝 08/20 20:56
※ 引述《mqazz1 (無法顯示)》之銘言:
: AMAT = time for a hit + miss rate * miss penalty
: (1) Find the AMAT for a processor with a 2ns clock, a miss penalty of 20 clock
: cycles, a miss rate of 0.05 misses per reference, and a cache access time
: (including hit detection) of 1 clock cycle. Assume that the read and write miss
: penalties are the same and ignore other write stalls
根據AMAT公式 = hit + miss rate * penalty
= 1 + 0.05 * 20
= 1 + 1
= 2 (clock cycle)
然後 因為 1 clock cycle 工作 2ns 2(cycle)*2 ns/cycle = 4 ns
: 請問這題要怎麼算?
: 答案是4ns
: 謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.116.112.107