lkml.org 
[lkml]   [2006]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 01/13] io-accounting: core statistics
akpm@osdl.org a écrit :
> From: Andrew Morton <akpm@osdl.org>
>
> The present per-task IO accounting isn't very useful. It simply counts the
> number of bytes passed into read() and write(). So if a process reads 1MB
> from an already-cached file, it is accused of having performed 1MB of I/O,
> which is wrong.

Any chance we can report some io accounting values in getresource()/wait4()...
too ?

# /usr/bin/time find /usr -name 'foo'
0.24user 0.22system 0:00.70elapsed 66%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+222minor)pagefaults 0swaps

-
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: 2006-12-08 13:11    [from the cache]
©2003-2011 Jasper Spaans