GATE - 2011 | OS | Let the page fault service time to 10 ms in a computer with average memory

GATE - 2011 | OS | Let the page fault service time to 10 ms in a computer with average memory
Posted on 12-02-2022

GATE - 2011 [Operating System]

Question:

Let the page fault service time to 10 ms in a computer with average memory access time being 20 ns. If one page fault is generated for every 106 memory accesses, what is the effective access time for the memory?

A

21 ns

B

30 ns

C

23 ns

D

35 ns

   

Solution:

Option (B) is Correct.

P = page fault rate
EA = p × page fault service time + (1 – p) × Memory access time
=1/106×10×106+(1-1/106)×20

≅29.9 ns

Thank You