Steal time monitoring

iwik

Active Member
Oct 7, 2021
75
16
28
43
"Steal time is the amount of CPU time needed by a guest virtual machine that is not provided by the host. Steal time occurs when the host allocates these resources elsewhere: for example, to another guest. "

It is possible to monitor steal time in guest, in case of linux using for example using "top" utility.
But my question is, how it is possible monitor this metric from host system (pve)? It is quite important metric when running more virtual machines, but I can not find any tool how measure it from kvm host.

More details about this metric (in vmware world called cpu ready) you can read here https://appuals.com/cpu-ready-silent-hypervisor-killer/
 
Found reddit thread about this, monitoring using htop:

Code:
#configure htop display for CPU stats
htop
(hit f2)
Display options > enable detailed CPU Time (system/IO-Wait/Hard-IRQ/Soft-IRQ/Steal/Guest)
select Screens -> main
available columns > select(f5) 'Percent_CPU_Delay" "Percent_IO_Delay" "Percent_Swap_De3lay?
(optional) Move(F7/F8) active columns as needed (I put CPU delay before CPU usage)
(optional) Display options > set update interval to 3.0 and highlight time to 10
F10 to save and exit back to stats screen
sort by CPUD% to show top PID held by CPU overcommit
F10 to save and exit htop to save the above changes

Source https://www.reddit.com/user/_--Jame...mox_cpu_delays_introduced_by_severe_cpu_over/
 
  • Like
Reactions: Onslow