Download as pdf or txt
Download as pdf or txt
You are on page 1of 17

Memory Vitualization

Anand Jayaram
Dileep C R
Muhsin V
Virtualization
A technique for hiding the physical
characteristics of computing resources from the
way in which other systems, applications, or end
users interact with those resources
2
Types of Virtualization
Language Level Virtualization
OS Level Virtualization
Cross ISA Virtualization

VMM is part of System Level
Virtualization

3
Formal Definition of VM
A virtual machine is taken to be an efficient,
isolated duplicate of the real machine.

Characteristics:-
Fidelity
Performance
Safety and Isolation
Virtual Machine Monitor basically controls or
monitors various VMs
4
Types of Virtual Machine Monitors
Bare Metal

5
HARDWARE
VMM
VM1 OS1
APP1 APP2
VM1
VM1 OS2
APP1 APP2
VM2
Types of Virtual Machine Monitors
Hosted

6
HARDWARE
HOST OS
APP1 APP2
VM1 Guest OS
APP3 APP4
Guest VM
VMM
Functions of VMM
Isolation
Portability
Security

CPU Virtualization
Memory Virtualization
I/O Virtualization
7
Memory Virtualization
Traditional Address Space
8
Current Process OS
Virtual Address
Space
RAM ROM
Physical Address
Space
Paging
Virtualized Address Space

9
Memory Virtualization in VMware
Software Based Memory Virtualization
Shadow Page Tables

Hardware Assisted Memory Virtualization
Nested Page Tables
10
Memory Virtualization
Use of Shadow Page Tables
11
Current Process OS
Virtual Address
Space
Virtual RAM
Virtual
ROM
Physical Address
Space
Guest Page Table
Physical RAM
Physical
ROM
Machine Address
Space
S
h
a
d
o
w

P
a
g
e

T
a
b
l
e


12
Memory Virtualization
Use of Nested Page Tables
13
Current Process OS
Virtual Address
Space
Virtual RAM
Virtual
ROM
Physical Address
Space
Guest Page Table
Physical RAM
Physical
ROM
Machine Address
Space
VMM Phys Map

14
Memory Virtualization
Advantages
Sharing
Isolation
Security
Disadvantages
System Overheads
15
VM1

Page Sharing
Virtual
Physical
Machine
Read-Only
Copy-on-wrte
VM2
Virtual
Physical
Thank You
17

You might also like