GATE Computer ScienceVery hardGATE CS

A virtualised x86-64-style system translates a guest virtual address using a 4-level guest page table and a 4-level nested (host) page table. Every guest page-table pointer and the final guest physical address must itself be translated through the host table. With empty TLBs and no paging-structure caches, what is the maximum number of memory references needed to complete one guest memory access (including the final data reference)?

  1. A. 24
  2. B. 16
  3. C. 25
  4. D. 20

Correct answer: A. 24

Each of the 4 guest levels needs a 4-reference host walk plus 1 read of the guest entry, giving 4 × 5 = 20, and the final guest physical address needs another 4-reference host walk plus the data reference: (4 + 1)(4 + 1) − 1 = 24.

More Computer Organization and Architecture questions

Exams that ask this topic