lkml.org 
[lkml]   [2006]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Proposed patch for Precise Process Accounting

* Smarduch Mario-CMS063 <CMS063@motorola.com> wrote:

> [...] The feature as it stands currently is divided into 3-patches -
> (i) architecture independent which by itself provides useful data (ii)
> arch dependent adds support for sys call, interrupt accounting (iii)
> arch dependent with additional features. I'm interested if it has
> potential for inclusion into the kernel, i.e. from Linux
> performance/phylisophical stand point.

more accurate accounting of scheduling and interrupt time might be
considered (especially since we already timestamp in the scheduler, so
those codepaths could be merged) - but per-syscall accounting of system
time and user time is pretty much out of the question, it's a way to hot
codepath as your own measurements show:

> [...] however there are cicumstances such as consecutive calls to
> light system calls (i.e. getpid()) where it may account for upto 7%
> overhead.

but everything will depend on the quality of the actual patches
themselves - the quality requirements are pretty strict for the affected
codepaths.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-14 11:42    [W:0.034 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site