On this pageOne host, one hypervisor, many guests
A VPS behaves like a computer, but it is really a set of allocations on a host machine that other tenants share. Knowing which parts are carved out for you, which are shared and which are emulated explains most of the odd things a VPS does: why "4 vCPU" means different things on different platforms, why your disk is called /dev/vda, and why a busy neighbor can show up in your graphs. This guide follows one physical host as a provider turns it into many servers, then shows how to read the result from inside your own.
One host, one hypervisor, many guests
The host is an ordinary server with many CPU cores, a lot of RAM, NVMe drives and fast network cards. On a typical VPS platform the hypervisor is KVM, a kernel module merged into Linux 2.6.20 in February 2007. KVM uses the processor's virtualization extensions (AMD-V or Intel VT-x) so guest code runs directly on the CPU instead of being translated. A second hardware feature, second-level address translation (AMD calls it NPT or RVI, Intel calls it EPT), lets the guest manage its own page tables while the CPU maps them onto host memory.
KVM does not draw the virtual machine by itself. QEMU, a user-space program, supplies the virtual hardware: disks, network cards, display and firmware. Above both sits an orchestration layer that turns "deploy a 4 GB plan" into a running VM.
| Layer | Its job | Where you notice it |
|---|---|---|
| CPU extensions | Run guest code natively, isolate memory | Speed close to bare metal for most code |
| KVM (host kernel) | Schedule vCPUs, map guest memory | Steal time, kvm-clock |
| QEMU device model | Provide disks, NICs, firmware | virtio devices, the CPU model shown |
| Orchestration | Place VMs, set limits, attach IPs | Plan sizes, I/O caps, deploy time |
CPU: a vCPU is a thread
Scheduling and hyperthreads
Each vCPU in your server is a thread of the QEMU process on the host, and the host kernel schedules it like any other thread. Modern server CPUs run two hardware threads per core (SMT), and a vCPU usually maps to one of those threads, which is roughly half a physical core. On shared plans the host may carry more vCPUs than hardware threads, betting that most guests are idle most of the time. Dedicated-CPU plans reserve a hardware thread for each vCPU, often by pinning, so the scheduler does not hand your slot to someone else.
Steal time
When your vCPU is ready to run but the host is busy running another guest, the guest kernel counts the wait as steal time: the st column in vmstat and %st in top. Brief spikes are normal on shared hosts; steal that stays high while your own load is steady points at a crowded host.
Memory: reserved or promised
Guest RAM is ordinary host memory handed to the QEMU process, and thanks to second-level translation the guest reads and writes it at full speed. The question is whether that memory is reserved for you or promised to several guests at once. Hosts have three tools for stretching it:
- Ballooning. A
virtio_balloondriver inside the guest lets the host ask for memory back. Seeing the module loaded only means the host can ask, not that it does. - Kernel samepage merging (KSM). Added in Linux 2.6.32 and originally built for KVM, it merges identical memory pages between guests. It stays off until an administrator or a tuning service switches it on.
- Host swap. The last resort, and the one that hurts: guest memory that lives on the host's disk is slow, and the guest cannot see why.
On a plan with reserved memory none of this touches you. On an oversold host, memory pressure looks like random slowness that free -h inside your VM cannot explain.
Storage: from NVMe to /dev/vda
The host keeps each VM disk as a file (raw or qcow2), a logical volume, or a volume on a networked storage cluster. Raw files are simple and fast. qcow2 adds copy-on-write snapshots and thin provisioning, so a 100 GB disk only occupies what the guest has written.
Inside the guest, the disk appears as a paravirtualized device: virtio-blk shows up as /dev/vda, virtio-scsi as /dev/sda. The guest driver knows it is talking to a hypervisor, which avoids the cost of imitating a real disk controller. Many platforms also cap IOPS or throughput per VM so one tenant cannot saturate a shared drive, and a disk benchmark often measures that cap rather than the NVMe underneath. Local NVMe gives the lowest latency. Network storage is slower per operation but survives a host failure and makes live migration easy.
Network: a virtual switch and virtio-net
Each VM gets a TAP device on the host, plugged into a Linux bridge or Open vSwitch that leads to the physical network card. The guest sees a virtio-net NIC, and the host usually runs vhost-net, which moves the packet path into the host kernel and skips a trip through QEMU. Per-VM rate limits sit at this layer. DDoS filtering normally happens further upstream, before traffic reaches the host at all.
Passthrough and nested virtualization
Some hardware is too valuable to emulate. With the IOMMU (AMD-Vi or Intel VT-d) and the kernel's VFIO framework, a host can hand a whole PCIe device, typically a GPU, to one VM. The guest's own driver then programs the card directly, which keeps performance close to bare metal, but the device belongs to that VM alone and live migration becomes impractical. The trade-offs for GPUs are covered in shared, passthrough or bare-metal GPU.
Nested virtualization goes the other way: the host (L0) exposes AMD-V or VT-x to your VPS (L1), which can then run VMs of its own (L2). KVM has enabled nested support by default since Linux 4.20, but each provider decides whether guests receive the extensions. It is what makes an Android emulator on a VPS or a Proxmox lab possible. Every CloudSat server is a KVM guest on AMD EPYC (Cloud VPS) or AMD Ryzen at 4.2 GHz or more (High Frequency), with DDR5 memory and NVMe storage; see KVM virtual servers. Nested virtualization can be added on plans with 8 GB of memory or more for 11% on top of the plan price.
Look under the hood from inside your VPS
You cannot see the host, but the guest leaves clues:
systemd-detect-virt # "kvm" on a KVM guest
lscpu | grep -E 'Model name|Hypervisor vendor|Virtualization type'
cat /sys/devices/system/clocksource/clocksource0/current_clocksource
lsblk -d -o NAME,SIZE,TYPE # vda = virtio-blk, sda = virtio-scsi or emulated
ip -br link # find the interface name first
ethtool -i eth0 | head -1 # "driver: virtio_net"; use your interface name
grep -cE 'svm|vmx' /proc/cpuinfo # more than 0 = nested virtualization exposed
vmstat 1 5 # watch the "st" column
lscpu | grep Vulnerab # CPU side-channel mitigations in use
A kvm-clock clocksource means the hypervisor supplies a paravirtual clock, and Virtualization type: full confirms hardware virtualization rather than a container. If the svm or vmx count is zero, the provider has not passed the extensions through, and nothing inside the guest can change that.
VMs, containers and microVMs
A single VPS can involve two of these at once.
| Type | Kernel | Isolation boundary | Typical use |
|---|---|---|---|
| Virtual machine | Its own | Hardware virtualization | A VPS, a Windows server |
| Container | Shared with its host | Namespaces and cgroups | Apps inside your VPS |
| MicroVM | Its own, minimal | KVM with a tiny device model | Short-lived functions, sandboxes |
When you run Docker on a VPS you get a container inside a VM: no nested virtualization needed, because containers only share the guest's kernel. MicroVM tools such as Firecracker also sit on KVM, which is why they need /dev/kvm and therefore nested virtualization when they run inside a VPS.
FAQ
Is steal time a reason to change plans?
Only when it is sustained. Run vmstat 1 60 during your busy hour a few times. If st stays well above zero while your workload is unchanged, a plan with dedicated vCPUs or a different host will help more than extra cores on the same host.
Can other tenants on the host see my data?
Not through normal means: hardware virtualization keeps each guest's memory mapped separately, and disks are separate volumes. The residual risks are CPU side-channel attacks, which microcode and kernel mitigations address (see lscpu), and the provider's own access to the host. Encrypt data that must stay private even from the host operator.
Why does lscpu show a different CPU than I expected?
The hypervisor decides which model and flags to expose. A generic model keeps live migration possible across hardware generations. The flags matter more than the name: check that the instruction sets your software needs, such as AVX2, are listed.
Do I need nested virtualization to run Docker?
No. Docker and Podman use containers, which run on any KVM guest. You need nested virtualization only for real VMs inside your server: KVM guests, Proxmox, Hyper-V, Firecracker or an Android emulator.
Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.




