CS FundamentalsHardGATE CS

Memory access takes 100 ns. A page fault occurs once per million accesses; servicing it takes 8 ms if the victim page is clean and 20 ms if dirty, and 70% of victims are dirty. What is the effective access time?

  1. A. 108 ns
  2. B. 116.4 ns
  3. C. 120.0 ns
  4. D. 114.4 ns

Correct answer: B. 116.4 ns

The average fault time is 0.3 × 8 + 0.7 × 20 = 16.4 ms. EAT ≈ 100 ns + 10⁻⁶ × 16.4 × 10⁶ ns = 116.4 ns. Using only the clean cost gives 108 ns.

More Operating Systems questions

Exams that ask this topic