Subject: Re: [PATCH] Performance Stats: Kernel patch

From: Pavel Machek <[email-masked]>
Date: Thu, 10 May 2007 14:03:13 +0200

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