Lesson 3b (Memory Virtualization) Flashcards
Why is virtual memory implementation so important
it is crucial to performance
How many page tables do we have
one for each process
Where is the pagetable (hardware or software)
it is an os data structure
What does the page table contain
mappings from virtual to physical memory
does the hypervisor know about the page table in each OS
no
What is machine memory
physical memory, like the ram sticks in the machine
who controls machine memory
the hypervisor
is physical memory of a virtual OS contiguous
no
MPN
machine page number
how is the PPN mapped to the MPN
Type hypervisor keeps a page table that maps from physical to machine memory
What is the hypervisor’s pagetable called?
S-PT shadow page table
Where should the PPN->MPN be store for fully virtualized?
hypervisor
Where should the PPN->MPN be store for para virtualized?
Guest OS
How is VPN to MPN made efficent
The hypervisor traps guest PT/TLB updates of the virtualized OS. It then installs that mapping in the S-PT and hardware TLB.
does a para guest know about the S-PT
The PPN to MPN can be pushed in the guest OS