• retagged by
5,122 views
1 1 vote

Consider a system with $2$ level cache. Access times of Level $1$ cache, Level $2$ cache and main memory are $0.5$ ns, $5$ ns and $100$ ns respectively. The hit rates of Level $1$ and Level $2$ caches are $0.7$ and $0.8$ respectively. What is the average access time of the system ignoring the search time within the cache?

  1. $35.20$ ns
  2. $7.55$ ns
  3. $20.75$ ns
  4. $24.35$ ns

3 Answers

1 1 vote
ignoring search time with in the cache ==> this statement tells us to use parallel access.

$T_{avg\;access} = H_1.T_1 + \color{red}{(}1-H_1 \color{red}{)} \color{red}{(} \color{green}{H_2 . T_2 + (1-H_2).T_M} \color{red}{)}$

$T_{avg\;access} = (0.7*0.5) + \color{red}{(}0.3\color{red}{)} \color{red}{(} \color{green}{ (0.8*5) + (0.2).100} \color{red}{)}$

$T_{avg\;access} = (0.35) + \color{red}{(}0.3\color{red}{)} \color{red}{(} \color{green}{ 4 + 20} \color{red}{)}$

$T_{avg\;access} = 0.35 + 7.2 = 7.55\;ns$
0 0 votes
Average access time = level 1 hit rate( level 1 access time) + (level1 miss rate)(level 2 hit rate(level 2 access time)+ (level 1 miss rate)( level 2 miss rate) (main memory access time)
Average access time = 0.7(0.5) + 0.3(0.8)(5) + 0.3(0.2)(100)
Average access time = 7.55 ns
Answer:
Position:
Show:

Related questions

1 1 vote
1 1 answer
1.4k
1.4k views
Arjun asked Jan 2, 2019
1,388 views
​​​​​​​Dirty bit is used to show thewrong pagepage with corrupted datapage with low frequency occurrencepage that is modified after being loaded into cache memory
1 1 vote
1 1 answer
6.4k
6.4k views
Arjun asked Jan 2, 2019
6,405 views
​​A box contains six red balls and four green balls. Four balls are selected at random from the box. What is the probability that two of the selected balls will be red an...
0 0 votes
3 3 answers
4.9k
4.9k views
Arjun asked Jan 2, 2019
4,942 views
​​​​​​A survey has been conducted on methods of commuter travel. Each respondent was asked to check Bus, Train and Automobile as a major method of travelling to work. Mor...
0 0 votes
1 1 answer
4.1k
4.1k views
Arjun asked Jan 2, 2019
4,134 views
A full joint distribution for the Toothache, Cavity and Catch is given in the table below. Toothache$\neg$ ToothacheCatch$\neg$ CatchCatch$\neg$ CatchCavity$0.108$$0.012$...