CS FundamentalsVery hardGATE CS

A system's average process size is s = 1 MB and each page-table entry takes e = 8 bytes. Balancing page-table overhead (s·e / p) against internal fragmentation (p / 2), what page size p minimises the per-process overhead?

  1. A. 2 KB
  2. B. 8 KB
  3. C. 4 KB
  4. D. 1 KB

Correct answer: C. 4 KB

The overhead s·e/p + p/2 is minimised at p = √(2se) = √(2 × 2²⁰ × 8) = √2²⁴ = 4096 bytes. Larger pages waste more in the last page; smaller ones need longer page tables.

More Operating Systems questions

Exams that ask this topic