troubleshooting Hosting
VPS CPU steal time and oversubscription
On a Linux VPS, steal is reported CPU scheduling wait, not guest work. Compare it with workload quota throttling over the same interval before attributing a slowdown to the host.
What it means
On a Linux VPS, steal time is CPU time the guest reports waiting involuntarily while the hypervisor runs other work. It is not time the guest spent executing. CPU quota throttling is different: runnable work in a control group can be held back because it has used its CPU allowance. To distinguish the two, look at guest CPU accounting and throttling evidence separately. High steal alone does not prove that the host is oversubscribed or identify a particular neighbor.
Try it
Simulation: Start with one interval of guest CPU time. The time bar shows 50% guest executing, 20% reported steal, and 30% other. Required scenario evidence is provided, and quota throttling evidence is absent. The result is steal: the guest reports involuntary scheduling wait during this interval.
VPS CPU steal time and oversubscription
Distinguish guest CPU busy, host scheduling delay and capped compute shares
Reported steal indicates involuntary guest scheduling wait, not guest work.
Quota observation
- Quota evidenceabsent
- Modeled inferencesteal
Shares use the same 100% reference. Quota evidence is separate; steal alone does not measure a specific workload’s queue.
Evaluated inputs
- Required scenario evidence
- provided
- Guest executing
- 50 %
- Reported steal
- 20 %
- Quota throttling evidence
- absent
Linux guest /proc/stat interval normalized to one total; quota evidence separate, no hypervisor inference or actual tuning.
About this model
The controls set only a local, bounded scenario. The computed branch is not a verdict about a live system. Inputs listed as not evaluated did not participate in this branch after validation.
Reset restores the original inputs. It does not change the open or closed state of help or FAQ answers.
- Change only
Quota throttling evidencetopresent. The result changes to both, but the bar stays at 50%, 20%, and 30%. You have added evidence that a CPU cap delayed work, not another slice of guest CPU time. - Leave that evidence present and change
Reported stealto 0%. The bar now shows 50% executing, 0% steal, and 50% other. Quota throttling is still observed; detecting it did not depend on seeing steal. - Use Reset to restore 50% executing, 20% steal, absent quota evidence, and provided scenario evidence.
The two percentages take whole numbers from 0 to 100. They share one total, so their sum cannot exceed 100%. An invalid entry is not rounded or interpreted as a measurement. The simulation uses synthetic values; it does not read your VPS.
Reading the two observations
The time bar answers “How did the guest account for this interval?” Its denominator is one total derived from Linux guest CPU accounting in /proc/stat. In the starting example, 50 out of every 100 units went to guest execution and 20 were reported as steal. That leaves 100 − 50 − 20 = 30 units. “Other” groups everything the example has not broken out; it does not mean 30% spare capacity.
The strip is an accounting partition, not a timeline that says the guest executed first and then waited. The model has no event order inside the interval. Read the percentages as shares of the same denominator.
The quota indicator answers a narrower question: “Was throttling observed for this workload’s control group?” On a system using cgroup v2, the group’s cpu.stat throttling counters are evidence of CPU bandwidth enforcement. A change in those counters tells you something a guest-wide steal percentage cannot. Conversely, when both signals are present, neither tells you how much of a slow request to attribute to each one. In particular, 20% steal is not a measurement of 20% of that request’s response time.
Missing evidence matters. With a valid time split, set quota evidence to unknown if you do not know whether throttling occurred. The 20% steal observation still stands; what you cannot conclude is that steal was the only constraint. That differs from 0% steal with quota evidence absent, where neither signal was observed. If the required scenario evidence itself is missing, there is no interval result to interpret at all.
In practice
If requests on a VPS slowed down, start with the time of the slowdown. Compare the change in the guest’s CPU counters between the start and end of that window with the change in throttling counters for the affected workload’s cgroup over the same window. A throttling count accumulated before the slowdown is not evidence that the workload hit a cap during it.
Use the difference to choose your next observation. If steal rose, you have guest-side evidence of scheduling wait. To assess oversubscription, you still need host-side allocation and scheduling evidence for that period; the guest cannot tell you who else was running. If throttling was observed, inspect which CPU allowance applied to the workload rather than treating the delay as stolen time. If neither was observed, keep the slowdown unexplained rather than declaring the host healthy.
Stop short of changing a quota or recommending a larger VM when the workload, interval, applicable configuration, or limiting resource is unknown. If later evidence justifies an authorized change, record the original setting and how to restore it first. Then retest the original symptom under comparable workload conditions. The decision should rest on what limited the workload, not on the size of a single counter.
Frequently asked questions
Editorial questions based on the listed sources and explicitly labeled local examples.
Does steal count as guest CPU work?
No. Steal represents time a virtual CPU could not run because the hypervisor was serving other work. It is not useful guest execution time.
Can quota hurt with zero steal?
Yes. CPU bandwidth enforcement can delay a runnable cgroup even if reported hypervisor steal is zero. Compare throttling counters separately from steal.
Does low steal prove host capacity?
No. Linux steal time is one virtualized CPU accounting observation; it is not a storage, queue or cgroup-limit measurement. In the example, these other causes are outside the evidence, so low steal cannot establish host headroom.
Which counter interval should be compared?
Use changes between the start and end of the same workload interval for guest CPU accounting and cgroup throttling. Do not compare a lifetime throttling total with a recent steal percentage: the observations would describe different periods.
Sources & model boundaries
Primary references used for this explanation. The interactive example is an educational model, not a live check.
- proc_stat(5)
steal. Steal is time spent in other operating systems in a virtualized environment.
Checked .
- Linux Control Group v2
cpu.stat. CPU controller usage and throttling statistics are distinct. These counters do not on their own establish hypervisor steal time or the cause of an observed slowdown.
Checked .