GATE / CS ARCHIVE

GATE CSE 2009 / QUESTION 34

Space benefit of multilevel page tables

Operating Systems · Virtual Memory & Paging · Full GATE CSE 2009 paper

GATE 2009, Q34 2 marks · MCQ
Report issue

Virtual Memory & Paging

Question 34, GATE 2009: Why prefer multilevel over single-level page tables? A shorter memory access time; B reduced page-table storage for a process virtual address space; C required by a TLB; D fewer replacement page faults.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

A sparse virtual address space need not allocate lower-level page tables for unused regions. This can reduce the resident page-table storage compared with a full flat table, B. Extra levels do not inherently shorten a page walk, eliminate page faults or become mandatory merely because a TLB exists.

A flat table allocates an entry for every possible virtual page even when most virtual regions are unused. A multilevel table can omit entire lower-level tables for absent regions, saving storage. This is the purpose captured by B. The price may be additional memory references on a TLB miss, not a guaranteed speedup. Neither a TLB nor the page-replacement policy logically requires a multilevel representation.

Original paper, page 8