Messages in this thread | | | Date | Sat, 14 Jan 2006 11:38:27 +0100 | From | Ingo Molnar <> | Subject | Re: [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/
| |