5,066 views
3 3 votes

In a 2 level memory, if the level 1 memory is 5 times faster than level 2 and its access time is 10ns less than avg access time.Let the level 1 memory access time is 

20ns.

(a.)0.7
(b.)0.75
(c.)0.86
(d.)0.96

2 Answers

Best answer
1 1 vote

let level 1 access time t1 & level 2 t2...

then t2 = 5 t1----->  eq(1)

t1 = tavg  - 10====>eq2

 tavg  =   t1 + 10

t1 = 20 ns (given)

from eq1 we get,,,

t2 =100 ns

from eq2 we get,,,

 tavg = 30ns

now for simultaneous memory organization..

 tavg = H t1 + (1-H) t2

30 = H *20 + (1-H) *100

H = .875

• selected by
Position:
Show:

Related questions

2 2 votes
2 answers 2 answers
4.4k
4.4k views
rahuldb asked Nov 17, 2016
4,424 views
What is the hit ratio of a cache memory.If cache memory access time is 30ns,main memory access time is 150ns and avg access time is 42ns.
8 8 votes
4 answers 4 answers
7.8k
7.8k views
shekhar chauhan asked Jul 20, 2016
7,756 views
Consider an array A[100] and each element occupies 4 word. A 32 word cache is used and divided into 8 word blocks. What is the hit ratio for the following statement.for(i...
1 1 vote
1 answers 1 answer
1.3k
1.3k views
Avdhesh Singh Rana asked Jan 24, 2016
1,314 views
In a system, integer has size of $4$ bytes. The system has $1024$ KB set associative cache with associativity $2$ and block size of $32$ bytes. Consider the program below...
1 1 vote
1 1 answer
925
925 views
rahulkarmakar asked Jun 16, 2023
925 views
The access time of a main memory is 800 ns and cache memory access time is 70 ns. The ratio of read and write requests is 7:3. The hit ratio for read access only is 80%. ...