Question
SYSTEMS ARCHITECTURE Examine memory hierarchy Directions: For systems to be able to support multiple virtual machines, two levels of memory virtualization would be needed. Each
SYSTEMS ARCHITECTURE
Examine memory hierarchy
Directions: For systems to be able to support multiple virtual machines, two levels of memory virtualization would be needed. Each of the virtual machines would control the mapping of the virtual address to the physical address. The hypervisor would then map the physical address of each of the virtual machines to the machine address. To help speed up the process of these mappings, shadow paging is used to help duplicate each of the virtual machines page tables in the hypervisor. It would intercept the virtual address to the physical address mapping changes to keep both copies consistent. To help remove some of the complexity of the shadow page tables, a hardware approach called a nested page table supports the two classes of page tables and can navigate through these tables within hardware directly.
Consider the following sequence of operations:
1) Create Process
2) TLB Miss
3) Page Fault
4) Context Switch
Please answer the question using the paragraph above as a reference:Assuming an x86 based 4-level page is in both our guest and nested page table, how many memory references would be needed to serve a TLB miss for the native and nested page table? Explain your answer.
Please make copy paste available
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started