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

Download App for Free PDF Download

GovtVacancy.Net Android App: Download

government vacancy govt job sarkari naukri android application google play store https://play.google.com/store/apps/details?id=xyz.appmaker.juptmh