lkml.org 
[lkml]   [2006]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Patch 5/7] synchronous block I/O delays
From
Date
Shailabh Nagar <nagar@watson.ibm.com> writes:

> delayacct-blkio.patch
>
> Record time spent by a task waiting for completion of
> userspace initiated synchronous block I/O. This can help
> determine the right I/O priority for the task.

I think it's a good idea to have such a statistic by default.

Can you add a counter that is summed up in task_struct and reports
in /proc/*/stat so that it could be displayed by top?

This way it would be useful even with "normal" user space.

-Andi
-
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-02-27 15:21    [W:1.257 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site