The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 0/4] delayacct: save max CPU/IO/SWAP/RECLAIM delays
@ 2011-11-28 22:44 Satoru Moriya
  2011-11-28 22:44 ` [PATCH 1/4] sched: add members to struct sched_info to save maximum Satoru Moriya
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Satoru Moriya @ 2011-11-28 22:44 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org
  Cc: bsingharora@gmail.com, mingo@elte.hu, peterz@infradead.org,
	nagar@watson.ibm.com, kobayashi.kk@ncos.nec.co.jp, Randy Dunlap,
	linux-doc@vger.kernel.org, dle-develop@lists.sourceforge.net,
	Seiji Aguchi

In the latency sensitive systems, we usually focus on the worst latency.
And so, it is useful to save max delays into the per-task delay
accounting functionality.

Example output:
(on 100 concurrent dd reading sparse files w/ 1 dd writing a file)

CPU             count     real total  virtual total    delay total      delay_max  delay average
                  222       45993008       74603882        7637295        3691858          0.034ms
IO              count    delay total      delay max  delay average
                    2       21812073       12728672             10ms
SWAP            count    delay total      delay max  delay average
                    0              0              0              0ms
RECLAIM         count    delay total      delay_max  delay average
                    2         348488         211985              0ms

Any comments are welcome.


Satoru Moriya (4):
  sched: add members to struct sched_info to save maximum
  delayacct: add members to struct task_delay_info to save max delays
  delayacct: update taskstats to save max delays
  getdelays: show max CPU/IO/SWAP/RECLAIM delays

 Documentation/accounting/getdelays.c          |   28 ++++++++++++++----------
 Documentation/accounting/taskstats-struct.txt |    9 ++++++++
 include/linux/sched.h                         |    5 ++++
 include/linux/taskstats.h                     |    8 ++++++-
 kernel/delayacct.c                            |   25 +++++++++++++++++----
 kernel/sched_stats.h                          |    5 ++++
 6 files changed, 62 insertions(+), 18 deletions(-)

-- 
1.7.6.4



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-11-29 22:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-28 22:44 [PATCH 0/4] delayacct: save max CPU/IO/SWAP/RECLAIM delays Satoru Moriya
2011-11-28 22:44 ` [PATCH 1/4] sched: add members to struct sched_info to save maximum Satoru Moriya
2011-11-28 22:45 ` [PATCH 2/4] delayacct: add members to struct task_delay_info to save max delays Satoru Moriya
2011-11-28 22:46 ` [PATCH 3/4] delayacct: update taskstats " Satoru Moriya
2011-11-28 22:47 ` [PATCH 4/4] getdelays: show max CPU/IO/SWAP/RECLAIM delays Satoru Moriya
2011-11-29  9:23 ` [PATCH 0/4] delayacct: save " Peter Zijlstra
2011-11-29 22:34   ` Satoru Moriya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox