Unit-I Part-II Virtualization
Unit-I Part-II Virtualization
https://www.techtarget.com/searchitoperations/definition/
virtual-to-physical-V2P
Virtualization at ISA (Instruction Set Architecture) level:
• The idea is to virtualize a computer’s resources, such as its processors, memory, and I/O
devices.
• The intention is to upgrade the hardware utilization rate by multiple users concurrently.
Advantage:
Full virtualization
• Does not need to modify guest OS, and critical instructions are
emulated by software through the use of binary translation.
• VMware Workstation applies full virtualization, which uses
binary translation to automatically modify x86 software on-the-
fly to replace critical instructions.
• Advantage: no need to modify OS.
• Disadvantage: binary translation slows down the performance.
Para virtualization
• Reduces the overhead, but cost of maintaining a
paravirtualized OS is high.
• The improvement depends on the workload.
• Para virtualization must modify guest OS, non-virtualizable
instructions are replaced by hypercalls that communicate
directly with the hypervisor or VMM.
• Para virtualization is supported by Xen, Denali and VMware
ESX.
Some more examples of full and para virtualization>>>> next few
slides…
Full Virtualization
Binary Translation of Guest OS Requests
using a VMM:
Para-Virtualization with Compiler
Support.
• Figure 3.16 Four VCPUs are exposed to the software, only three cores are actually present.
VCPUs V0, V1, and V3 have been transparently migrated, while VCPU V2 has been transparently
suspended. (Courtesy of Wells, et al., “Dynamic Heterogeneity and the Need for Multicore
Virtualization”, ACM SIGOPS Operating Systems Review, ACM Press, 2009 [68] )
Software visible VCPU moving from one core to another and temporarily suspending execution of a VCPU when
there are no appropriate cores in which it can run.
Virtual Cores vs. Physical
Processor Cores
Physical cores Virtual cores
The actual physical cores present There can be more virtual cores
in the processor. visible to a single OS than there
are physical cores.
More burden on the software to Design of software becomes easier
write applications which can run as the hardware assists the
directly on the cores. software in dynamic resource
utilization.
Hardware provides no assistance to Hardware provides assistance to
the software and is hence simpler. the software and is hence more
complex.
Poor resource management. Better resource management.
The lowest level of system software The lowest level of system software
What is virtual cluster in CC
• Virtual cluster are built with the VM’s installed at distributed servers
from one or more physical clusters. The VM’s in a virtual cluster are
interconnected logically by a virtual network across several physical
networks.
• Each virtual cluster is formed with physical cluster .It is formed with
physical machines or the VM hosted by multiple physical clusters.
• (diagram…………next page………….)
Virtual Clusters in Many Cores
Space Sharing of VMs -- Virtual Hierarchy
Virtual Cluster Characteristics
• The virtual cluster nodes can be either physical or virtual
machines. Multiple VMs running with different OSs can be
network.
• The failure of any physical nodes may disable some VMs installed on the failing
nodes. But the failure of VMs will not pull down the host system.
Virtual Clusters vs. Physical
Clusters
Live Migration of Virtual Machines