lkml.org 
[lkml]   [2004]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] cputime: introduce cputime.
On Wed, 27 Oct 2004, Martin Schwidefsky wrote:

> The third thing that gets introduced by this patch is an additional field
> for the /proc/stat interface: cpu steal time. An architecture can account
> cpu steal time by calls to the account_stealtime function. The cpu
> which backs a virtual processor doesn't spent all of its time for the
> virtual cpu. To get meaningful cpu usage numbers this involuntary wait
> time needs to be accounted and exported to user space.

This will be useful for User Mode Linux, Xen and iSeries too.

I suspect we'll also want to report hypervisor wait time in
/proc/stat, so we can see how much time our guest is really
getting...

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.047 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site