RE: patch: ll_rw_blk fixes

From: Stephen C. Tweedie (sct@redhat.com)
Date: Thu Feb 03 2000 - 12:16:15 EST


Hi,

On Fri, 28 Jan 2000 13:00:22 +0100, Serge Robyns
<serge.robyns@advalvas.be> said:

> Is any of the active workers on the ll_rw_blk code thinking of
> implementing per proces io metrics for block devices?

What sort of metrics had you in mind? In general it's pretty hard to
account IO to specific processes. Write is hardest: filesystem write IO
is usually triggered by the background flush services in the VM, not by
the processes writing to the files in the first place. Even for reads,
if several processes try to read the same data at the same time, the
kernel will bring it into cache only once: who do you account the IO
against?

Buffer/page cache metrics would be easier to track than actual IO: the
number of buffers dirtied and the cache hit/miss rates would all be
fairly easy to track.

--Stephen

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



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:10 EST