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)?
- A. 24
- B. 16
- C. 25
- 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.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- How many distinct IEEE 754 single-precision numbers x satisfy 0.5 ≤ x ≤ 4 (counting both endpoints)?
- A fully associative cache (or page frame pool) of k lines has to serve the reference string 6, 5, 5, 7, 4, 6, 5, 2, 2, 6, 5, 7, 3, 2, 4…
- A fully associative cache has 3 lines (one word each). The reference string 2, 3, 2, 1, 5, 2, 4, 5, 3, 2, 5, 2, 6, 1, 3, 6, 2, 5, 1, 4 is…
- A DDR-style DRAM needs tRP = tRCD = CL = 15 ns, and a burst that fills one cache line takes 10/3 ns. A row-buffer hit costs CL + burst; a…
- A write-back, write-allocate cache is direct mapped with 4 lines of one word (line = address mod 4). Starting empty, it serves these…
- Twenty-eight 32-bit numbers are added with a tree of carry-save adders (3:2 compressors) that reduces every group of three operands to…