CSC439 Sp2013 4 Virtualization
CSC439 Sp2013 4 Virtualization
Applications
Operating
System
Instruction Set
Architecture (ISA)
Hardware
Conventional System Architecture
Working Combinations
VM Appl VM 1 VM 2
Applications
Applications Applications
VM Driver
Guest OS Guest OS
Physical Hardware
• Bridged: Under the Bridged method, the VM will directly contact the
DHCP server of the local network and apply for a unique local IP address
in the LAN. The VM will be then able to directly access the Internet and
all available resources on the LAN; other PCs and resources on the LAN
can also directly access the VM using its IP address. This is the preferred
connection method, if we run any server on the VM.
• Host-only: This method is same as the NAT except the VMs cannot
access the Internet. The VMs running on the same host PC and using
the same host-only method can access each other’s services.
Strategies for Performance Improvement
of Virtualized Environment
• In multi-core machines, the VMM/ Hypervisor can schedule the
different VMs to run on separate cores so that there is minimal
intervention from the VMM to access hardware resources that are
dedicated to each of the cores.
• Computation-intensive and real-time VMs could be assigned multiple
cores where as more user-interactive general purpose OS could be
assigned fewer cores. Virtualization with Quad-Core Processor
General Purpose
Real-time OS
OS
Strategies for Performance Improvement
of Virtualized Environment
• Partitioning of Resources across VMs: If we know that certain devices
are to be exclusively used for specific OSs, then it is better to statically
set access permissions to these resources at the VMM and all it has to
worry about at run-time is to check whether the access request for a
specific resource is coming from the appropriate VM.