CS FundamentalsHardGATE CS

A computer has 48-bit virtual addresses, 4 KB pages and 8-byte PTEs. With a single-level page table, how large would one process's table be, and why do real systems not do this?

  1. A. 256 GB; tables are always paged out
  2. B. 512 GB; it is far larger than physical memory, so multi-level or hashed tables are used
  3. C. 2 GB; this is acceptable
  4. D. 512 MB; this is acceptable

Correct answer: B. 512 GB; it is far larger than physical memory, so multi-level or hashed tables are used

2⁴⁸ / 2¹² = 2³⁶ entries × 8 B = 2³⁹ B = 512 GB per process. Multi-level tables allocate inner tables only for regions in use.

More Operating Systems questions

Exams that ask this topic