Last Updated : 22 Nov, 2018

We have a system which supports 2 level of hierarchical memory organization and has the following specification:
\"\"
Find out the average access time.

(A) 120 ns
(B) 124 ns
(C) 126 ns
(D) 130 ns


Answer: (D)

Explanation: L1 access time T1 = 10ns
L2 access time T2 = 50 * 6 = 300(Because block size is 6 word)
Miss ratio for L1 is 40 %
I.e.Complementary H1 = 0.6
Miss ratio for highest level is always 0.
I.e Complementary H2 = 1
TAvg = H1T1 + (1 -H1) * H2 *(T1 + T2)
= 0.6 * 10 + 0.4 * 1 * ( 10 + 300 )
= 6 + 124
= 130 ns
Option (D) is correct.


Quiz of this Question


Share your thoughts in the comments