Re: getting process i/o wasted time ...

From: Rik van Riel (riel@conectiva.com.br)
Date: Wed Mar 06 2002 - 15:06:14 EST


On Wed, 6 Mar 2002, Richard B. Johnson wrote:

> Time for I/O is not generally "wasted" as you say. It is given to
> other tasks. Of course if there are no other tasks that want the
> CPU then, I guess, you could call it wasted.

I guess it may be useful to measure IO wait time in the
kernel, where IO wait time is defined as:

1) a CPU is idle

2) there are processes in D state

regards,

Rik

-- 
"Linux holds advantages over the single-vendor commercial OS"
    -- Microsoft's "Competing with Linux" document

http://www.surriel.com/ http://distro.conectiva.com/

- 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/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:58 EST