GATE / CS ARCHIVE

GATE CSE 2000 / QUESTION 2.22

Effective memory time with rare page faults

Operating Systems · Virtual Memory & Paging · Full GATE CSE 2000 paper

GATE 2000, Q2.22 2 marks · MCQ
Report issue

Virtual Memory & Paging

Question 2.22, GATE 2000: Memory access takes 1 μs, average page-fault service 10 ms, and hit ratio is 99.99%. Choose effective time from 1.9999 ms,1 ms,9.999 μs,1.9999 μs.
Tap to enlarge
Your answer
Answer & solution

Answer: D under the inclusive fault-service convention (no official key was published)

Step 1: Convert 10 ms to 10,000 μs and use fault probability 1−0.9999=0.0001.

Step 2: If the fault-case time is the stated total service, expected time is 0.9999·1+0.0001·10,000=0.9999+1=1.9999 μs, D.

If “service” excludes the final retried access, add another 0.0001 μs to obtain 2 μs. This tiny convention difference is explicit; neither interpretation gives a millisecond-scale average.

Original paper, page 6