in CO and Architecture
856 views
0 votes
0 votes
if simply the access time of level-1 meomry and level-2 memory is given and hit ratio is given then for average time access what should be the approach? should i go for hierarchical or simultaneous access?
in CO and Architecture
856 views

4 Comments

By default we consider hierarchical access otherwise simultaneous access if specified.
0
0
In a two level memory hierarchy, the access time of cache memory is 12 ns and the access time of the main memory is 1500 ns. The hit ratio is 0.98, the average access time of two-level memory system is

(A) 44.05 ns
(B) 41.76 ns
(C) 46.94 ns
(D) 40.25 ns
0
0
with hierarchical access = t1 + (1-h1)tm = 42 ns

 with simultaneous access = h1t1 + (1-h1)tm = 41.76 ns

here only option matching is B. but we always consider by default as hierarchical access because some implementation difficulty.
0
0
Avg access time for hierarchical organisation is h1t1+(1-h1)(t1+t2) right?
0
0

Please log in or register to answer this question.

Related questions