Test Flashcards
What is Virtualization in cloud computing?
An ability to run multiple (Virtual) OSes on a single physical system and share underlying HW resources
What are the Benefits of virtualization?
Run multiple/different OSes on a single machine
2. Consolidate underutilized servers to reduce CAPEX and
OPEX
3. Simplified management (rebalancing workloads)
4. Improved availability
5. Enforced security
What is a Hypervisor?
A virtual machine monitor creates and runs virtual machines
What is a Virtual Machine?
The virtualization or emulation of a computer system
What is Full Virualization?
A full virtualization of a computer
What is Paravirtualization?
Hypervisor enables virtual machine that are similar but not 100% identical to physical HW
What is OS-Level Virtualization?
An operating system virtualization paradigm in which the kernel allows the existence of multiple isolated user space instances, called containers, zones, virtual private servers, partitions, virtual environments, virtual kernels, or jails.
What is Application-Level Virtualization?
Abstracting an app from the underlying hardware it is running on
What are the Key Techniques in Full Virtualization?
Trap and Emulate
Binary Translation
What is Trap and Emulate?
Running a VM in two states, a User State and Kernel state, when a privileged instruction occurs there is a switch between the user state and kernel state by the hypervisor
What is the 4 steps in trap and emulate?
1 Privileged Instruction in user mode causes an error
2 Hypervisor gains control, executes operation as attempted by guest OS
3 Return control to guest OS in user mode
4 Call this Trap and emulate
Does trap and emulate has the same speed of execution with full virtualization?
No
What is a critical instruction?
A sensitive but non-privileged instruction
What is sensitive instruction?
Instructions that interact with hardware
What is non-sensitive instructions?
All other instructions
What is an example of a critical instruction?
File Writing
What is the purpose of Binary Translation?
To skip or modify the guest OS binary code blocks which include critical instructions and translate those critical instructions into privileged instructions which will be trapped by the Hypervisor for further emulation
What is Para-Virulization?
Similar the to Virtualization but it enables virtual machine that are similar but not 100% identical to physical HW
Does Para-Virtualization require OS modification?
Yes
Does Para-Virtualization require modification to the ABI?
No
What are the Pros of Full Virulization?
No Source Code Modification
Easy
What are the Cons of Full Virtulization?
Latency from OS/HW emulation
Hard to provide real-time guarantee
Latency to RAM (25%-75%) DISKIO (2%-20%) NETIO (10%) and CPU (7%)
What are the Pros of Para-virtualization?
Performance, Fast, Feasible for All CPU Architectures
What are the Cons of Para-virtualization?
OS Modification
Poor Portability
Precludes off the self OS and legacy version of OS