Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

In a Word document, answer the following questions based on the criteria above:

  • What would happen for the given operation sequence for the shadow page table and nested page table? Explain your answer.
  • 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.
  • Between the metrics of TLB miss rate, TLB miss latency, page fault rate and page fault handler latency, which one of those would be the most important for shadow page table? Which are the most important for the nested page table and why?
  • What techniques can be used to reduce page table shadowing overhead and/or reduce NPT induced overhead?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design And Implementation

Authors: KROENKE DAVID M.

1st Edition

8120322258, 978-8120322257

More Books

Students also viewed these Databases questions

Question

1. Define the nature of interviews

Answered: 1 week ago

Question

2. Outline the different types of interviews

Answered: 1 week ago