Subject: Re: user profiling improvements
To: Jason R Thorpe <thorpej@zembu.com>
From: Eduardo Horvath <eeh@turbolinux.com>
List: tech-kern
Date: 08/11/2000 09:35:23
On Fri, 11 Aug 2000, Jason R Thorpe wrote:

> On Fri, Aug 11, 2000 at 09:13:28AM -0700, Eduardo Horvath wrote:
> 
>  > > 2. Count time spent sleeping, waiting to be woken up, against the user's
>  > > last PC before entering the kernel and increment for the full time spent
>  > > sleeping.
>  > 
>  > Why do you want to count time spent sleeping waiting for an event against
>  > the process?
> 
> It's not like you're counting it "against the process".  But profiling
> is supposed to tell you where a process is spending its time, and if your
> process is I/O bound, you want to know exactly how much time is spend in
> those I/O routines.  We currently don't have that.

Then you probably want to separate iowait time from just sleeping.

Eduardo Horvath