Re: [理工] [計組]-中央96-資工
※ 引述《assassin88 (AI)》之銘言:
※ 引述《steven9374 (steven)》之銘言:
: A computer system has L1 and L2 cache. The local hit rates for
: L1 and L2 are 98% and 80%,respectively.The miss penalities are
: 8 and 60 cycles,respectively.(a)Assume a CPI of 1.2 without
: any cache miss and average of 1.1 memory accesses per instruction,
: what is effective CPI after cache misses are factored in?
: 請問這題如何解?
: 有看答案但是看看了不太懂
effective CPI = base CPI + additional CPI
Ans:1.2+1.1*0.02*(8+0.2*60)
答案不知道對不對..有錯請指正。
______________________________________________
借標題問一下
這一題的第2小題
題目說把兩LEVEL的cache 合併成一個
問這個合併後cache的 miss rate 跟 penalty?
請問為什麼高銘的解答 penalty 就直接寫60阿?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.136.241.137
推
12/30 23:44,
12/30 23:44
→
12/30 23:46,
12/30 23:46
→
12/30 23:56,
12/30 23:56
推
12/31 00:04,
12/31 00:04
→
12/31 00:07,
12/31 00:07
推
12/31 00:08,
12/31 00:08
→
12/31 00:29,
12/31 00:29
推
12/31 00:33,
12/31 00:33
推
12/31 00:35,
12/31 00:35
→
12/31 00:36,
12/31 00:36
推
12/31 00:36,
12/31 00:36
推
12/31 00:47,
12/31 00:47
→
12/31 00:48,
12/31 00:48
推
12/31 00:51,
12/31 00:51
→
12/31 00:51,
12/31 00:51
推
12/31 00:53,
12/31 00:53
推
12/31 00:54,
12/31 00:54
→
12/31 00:54,
12/31 00:54
推
12/31 00:55,
12/31 00:55
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.230.133.86
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 4 之 5 篇):