How virtual servers share hardware
Several virtual servers run on one physical host, and the hypervisor decides which of them gets a CPU thread at any moment. Memory is reserved per server, while CPU time, disk bandwidth and the network link are shared resources that the host divides. Knowing how that works explains numbers like CPU steal and helps you choose between shared and dedicated vCPU plans.
Servers and storage guide, updated 2026-12-03
What does a hypervisor actually do?
The hypervisor sits between the hardware and the virtual machines. With KVM, each virtual machine is a normal Linux process on the host, and each of its vCPUs is a thread inside that process. The host kernel scheduler gives those threads time on the physical cores just as it would for any program, while the CPU virtualization extensions keep guest code isolated.
The same host also handles disk requests and network packets from every guest, passing them through paravirtual drivers (virtio) to the real NVMe drives and network cards. All of that is invisible from inside your server until the host gets busy, which is when the following sections become useful.
How are vCPUs scheduled?
A vCPU only runs when the host gives it a physical thread. When your server is idle, its vCPU threads sleep and use nothing. When it needs CPU, the host scheduler picks a free thread. On a quiet host that happens instantly. When many guests want CPU at the same time, threads wait in a queue for a short moment.
Shared plans rely on the fact that most servers are idle most of the time: web servers, bots and small apps have short bursts with long pauses in between. That pattern lets the host offer more vCPUs in total than it has threads, which is how shared plans stay cheap.
What is CPU steal and how do you see it?
Steal time is the share of time your vCPU was ready to run but the host was running something else. The guest kernel counts it and shows it in standard tools. In top, the CPU line ends with st:
%Cpu(s): 12.0 us, 2.1 sy, 0.0 ni, 84.9 id, 0.2 wa, 0.0 hi, 0.1 si, 0.7 stFor a trend, use vmstat with an interval:
vmstat 5 12The last column, st, is steal in percent for each 5-second sample. For per-vCPU detail install sysstat and run mpstat -P ALL 5, which shows a %steal column. Small single-digit values now and then are normal on shared vCPU. Steal that stays high while your own load is high means your workload needs more CPU than a shared plan can promise.
What is a noisy neighbour?
A noisy neighbour is another guest on the same host that uses a large share of a shared resource for a long time: constant CPU, heavy disk writes or a flood of network traffic. The host limits each guest, so a neighbour cannot take everything, but on shared vCPU you may notice longer waits while it is busy.
Signs on your side: rising st without any change in your own load, or disk latency (await in iostat -x 5) that jumps while your own I/O stays flat. Note the times, collect a few samples and send them in a ticket via support; concrete numbers are far more useful than "the server feels slow".
How do shared and dedicated threads differ?
| Plan family | vCPU type | Best for |
|---|---|---|
| Shared, Performance, Arm | Threads from a shared pool | Bursty work: websites, APIs, bots, small Docker hosts |
| Dedicated CPU | Threads reserved for your server | Constant load: databases, builds, encoding, busy game servers |
With Dedicated CPU, your vCPUs map to threads that no other customer uses, so steal should stay close to zero even when your server runs at full load all day. Example: D16 offers 4 vCPU, 16 GB RAM, 160 GB NVMe for $51.95. With shared plans you pay less per vCPU and still get strong burst speed, for instance P4 at $12.05 with 2 vCPU, 4 GB RAM, 80 GB NVMe.
Is memory shared too?
No. The RAM in your plan is reserved for your server. Another guest cannot borrow it, and your server does not slow down because a neighbour uses a lot of memory. Inside the guest, free -h shows the full amount, and Linux uses spare memory as page cache, so "available" is the number to watch, not "free".
When your own applications need more than the plan holds, the kernel starts swapping or the out-of-memory killer ends a process. A small swap file softens short peaks; see swap and memory. A larger plan is the real fix.
How are disk and network shared?
Each host has local NVMe drives that serve all its guests. NVMe handles many parallel requests very well, and the host applies limits so one guest cannot saturate the drives. In practice small random reads and writes stay fast; very long sustained writes are where sharing shows first.
The network link of the host is shared the same way. Your included outgoing traffic, 20 TB for P4 in Europe, is a monthly volume, not a speed figure. DDoS filtering runs in front of every address, which protects the host and its neighbours as well as you.
What is live migration?
Live migration is a hypervisor technique that copies a running virtual machine from one host to another: memory pages are copied while the guest keeps running, then the guest pauses very briefly while the last changed pages and the device state move across. Providers in general use it for hardware maintenance, so a guest can leave a host that needs work without a reboot.
From inside, a migration may show as a short pause or a jump in the clock that chrony or systemd-timesyncd then corrects. Do not design your service around it either way. If an application must survive a host failure, run two servers in different cities, as explained in spreading servers for uptime.
How do you measure your own server fairly?
Test with the same tool, at several times of day, and compare against your own earlier numbers rather than numbers from a blog. For CPU, sysbench is simple:
apt install sysbench
sysbench cpu --threads=1 --time=30 run
sysbench cpu --threads="$(nproc)" --time=30 runRead events per second. The single-thread figure tells you about per-request speed, the full-thread figure about total capacity.
For disk, use fio against a test file, never against the raw device, because writing to /dev/sda destroys your data:
apt install fio
fio --name=randrw --filename=/root/fio.test --size=1G --rw=randrw --bs=4k --iodepth=32 --ioengine=libaio --direct=1 --runtime=30 --time_based --group_reporting
rm /root/fio.testKeep tests short. Long, heavy benchmarks load the shared host and do not tell you more than a 30-second run does.
Questions about this guide
How much steal is too much?
There is no single limit. Occasional low values are normal on shared vCPU. If steal stays high for long periods while your service is busy, move CPU-heavy work to a Dedicated CPU plan.
Does a bigger shared plan reduce steal?
It gives you more vCPUs, which helps parallel work, but the vCPUs still come from a shared pool. For steady full load, Dedicated CPU is the better match.
Can a neighbour read my memory or disk?
No. KVM isolates guests, memory is reserved per server, and disk space is assigned per server. Keep your kernel updated so guest-side mitigations stay current.
Why does my benchmark differ from yesterday?
Shared resources vary with host load. Run the same test several times at different hours and use the median.
Will my server be moved between hosts?
Maintenance practices are on our side. Build important services so that one server can be lost without downtime, by running a second copy in another city.
Which plan suits a database with steady load?
A Dedicated CPU plan such as D8 with 2 vCPU, 8 GB RAM, 80 GB NVMe. See also databases on a VPS.