All of lore.kernel.org
 help / color / mirror / Atom feed
* Need Information
@ 2021-10-08 14:09 Y.G Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Y.G Kumar @ 2021-10-08 14:09 UTC (permalink / raw)
  To: kvm

Hi,

I am trying to understand the concept of cpu steal time. I have a few
questions about it.

According to the link
https://scoutapm.com/blog/understanding-cpu-steal-time-when-should-you-be-worried
 , it is defined as follows:

"Steal time is the percentage of time a virtual CPU waits for a real
CPU while the hypervisor is servicing another virtual processor."

I have two questions regarding that.

1. What do we mean by "percentage of time" ? Which time is it alluding
to ? Is it the "cpu time" allocated by the scheduler to that kvm
process ? Or, is it the general waiting time that vcpu process has to
wait in the run queue before getting the cpu for execution ? If this
is true, then it is normal for that vcpu process like any other
process on the system to wait in the runqueue. Then what is this fuss
about ?

2. How can we read this steal time ? Can we see it from within the vm
and from the hypervisor host also ?  If so, how ?  Does this mean that
we cant see the "st" field if we execute the top command on a server
without any hypervisor ? Please explain.

Thanks
Kumar

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Need information
@ 2023-11-14 13:52 Y.G Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Y.G Kumar @ 2023-11-14 13:52 UTC (permalink / raw)
  To: kvm

Hi All,

Is there a way to collect cpu steal time metrics of a kvm-qemu virtual
machine from the hypervisor on which the vm is running ? Please give
me some opinions ..

Thanks
Y.G

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-14 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08 14:09 Need Information Y.G Kumar
2023-11-14 13:52 Need information Y.G Kumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.