CS FundamentalsHardGATE CS (PYQ pattern)

A paged system has a TLB lookup time of 10 ns, a TLB hit ratio of 90% and a memory access time of 100 ns. A TLB miss needs one extra memory access to read the single-level page table. The page-fault probability per reference is 10⁻⁴ and a fault takes 8 ms to service. The effective access time is closest to:

  1. A. 120 ns
  2. B. 8,120 ns
  3. C. 1,020 ns
  4. D. 920 ns

Correct answer: D. 920 ns

Without faults: 0.9 × (10 + 100) + 0.1 × (10 + 100 + 100) = 120 ns. Adding faults: 0.9999 × 120 + 10⁻⁴ × 8,000,000 ns ≈ 920 ns. 8,120 ns would result from using a fault rate of 10⁻³.

More Operating Systems questions

Exams that ask this topic