S4 Computer architecture · Practice
Virtualization and nested translation
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 6 kinds solid
Check
A guest's page table has 4 levels; the host's nested table has 2.
(a)
How many memory accesses can a TLB miss take?
(b)
How many times a native 4-level walk is that?
Check
A guest causes 50000 VM exits a second, each costing 1 µs.
(a)
What fraction of a core do they use?
Check
A program misses the TLB 1 times per thousand instructions; each page-walk access takes 15 ns on a 3 GHz core, with 4-level tables in both the guest and the host.
(a)
What CPI do native walks add?
(b)
And nested walks?
Check
Nested walk accesses, 2 guest and 3 host levels?
Check
Core fraction for 20000 exits a second at 1.2 µs?
Check
Nested walk CPI: 2 MPKI, 10 ns per access, 3 GHz, 4 × 4 levels?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in S4