CS FundamentalsVery hardTCS Digital · Infosys

Memory access takes 200 ns and servicing a page fault takes 8 ms. For the effective access time to degrade by no more than 10% over the fault-free 200 ns, roughly how many memory accesses must occur per page fault at the very least?

  1. A. About 4,00,000 (4 x 10^5)
  2. B. About 4,000 (4 x 10^3)
  3. C. About 40,000 (4 x 10^4)
  4. D. About 40,00,000 (4 x 10^6)

Correct answer: A. About 4,00,000 (4 x 10^5)

EAT = (1 - p) x 200 + p x 8,000,000 <= 220 gives p x 7,999,800 <= 20, so p <= about 2.5 x 10^-6, i.e. at least one fault per ~4 x 10^5 accesses.

More Operating Systems questions

Exams that ask this topic