CS FundamentalsHardGATE CS

Memory access takes 200 ns and a page fault takes 10 ms to service. To keep the effective access time within 10% of the memory access time, at most one access in how many (approximately) may fault?

  1. A. about 50,000
  2. B. about 5,000,000
  3. C. about 1,000
  4. D. about 500,000

Correct answer: D. about 500,000

Need (1−p)·200 + p·10⁷ ≤ 220, so p·(10⁷ − 200) ≤ 20, p ≤ about 2×10⁻⁶ = 1 in roughly 500,000. Forgetting the 10% and solving for 100% slowdown would give 1 in 50,000.

More Operating Systems questions

Exams that ask this topic