edited by
29,466 views
53 votes
53 votes
Consider a system with $2$ level cache. Access times of Level $1$ cache, Level $2$ cache and main memory are $1$ $ns$, $10$ $ns$, and $500$ $ns$ respectively. The hit rates of Level $1$ and Level $2$ caches are $0.8$ and $0.9$, respectively. What is the average access time of the system ignoring the search time within the cache?
  1. $13.0$
  2. $12.8$
  3. $12.6$
  4. $12.4$
edited by

8 Answers

1 votes
1 votes
Average access time = [H1 * T1] + [(1 - H1) * Hm * Tm]
H1 = 0.8, (1 - H1) = 0.2
H2 = 0.9, (1 - H2) = 0.1
T1 = Access time for level 1 cache = 1ns
T2 = Access time for level 2 cache = 10ns
Hm = Hit rate of main memory = 1
Tm = Access time for main memory = 500ns
Average access time = [(0.8 * 1) + (0.2 * 0.9 * 10) + (0.2)(0.1) * 1 * 500]
= 0.8 + 1.8 + 10
= 12.6ns
0 votes
0 votes

…………………………………………………….

0 votes
0 votes
ignoring the search time within the cache this line clearly states that it is simultaneous access

therfore formula to be used is

=H1*tL1+(1-H1)H2tL2+(1-H1)(1-H2)tmm

by this formula answer is 12.6ns  option C
Answer:

Related questions

34 votes
34 votes
3 answers
1
43 votes
43 votes
6 answers
2
Ishrat Jahan asked Nov 2, 2014
12,274 views
Consider the following schedule $S$ of transactions $T1$ and $T2:$$${\begin{array}{l|l}\textbf{T1}& \textbf{T2} \\\hline\text{Read(A)} \\\text{A = A – 10}\\& \text...