Re: [PATCH] Performance Stats: Kernel patch

2007-06-06 Thread Jay Lan
Andrew Morton wrote: > On Tue, 05 Jun 2007 14:43:50 + Maxim Uvarov <[EMAIL PROTECTED]> wrote: > >> Patch makes available to the user the following >> task and process performance statistics: >> * Involuntary Context Switches (task_struct->nivcsw) >> * Voluntary Context Switches (task

Re: [PATCH] Performance Stats: Kernel patch

2007-06-05 Thread Andrew Morton
On Tue, 05 Jun 2007 14:43:50 + Maxim Uvarov <[EMAIL PROTECTED]> wrote: > 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) >

[PATCH] Performance Stats: Kernel patch

2007-06-05 Thread Maxim Uvarov
Changes: Names are renamed to task_context_switch_rates. 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) Statisti

Re: [PATCH] Performance Stats: Kernel patch

2007-06-04 Thread Balbir Singh
Andrew Morton wrote: > On Wed, 30 May 2007 18:49:46 + > Maxim Uvarov <[EMAIL PROTECTED]> wrote: > >> +void print_taskstats(struct taskstats *t) >> +{ >> +printf("\n\nTask %15s%15s\n" >> + " %15lu%15lu\n", >> + "voluntary", "nonvoluntary", >> + t->nvcsw

Re: [PATCH] Performance Stats: Kernel patch

2007-06-04 Thread Jay Lan
Andrew Morton wrote: > On Wed, 30 May 2007 18:49:46 + > Maxim Uvarov <[EMAIL PROTECTED]> wrote: > >> Removed syscall counters from patch. >> >> >> >> >> Patch makes available to the user the following >> task and process performance statistics: >> * Involuntary Context Switches (task_stru

Re: [PATCH] Performance Stats: Kernel patch

2007-06-04 Thread Jonathan Lim
Looking at the diffs below, I see context switch counters added. What is actually being removed? Jonathan On Mon Jun 4 12:33:15 2007, [EMAIL PROTECTED] wrote: > > Add Jonathan Lim to cc, who is working on CSA userland implementation > to use the taskstats data that this patch is going to remov

Re: [PATCH] Performance Stats: Kernel patch

2007-06-04 Thread Jay Lan
Add Jonathan Lim to cc, who is working on CSA userland implementation to use the taskstats data that this patch is going to remove. Thanks, - jay Andrew Morton wrote: > On Wed, 30 May 2007 18:49:46 + > Maxim Uvarov <[EMAIL PROTECTED]> wrote: > >> Removed syscall counters from patch. >> >>

Re: [PATCH] Performance Stats: Kernel patch

2007-06-04 Thread Andrew Morton
On Wed, 30 May 2007 18:49:46 + Maxim Uvarov <[EMAIL PROTECTED]> wrote: > > Removed syscall counters from patch. > > > > > Patch makes available to the user the following > task and process performance statistics: > * Involuntary Context Switches (task_struct->nivcsw) > * Volun

[PATCH] Performance Stats: Kernel patch

2007-05-30 Thread Maxim Uvarov
Removed syscall counters from patch. 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) Statistics information is ava

Re: [PATCH] Performance Stats: Kernel patch

2007-05-22 Thread Andrew Morton
On Tue, 22 May 2007 17:19:52 + Maxim Uvarov <[EMAIL PROTECTED]> wrote: > Sorry for bothering you. I know you are very busy but could > you please tell me what is situation of this patch? I'd like to add the context-switch accounting to the taskstats payload. As we'd then need to uprev the t

Re: [PATCH] Performance Stats: Kernel patch

2007-05-22 Thread Dave Jones
On Tue, May 22, 2007 at 05:19:52PM +, Maxim Uvarov wrote: > diff --git a/include/asm-i386/thread_info.h b/include/asm-i386/thread_info.h > index 4b187bb..bccfd6a 100644 > --- a/include/asm-i386/thread_info.h > +++ b/include/asm-i386/thread_info.h > @@ -33,6 +33,7 @@ struct thread_info {

[PATCH] Performance Stats: Kernel patch

2007-05-22 Thread Maxim Uvarov
Hello Andrew, Sorry for bothering you. I know you are very busy but could you please tell me what is situation of this patch? You wrote me you'll discuss it with someone about it and say can it be accepted or not and in which form. As I understand the situation all problems now are in syscal

Re: [PATCH] Performance Stats: Kernel patch

2007-05-12 Thread Andrea Righi
Maxim Uvarov wrote: > diff --git a/Documentation/accounting/taskstats-struct.txt > b/Documentation/accounting/taskstats-struct.txt > index 661c797..606aef6 100644 > --- a/Documentation/accounting/taskstats-struct.txt > +++ b/Documentation/accounting/taskstats-struct.txt > @@ -22,6 +22,8 @@ There a

[PATCH] Performance Stats: Kernel patch

2007-05-11 Thread Maxim Uvarov
Hello, Thanks all for very useful comments. Please review this version. Best regards, Maxim. Patch makes available to the user the following task and process performance statistics: * Involuntary Context Switches (task_struct->nivcsw) * Voluntary Context Switches (task_struct-

Re: [PATCH] Performance Stats: Kernel patch

2007-05-11 Thread Maxim Uvarov
Andi Kleen wrote: Maxim Uvarov <[EMAIL PROTECTED]> writes: This data is useful for detecting hyperactivity patterns between processes. You need a lot better rationale to slow down these important fast paths. Particularly the syscall path is very hot. Is this something that is really

Re: [PATCH] Performance Stats: Kernel patch

2007-05-10 Thread Andi Kleen
Maxim Uvarov <[EMAIL PROTECTED]> writes: > > This data is useful for detecting hyperactivity > patterns between processes. You need a lot better rationale to slow down these important fast paths. Particularly the syscall path is very hot. Is this something that is really generally useful? The co

[PATCH] Performance Stats: Kernel patch

2007-05-10 Thread Maxim Uvarov
I'm sending here the latest version of this patch. Seems it was not on lkml mail list. 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)

Re: [patch] Performance Stats: Kernel patch

2007-04-25 Thread Maxim Uvarov
Hello Andrew, I've added taskstats interface to that. Patch is attached. Please also see my answers bellow. Andrew Morton wrote: (re-added lklml) Patch makes available to the user the following thread performance statistics: * Involuntary Context Switches (task_struct->nivcsw) * Volu

Re: [patch] Performance Stats: Kernel patch

2007-04-19 Thread Andrew Morton
(re-added lklml) > Patch makes available to the user the following > thread performance statistics: >* Involuntary Context Switches (task_struct->nivcsw) >* Voluntary Context Switches (task_struct->nvcsw) I suppose they might be useful, but I'd be interested in hearing what the uses of t