What is virtualization, explained from scratch
Published on 2026-09-12 by frfrand
How a physical machine becomes several: what a hypervisor does, the real difference between a virtual machine and a container, and why the cloud depends on this.

Short answer: Virtualization turns a physical machine into several independent ones. A hypervisor (KVM, Xen, ESXi, Hyper-V) distributes CPU, memory, and disks among virtual machines, each with its own kernel, and with almost no performance loss thanks to VT-x and AMD-V. A container, on the other hand, shares the host kernel and isolates with namespaces and cgroups: it starts in one second, but isolates less.
A modern physical server has dozens of cores and hundreds of gigabytes of memory. Dedicating it entirely to a small application is a huge waste.
Virtualization solves that: it turns a physical machine into several independent machines, each with its own operating system, its users, and its processes, without them seeing each other.
What a hypervisor does
The hypervisor is the piece that distributes. It sits between the hardware and the virtual machines, and gives each one the illusion of having its own processor, its memory, and its disks.
There are two types, and the distinction matters:
Type 1, or bare metal. Runs directly on the hardware, without an operating system underneath. KVM (which is part of the Linux kernel), Xen, VMware ESXi, Hyper-V. It is what large cloud providers use.
Type 2. Runs as a program within a normal operating system. VirtualBox, VMware Workstation. Convenient for testing on your machine, with more overhead.
Why it is not slow
The natural question is how a virtual machine can approach the performance of a physical one if there is a layer in between.
The answer is that almost all virtual machine code runs directly on the real processor, without translation. Modern processors come with specific instructions for this (VT-x on Intel, AMD-V on AMD) that allow the hypervisor to relinquish control and regain it only when necessary.
The hypervisor only intervenes in privileged operations: device access, memory management, interrupts. For everything else, the virtual machine uses the actual processor.
That is why CPU overhead is just a few percentage points. Where it is noticeable is in input and output, although there are solutions for that too (virtio, and passing devices directly).
Containers: the other way
A container does not virtualize hardware: it shares the host system's kernel and isolates everything else.
Specifically, it uses two Linux kernel functions:
- Namespaces: the process sees only its own processes, its network, its file system. What exists outside, for it, does not exist.
- cgroups: limits on how much CPU, memory, and input/output it can consume.
The practical consequence: a container starts in one second and weighs megabytes, because it does not have to boot an entire operating system. A virtual machine takes tens of seconds and occupies gigabytes.
When to use each one
The difference that matters most is isolation. A virtual machine has its own kernel; a container shares the host's kernel. If a kernel escape vulnerability appears, the container is much closer to the real system.
That's why:
- Different clients, or workloads you don't trust → virtual machines.
- Multiple services from the same application, that already trust each other → containers.
And they are combined all the time: cloud providers give you a virtual machine, and you run containers inside it. ArduMaker uses a variant of that scheme: each VPS is not a virtual machine but an unprivileged LXD system container, with its own Ubuntu, its users, and its CPU and memory limits, sharing the physical host's kernel. Inside you can install Docker from the panel and run your application containers.
What made it possible
It's worth sizing it up: without virtualization, the cloud as we know it would not exist.
Being able to create a server in thirty seconds, destroy it when you no longer need it, pay by the hour, clone it, move it to another physical machine without shutting it down. All of that are properties of a virtual machine, impossible with dedicated hardware.
The snapshot is another example: saving the complete state of a machine (memory included) and returning to it. It is virtually free with a VM and has no physical equivalent.
What this means when hiring a VPS
When you choose a VPS at ArduMaker, you hire resources from an isolated environment that runs on physical infrastructure. You do not need to buy a machine for each project. Even so, a VPS does not imply unlimited resources or unrestricted access to the hardware; performance depends on the plan and the host system. And since at ArduMaker each VPS is a container that shares the host kernel, you cannot load kernel modules or change its version.
A simple test is to install a small API, measure its memory, and check how it responds while running an additional task. Understanding isolation and limits avoids diagnosing as a "network failure" a problem that is actually resource saturation.
Frequently asked questions
What is a hypervisor? The software that distributes hardware among virtual machines. Type 1 runs directly on the hardware (KVM, Xen, ESXi, Hyper-V); type 2, like a program within another operating system (VirtualBox, VMware Workstation).
Is a virtual machine slower than a physical one? In CPU, just a few percentage points, because the code runs directly on the processor. The difference is more noticeable in input and output.
Is a container a virtual machine? No. It shares the host kernel and isolates with namespaces and cgroups; a virtual machine has its own kernel.
Is a VPS a virtual machine? It depends on the provider: it can be a virtual machine (for example, with KVM) or a system container (LXC/LXD). At ArduMaker it is an LXD container.
Related: LXC vs Docker vs VM · What is a vCPU.