recategorized by
886 views
1 votes
1 votes

A computer has a single cache (off-chip) with a $3$ ns hit time and a $95\%$ hit rate. Main memory has a $50$ ns access time. If we add an on-chip cache with a $0.6$ ns hit time and a $98\%$ hit rate, the computer’s effective access time:

  1. $\text{2.8 ns}$
  2. $\text{5.5 ns}$
  3. $\text{0.7 ns}$
  4. None of the options
recategorized by

1 Answer

0 votes
0 votes
Average access time = [H1*T1]+[(1-H1)*H2*T2]+[(1-H1)(1-H2)*Hm*Tm]

 

Simultaneous access-

0.98(0.6) + 0.02(0.95)(3) + 0.02(0.05)(50) = 0.695 ns

 

 

Hierarchal access- 

0.98(0.6) + 0.02(0.95)(0.6+3) + 0.02(0.05)(0.6+3+50) = 0.69974 ns

 

in both case ~ 0.7 ns

so, option C 

Answer:

Related questions

1 votes
1 votes
1 answer
1
gatecse asked Dec 9, 2020
587 views
Ramesh’s father is a paediatrician. Ram’s father is a trader. Krishan’s father is a school teacher. Krishan falls ill. Where should his father take him?to hometo sc...
4 votes
4 votes
1 answer
3