Virtualization Concepts

Virtualization lets one physical machine run many isolated virtual machines via a hypervisor; type-1 hypervisors run on bare metal for efficiency, while containers offer lighter isolation by sharing the host kernel.

Key formulas & points

Skim these first — then read the full notes below.

  • Full virtualisation, paravirtualisation and containers differ in isolation
  • Containers share the host kernel; VMs isolate a full OS
  • vCPU scheduling multiplexes physical cores

Topic details

Introduction

This topic covers the foundation of cloud computing. You compare type-1 and type-2 hypervisors, distinguish virtual machines from containers, understand resource multiplexing and oversubscription, and see how virtualization enables elastic, multi-tenant infrastructure.

Key relations & formulas

Formulas (Indian textbook notation)

  • Type1hypervisorrunsonbaremetal(ESXi,HyperV)Type-1 hypervisor runs on bare metal (ESXi, Hyper-V)

Formulas (Indian textbook notation)

  • Type2hypervisorrunsonahostOS(VirtualBox)Type-2 hypervisor runs on a host OS (VirtualBox)

Formulas (Indian textbook notation)

  • VMdensitylimitedbyCPU,RAMandIOoversubscriptionVM density limited by CPU, RAM and \frac{I}{O} oversubscription

Notation and sign conventions

Relation 1 —
Type1hypervisorrunsonbaremetalType-1 hypervisor runs on bare metal

Formulas (Indian textbook notation)

  • Type1hypervisorrunsonbaremetal(ESXi,HyperV)Type-1 hypervisor runs on bare metal (ESXi, Hyper-V)
Write this relation with symbols exactly as in Rajaraman Cloud — Standard reference before substituting numbers. Examiners award partial marks for a correct setup even when arithmetic slips.
Relation 2 —
Type2hypervisorrunsonahostOSType-2 hypervisor runs on a host OS

Formulas (Indian textbook notation)

  • Type2hypervisorrunsonahostOS(VirtualBox)Type-2 hypervisor runs on a host OS (VirtualBox)
Write this relation with symbols exactly as in Rajaraman Cloud — Standard reference before substituting numbers. Examiners award partial marks for a correct setup even when arithmetic slips.
Relation 3 —
VMdensitylimitedbyCPU,RAMandIOoversubscriptionVM density limited by CPU, RAM and \frac{I}{O} oversubscription

Formulas (Indian textbook notation)

  • VMdensitylimitedbyCPU,RAMandIOoversubscriptionVM density limited by CPU, RAM and \frac{I}{O} oversubscription
Write this relation with symbols exactly as in Rajaraman Cloud — Standard reference before substituting numbers. Examiners award partial marks for a correct setup even when arithmetic slips.

Concept in depth

Virtualization decouples software from hardware by inserting a hypervisor that presents each guest with virtual CPU, memory and devices, so many isolated machines share one physical server and utilisation rises. Type-1 hypervisors run directly on hardware for minimal overhead in data centres, while type-2 run atop a host OS for convenience on desktops. VMs isolate a complete guest OS, which is strong but heavy; containers instead share the host kernel and isolate only at the process level, so they start in seconds and pack far more densely — at the cost of weaker isolation and OS uniformity. Because resources are oversubscribed, the scheduler multiplexes virtual CPUs onto real cores, and density is bounded by contention.

Assumptions and validity limits

State assumptions explicitly before using any relation for virtualization concepts — steady state, uniform properties, linear elastic material, ideal gas, incompressible flow, etc., as applicable.
Wrong assumptions invalidate the entire solution even when the formula is correct. In Cloud Computing viva and GATE descriptive questions, listing valid assumptions often earns separate marks.

Step-by-step problem approach

1. Read the question and list given data with SI units (common in Cloud Computing papers).
2. Draw a neat labelled diagram where applicable — examiners in Indian universities award diagram marks even when arithmetic slips.
3. Identify which relation from this topic applies to virtualization concepts.
4. Use equation 1:
Type1hypervisorrunsonbaremetalType-1 hypervisor runs on bare metal
.
5. Use equation 2:
Type2hypervisorrunsonahostOSType-2 hypervisor runs on a host OS
.
6. Substitute values, compute, and verify units and sign (direction).
7. State conclusion in one line — e.g. safe/unsafe, stable/unstable, feasible/infeasible.

Applications & exam relevance

Virtualization Concepts appears in SaaS/PaaS deployments. In Indian it software curricula this topic is tested because it connects theory to virtualization and cloud service models.
GATE and semester exams often combine virtualization concepts with earlier units — revise prerequisites before attempting mixed problems.
Industry interview panels sometimes ask: "Where did you use virtualization concepts?" — answer with a lab, mini-project, or plant visit example if possible.

Common mistakes in exams

Students think containers run their own kernel (they share the host’s), confuse type-1 with type-2 hypervisors, and assume VMs and containers offer equal isolation. Overlooking oversubscription limits when estimating VM density is a practical error.

Quick revision checklist

Before attempting virtualization concepts problems, confirm you can:
1. Full virtualisation, paravirtualisation and containers differ in isolation
2. Containers share the host kernel; VMs isolate a full OS
3. vCPU scheduling multiplexes physical cores
Revise the solved examples in Rajaraman Cloud — Standard reference and one previous-year GATE or university paper for this unit.

Worked examples

Try the problem first — open the solution when you are ready to check.

VM versus container choice

Problem

A team needs to pack hundreds of short-lived microservice instances with fast startup on identical Linux. VMs or containers?

Solution

Containers: sharing the host kernel gives second-scale startup and high density for identical-OS workloads, whereas full VMs would add per-instance OS overhead and slower boot for no isolation benefit here.

Conceptual check — Virtualization Concepts

Problem

In a Cloud Computing semester or GATE paper you are asked: "State the main assumption, the governing relation, and one practical consequence of virtualization concepts." What should a complete answer include?

📖 Standard books (India)

  • Rajaraman CloudStandard reference

    Read: Syllabus unit

    Referenced in Indian B.Tech syllabus