public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw•cz>
To: Maxim Uvarov <muvarov@ru•mvista.com>
Cc: linuxppc-dev@ozlabs•org,
	Andrew Morton <akpm@linux-foundation•org>,
	wli@holomorphy•com, dada1@cosmosbay•com
Subject: Re: [PATCH] Performance Stats: Kernel patch
Date: Thu, 10 May 2007 14:03:13 +0200	[thread overview]
Message-ID: <20070510120313.GD23054@elf.ucw.cz> (raw)
In-Reply-To: <20070510114221.7576.67522.stgit@localhost.localdomain>

Hi!

> Patch makes available to the user the following
> task and process performance statistics:
> 	* Involuntary Context Switches (task_struct->nivcsw)
> 	* Voluntary Context Switches (task_struct->nvcsw)
> 	* Number of system calls (added new counter
> 	  thread_info->sysall_count)
> 	           
> Statistics information is available from:
>         1. taskstats interface (Documentation/accounting/)
> 	2. /proc/PID/status (task only).
> 
> This data is useful for detecting hyperactivity
> patterns between processes.

I was told nvcsw is standard name, but given how other fields are
named ("syscall_counter") I think we should use some more reasonable
name (like "voluntary_ctxt_switches" or something).
								Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2007-05-10 12:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-10 11:42 [PATCH] Performance Stats: Kernel patch Maxim Uvarov
2007-05-10 12:03 ` Pavel Machek [this message]
2007-05-10 18:25 ` Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2007-05-22 17:19 Maxim Uvarov
2007-05-22 18:48 ` Dave Jones
2007-05-22 20:08 ` Andrew Morton
2007-05-11 17:13 Maxim Uvarov
2007-05-12 10:39 ` Andrea Righi
2007-05-10 12:39 Maxim Uvarov
2007-05-10 12:38 ` Josh Boyer
2007-05-10 18:23   ` Maxim Uvarov
2007-05-08 16:26 Maxim Uvarov
2007-05-08 19:32 ` Andrew Morton
2007-05-10 11:11   ` Maxim Uvarov
2007-05-10 18:12     ` Andrew Morton
2007-05-11 16:51       ` Maxim Uvarov
2007-05-08 23:32 ` Linas Vepstas
2007-05-10 10:22   ` Maxim Uvarov
2007-05-10 16:47     ` Linas Vepstas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070510120313.GD23054@elf.ucw.cz \
    --to=pavel@ucw$(echo .)cz \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=dada1@cosmosbay$(echo .)com \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=muvarov@ru$(echo .)mvista.com \
    --cc=wli@holomorphy$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox