Re: [PATCH] kvm: powerpc: add exit timing statistics v5

2008-11-12 Thread Hollis Blanchard
On Wed, 2008-11-12 at 10:22 +0100, Christian Ehrhardt wrote: > From: Christian Ehrhardt <[EMAIL PROTECTED]> > > *update to v5* > - add exittiming.c to diff content > - prefix all exit timing functions with kvmppc to prevent name collisions (was > already done for some of the functions, now its c

[PATCH] kvm: powerpc: add exit timing statistics v5

2008-11-12 Thread Christian Ehrhardt
From: Christian Ehrhardt <[EMAIL PROTECTED]> *update to v5* - add exittiming.c to diff content - prefix all exit timing functions with kvmppc to prevent name collisions (was already done for some of the functions, now its consequently done for all of them) - renamed header & c-file and relocat

Re: [PATCH] kvm: powerpc: add exit timing statistics v4

2008-11-12 Thread Christian Ehrhardt
Hollis Blanchard wrote: On Tue, 2008-11-11 at 16:43 +0100, Christian Ehrhardt wrote: From: Christian Ehrhardt <[EMAIL PROTECTED]> *update to v4* - EMUL_CORE no longer had more than wrtee emulation, therefore it now accounts for WRTEE in the output and set_exit_type calls are in the wrtee h

Re: [PATCH] kvm: powerpc: add exit timing statistics v4

2008-11-11 Thread Hollis Blanchard
On Tue, 2008-11-11 at 16:43 +0100, Christian Ehrhardt wrote: > From: Christian Ehrhardt <[EMAIL PROTECTED]> > > *update to v4* > - EMUL_CORE no longer had more than wrtee emulation, therefore it now accounts > for WRTEE in the output and set_exit_type calls are in the wrtee handlers to > let

[PATCH] kvm: powerpc: add exit timing statistics v4

2008-11-11 Thread Christian Ehrhardt
From: Christian Ehrhardt <[EMAIL PROTECTED]> *update to v4* - EMUL_CORE no longer had more than wrtee emulation, therefore it now accounts for WRTEE in the output and set_exit_type calls are in the wrtee handlers to let any residual core op be counted as EMULINST" *update to v3* - ensure buil

[PATCH] kvm: powerpc: add exit timing statistics v3

2008-11-11 Thread Christian Ehrhardt
From: Christian Ehrhardt <[EMAIL PROTECTED]> *update to v3* - ensure build time optimization when calling exit accouting functions using build time bug / constant check - migrate most of the exit timing code from powerpc.c and kvm_timing_stats.h to a separate exittiming.c file - renamed a lot

Re: [PATCH] kvm: powerpc: add exit timing statistics v3

2008-11-11 Thread Christian Ehrhardt
And btw - the wiki page is updated with new versions of the exittimings using all of our new memory management improvements. The page now also has some extended descriptions about the simple workloads used, holds the current version of the postprocessing script etc. Christian Ehrhardt wrote:

[PATCH] kvm: powerpc: add exit timing statistics v3

2008-11-11 Thread Christian Ehrhardt
From: Christian Ehrhardt <[EMAIL PROTECTED]> *update to v3* - ensure build time optimization when calling exit accouting functions using build time bug / constant check - migrate most of the exit timing code from powerpc.c and kvm_timing_stats.h to a separate exittiming.c file - renamed a lot

[PATCH] kvm: powerpc: add exit timing statistics v2

2008-11-10 Thread Christian Ehrhardt
From: Christian Ehrhardt <[EMAIL PROTECTED]> *resend with header file in diff* *update to v2* The update fixes accounting for sets to MSR[WE] which should not be accoutned as instruction emulation. While adding that and analyzing the data it became obvious that several types of emulations hould b

[PATCH] kvm: powerpc: add exit timing statistics

2008-11-10 Thread Ehrhardt Christian
From: Christian Ehrhardt <[EMAIL PROTECTED]> Other existing kvm statistics are either just counters (kvm_stat) reported for kvm generally or trace based aproaches like kvm_trace. For kvm on powerpc we had the need to track the timings of the different exit types. While this could be achieved parsi

Re: [PATCH] [PATCH] kvm: powerpc: add exit timing statistics

2008-11-06 Thread Hollis Blanchard
On Tuesday 04 November 2008 06:33:39 Ehrhardt Christian wrote: > From: Christian Ehrhardt <[EMAIL PROTECTED]> > > Other existing kvm stats are either just counters (kvm_stat) reported for kvm > generally or trace based aproaches like kvm_trace. > For kvm on powerpc we had the need to track the tim

Re: [PATCH] [PATCH] kvm: powerpc: add exit timing statistics

2008-11-04 Thread Christian Ehrhardt
This patch reports the square sum in addition to the classic sum/count (+min/max) to allow more details statistical post processing. That way you can process average, % of whole duration and using the square sum also the standard deviation. A simple way to get these numbers with awk is: #!/bin

[PATCH] [PATCH] kvm: powerpc: add exit timing statistics

2008-11-04 Thread Ehrhardt Christian
From: Christian Ehrhardt <[EMAIL PROTECTED]> Other existing kvm stats are either just counters (kvm_stat) reported for kvm generally or trace based aproaches like kvm_trace. For kvm on powerpc we had the need to track the timings of the different exit types. While this could be achieved parsing da