Per-task delay accounting
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | Delay accounting: timespec diffinclude/ | +15 | 0 replies | |
| 2/6 | Delay accounting: Initialization, kernel boot optionDocumentation/ include/ include/ +4 more | +91 | 0 replies | |
| 3/6 | Delay accounting: Sync block I/O delaysfs/ fs/ include/ +4 more | +61 | 0 replies | |
| 4/6 | Delay accounting: Swap in delaysinclude/ include/ kernel/ +1 more | +29 | 0 replies | |
| 5/6 | Delay accounting: /proc interfacefs/ fs/ fs/ | +90 | 0 replies | |
| 6/6 | Delay accounting: Connector interfacedrivers/ drivers/ drivers/ +3 more | +374 | 46 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Patch 0/6] Per-task delay accounting
Andrew,
Could you please consider these patches for inclusion in -mm ? The comments from earlier postings of these patches have been addressed, including the one you made about making the connector interface generic (more about that in the connector patch).
Thanks,
Shailabh
The following patches add accounting for the delays seen by tasks in
a) waiting for a CPU (while being runnable)
b) completion of synchronous block I/O initiated by the task
c) swapping in pages (i.e. capacity misses).
Such delays provide feedback for a task's cpu priority, io priority and rss limit values. Long delays, especially relative to other tasks, can be a trigger for changing a task's cpu/io priorities and modifying its rss usage (either directly through sys_getprlimit() that was proposed earlier on lkml or by throttling cpu consumption or process calling sys_setrlimit etc.)
The major change since the previous posting of these patches
(http://www.ussg.iu.edu/hypermail/linux/kernel/0512.0/2152.html)
is the resurrection of the connector interface (in addition to /proc) and, as part of the same patch, the ability to get stats per-tgid in addition to per-pid.
More comments in individual patches.
Series
nstimestamp-diff.patch
delayacct-init.patch
delayacct-blkio.patch
delayacct-swapin.patch
delayacct-procfs.patch
delayacct-connector.patch