Resources·Glossary

KVM (Kernel-based Virtual Machine)

What KVM means in the context of VPS hosting. Linux's built-in hardware virtualization layer, why it gives you a 'real' server rather than a container, and how it compares to OpenVZ, LXC, and VMware.

By RareCloud Team · 4 min read · 20 May 2026 · Updated 8 Oct 2026

KVM stands for Kernel-based Virtual Machine. It's Linux's built-in hardware virtualization layer, a part of the kernel that lets you run full virtual machines, each with their own kernel and operating system, on a single physical host.

When a VPS provider says their service is "KVM-based," they mean each customer's VPS is a full virtual machine. You get:

  • A real virtualized Linux (or Windows) kernel, you can swap it, recompile it, load custom modules.
  • Allocated RAM and virtual CPUs of your own: the listed memory is reserved for your VM, and the host schedules your vCPUs alongside other guests.
  • Real virtualized network interfaces, you can run anything that talks to a network card, including odd protocols and userspace networking.
  • Real virtualized disks, formattable, partitionable, you can install whatever filesystem you want.

The trade-off versus container-based virtualization (OpenVZ, LXC): KVM uses more RAM per VM (the guest kernel itself takes ~100 MB) and starts slower (seconds vs milliseconds). For a long-running VPS that you treat as "your server," this is invisible, you boot it once.

How it compares to other virtualization types

TypeIsolationPerformance overheadOS flexibilityCommon use
KVM (full virt)StrongLow (hardware-assisted)Any OSVPS hosting, dev VMs
OpenVZ (container)Weak (shared kernel)Near-zeroLinux only, fixed kernelBudget VPS
LXC / Docker (container)Weak (shared kernel)Near-zeroLinux only, fixed kernelApp packaging
VMware ESXi (full virt)StrongLowAny OSEnterprise data center
Hyper-V (full virt)StrongLowAny OSWindows-host data center

KVM is the default for modern Linux-host VPS providers because it gives the closest experience to a physical server while running well on commodity hardware.

Hardware acceleration

KVM requires CPU virtualization extensions. Intel VT-x or AMD-V, which all modern server CPUs have. This is what makes KVM "hardware-assisted" rather than software emulation (which would be slow). The host's kernel + the CPU instruction set together do the virtualization work; the result is a guest VM that runs at near-native speed for most workloads.

For CPU-bound workloads (compile jobs, video encoding) you'll see 1-5% overhead vs bare metal. For network or disk I/O, the overhead depends on the host's drivers and storage stack, modern KVM with VirtIO drivers is within a few percent of bare metal there too.

When you'd care

You care that your VPS is KVM-based when:

  • Running Docker. Docker on OpenVZ is restricted or impossible because OpenVZ's kernel doesn't support all the kernel namespaces Docker needs. KVM has no such restriction.
  • Installing custom software at the kernel level. WireGuard kernel module, ZFS, eBPF tooling, all need a real kernel you can modify.
  • Trusting the isolation. A bad neighbor's runaway process on KVM can't escape into your VM. On OpenVZ, theoretically possible (though rare).
  • Running an OS other than the host's. A Linux KVM host can run Windows guests, or Linux distributions different from its own.

For 95% of "I want to run a Linux web app" use cases, you wouldn't notice the difference until something needs kernel-level access, and then KVM is the only one that works.

At RareCloud

All RareCloud VPS plans (Core, Plus, Pro, Elite, etc.) are KVM-based. The proxy and residential IP products are different infrastructure entirely.

See also: What is a VPS.

Frequently Asked Questions

Does KVM mean I can run a different OS than the host?
Yes. KVM itself only runs on Linux hosts, but the guest is a full virtual machine, so it can run a different OS: Windows on a Linux host, or another Linux distribution with its own kernel. RareCloud runs KVM on Linux hosts and offers Linux images plus Windows VPS plans.
Is KVM faster than Docker?
Different category. KVM virtualizes a whole machine (its own kernel, its own boot sequence, its own everything). Docker shares the host's kernel and isolates only the userspace. Docker is faster to start (milliseconds vs seconds) and uses less RAM, but KVM gives stronger isolation and lets you run things Docker can't (custom kernel modules, alternative OSes, untrusted code with confidence).
Why is KVM-backed VPS more expensive than OpenVZ?
KVM allocates real RAM and CPU shares to each VM that the host can't reclaim opportunistically. OpenVZ shares everything at the kernel level, so providers can oversell more aggressively. That makes OpenVZ cheaper but means your '2 GB' might actually be 'up to 2 GB if no neighbor is using it.' KVM's price reflects real, isolated resources.

Related