Re: [Patch 5/7] synchronous block I/O delays

Shailabh Nagar
2006-02-27T21:31:47Z

Andi Kleen wrote:

>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?
>
>
Sure. That would make delayacct code simpler too since it could just
read off from task_struct.

>This way it would be useful even with "normal" user space.
>
>
Yes. Need to resolve the multiple entry point semantic...more in
separate mail.

--Shailabh

>-Andi
>
>