Displaying 2 results from an estimated 2 matches for "pcpu_stolen".
2009 Mar 06
1
Process accounting in interrupt diabled cases
...The total process time accounted by the system on a cpu ( system, idle,
wait and etc) when deducted from the amount TSC counter has advanced
since boot, should give us this info about the cputime stolen from the
kernel (by either hypervisor or other cases like say, SMI) on a
particular CPU.
i.e. PCPU_STOLEN = (TSC since boot) - (PCPU-idle + system + wait + ...)
But for this to work the above problem about process accounting in
interrupt disabled cases need to work correctly.
Let me know if I overlooking any case where the above assumption might
not hold true.
Thanks,
Alok
2009 Mar 06
1
Process accounting in interrupt diabled cases
...The total process time accounted by the system on a cpu ( system, idle,
wait and etc) when deducted from the amount TSC counter has advanced
since boot, should give us this info about the cputime stolen from the
kernel (by either hypervisor or other cases like say, SMI) on a
particular CPU.
i.e. PCPU_STOLEN = (TSC since boot) - (PCPU-idle + system + wait + ...)
But for this to work the above problem about process accounting in
interrupt disabled cases need to work correctly.
Let me know if I overlooking any case where the above assumption might
not hold true.
Thanks,
Alok