Re: Steal time in KVM

2012-10-08 Thread Abhishek Gupta
Yes, that is in the host, but in the guest I always see "steal time" =0. I checked through /proc/stat, mpstat, top, vmstat. Not sure, why the steal time information is not getting propagated to the guest. Thanks, Abhishek On Mon, Oct 8, 2012 at 3:02 PM, Marcelo Tosatti wrote: > On Mon, Oct 08,

Re: Steal time in KVM

2012-10-08 Thread Marcelo Tosatti
On Mon, Oct 08, 2012 at 02:47:59PM -0500, Abhishek Gupta wrote: > I think this flag is enabled since I see that there is some information > > cat /proc/schedstat This is in the host? Then, yes, the host has schedstat enabled. Definition of steal time: the amount of time in which this vCPU did no

Re: Steal time in KVM

2012-10-08 Thread Abhishek Gupta
I think this flag is enabled since I see that there is some information cat /proc/schedstat version 15 timestamp 4332448322 cpu0 12 0 65142011 32031105 32750248 22717261 2447620065997 58787405876 32964108 domain0 ,,,,,,,0005 3254935 3249

Re: Steal time in KVM

2012-10-08 Thread Abhishek Gupta
Thanks for the answer. I am more of an application user. Is there a quick way to check this flag and enable it if its disabled? Abhishek On Mon, Oct 8, 2012 at 2:39 PM, Marcelo Tosatti wrote: > On Mon, Oct 08, 2012 at 02:55:25AM -0500, Abhishek Gupta wrote: >> Hi, >> >> I am trying to get the st

Re: Steal time in KVM

2012-10-08 Thread Marcelo Tosatti
On Mon, Oct 08, 2012 at 02:55:25AM -0500, Abhishek Gupta wrote: > Hi, > > I am trying to get the steal time with 2 VMs (each with 1 Vcpu) pinned > to same core. > > While finding documentation on this, I came across your patches and > posts related to the implementation of this feature, so I thou