CS FundamentalsVery hardGATE CS

A system has a TLB lookup of 20 ns, memory access of 100 ns, single-level paging and a TLB hit ratio of 90%, so a reference costs 130 ns on average without faults. Servicing a page fault takes 8 ms. To keep the slowdown from page faults under 10% (average at most 143 ns), at most about how often may a fault occur?

  1. A. Once per 615,000 references
  2. B. Once per 800,000 references
  3. C. Once per 61,500 references
  4. D. Once per 666,700 references

Correct answer: A. Once per 615,000 references

Need 130(1 − p) + 8 × 10⁶ p ≤ 143, so p ≤ 13 / (8 × 10⁶ − 130) ≈ 1/615,000. 800,000 uses 100 ns as the base, 666,700 uses the 120 ns hit time, and 61,500 misreads 8 ms as 8 × 10⁵ ns.

More Operating Systems questions

Exams that ask this topic