Re: [Patch 0/6] statistics infrastructure

From: Balbir Singh
Date: Sun May 21 2006 - 07:41:02 EST

> Andrew, Balbir,
> I will read Balbir's patches. Probably, I won't manage it this weekend,
> as a friend of mine is visiting.
> Why doesn't come it as a surprise that the user interface appears to
> restart the discussion ;-)
> I can't comment on netlink yet. There are some thoughts on why I
> chose debugfs in my documentation file.
> Balbir, could you try to summarise briefly what the main issues are that
> your patches solve?

We collect statistics about the delays that are experienced by each task on
the system. Note, that this information is per-task.

The information collected provides us with information about the number of
times the the task executed on the runqueue, the delay it encountered
waiting for CPU (run_delay) and the total time it spent on the runqueue.
Similar statistics are collected for block io and swapin block io.

The statistics can be queried at any time (during the lifetime of the task)
and user space can be notified of the statistics when the task exits.

More detailed information can be found at

and in the Documentation/accounting directory tree in -mm

I hope this is the summary you were looking for.

Warm Regards,
Balbir Singh,
Linux Technology Center,
IBM Software Labs
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at