Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. 1. Why do we need VMM? 2. 2. Assume a virtual memory system has Virtual addre

ID: 3767343 • Letter: 1

Question

1. 1. Why do we need VMM?

2. 2. Assume a virtual memory system has

Virtual address (bits)

Physical RAM

Page size

PTE size (byte)

32

16GiB

4KiB

4

How many page table entries (PTEs) are needed? How much physical memory is needed for storing the page table?

3. As described in Section 5.7, virtual memory uses a page table to track the mapping of virtual addresses to physical addresses. This exercise shows how this table must be updated as addresses are accessed. The following data constitutes a stream of virtual addresses as seen on a system. Assume 4 KiB pages, a 4-entry direct mapped TLB, and true LRU replacement. If pages must be brought in from disk, increment the next largest page number.

4669, 2227, 13916, 34587, 48870, 12608, 49225

TLB

Valid      Tag          Physical Page Number

1               11            12

1               7               4

1               3               6

0               4               9

Page table

Valid      Physical Page or in Disk

1               5

0               Disk

0               Disk

1               6

1               9

1               11

0               Disk

1               4

0               Disk

0               Disk

1               3

1               12

a) Given the address stream shown, and the initial TLB and page table states provided above, show the final state of the system. Also list for each reference if it is a hit in the TLB, a hit in the page table, or a page fault.

b) Show the final contents of the TLB if it is 2-way set associative.

Virtual address (bits)

Physical RAM

Page size

PTE size (byte)

32

16GiB

4KiB

4

Explanation / Answer

Answer 1.1 :

A Virtual Machine Monitor (VMM) is a software program that empowers the creation, administration and administration of virtual machines (VM) and deals with the task of a virtualized situation over a physical host machine.

VMM is otherwise called Virtual Machine Manager and Hypervisor. Be that as it may, the gave design usage and administrations vary by merchant item.

VMM is the essential software behind virtualization situations and usage. At the point when introduced over a host machine, VMM encourages the formation of VMs, each with isolated operating systems (OS) and applications. VMM deals with the backend task of these VMs by allotting the fundamental processing, memory, stockpiling and other info/yield (I/O) assets.

VMM likewise gives an incorporated interface to dealing with the whole activity, status and accessibility of VMs that are introduced over a solitary host or spread crosswise over various and interconnected hosts.

DEAR PLEASE DO RATE IT IF HELPS ELSE LET ME KNOW YOUR DOUBT.

KINDLY POST SEPARATELY AS WE ARE RESTRICTED TO ANSWER MORE THAN ONE QUESTION FROM MULTIPLE POSTED QUESTIONS.

THANK YOU!!