GATE - 2000 | OS | Suppose the time to service a page fault is on the average 10

GATE - 2000 | OS | Suppose the time to service a page fault is on the average 10
Posted on 26-02-2022

GATE - 2000 [Operating System]

Questions:

Suppose the time to service a page fault is on the average 10 milliseconds, while a memory access takes 1 microsecond. Then a 99.99% hit ratio results in average memory access time of

A

1.9999 milliseconds

B

1 millisecond

C

9.999 microseconds

D

1.9999 microseconds

     

Solution:

Option (D) is Correct.

Average memory access time = (P*t1) + [(1-P)t2]
= (0.9999*1) + [(1-0.9999) *10000]
= (0.9999) + (0.0001 * 10000)
= 0.9999 + 1
= 1.9999 microseconds

 

Thank You