Collecting hypervisor call stats

Jimi Xenidis jimix at watson.ibm.com
Thu Jun 1 14:34:29 EST 2006


IIRC, chris and bryan have done some work to track this, they may  
have some code to contribute.
On May 31, 2006, at 4:41 PM, Mike Kravetz wrote:

> We would like to add code that gathers statistics about hypervisor  
> calls.
> It would keep track of things like # of calls made for each opcode  
> as well
> as time spent processing the calls.
>
> The 'obvious' place to gather such statistics would be from within the
> routines making hcalls in hvCall.S.  Once thing that I have noticed is
> the following comment at the beginning hvCall.S:
>
>  * NOTE: this file will go away when we move to inline this work.
>
> So, it appears someone thought/thinks these routines should be  
> inlined.
> I assume this is for performance reasons?  If this is the case, then I
> suspect gathering of statistics (which would introduce overhead) would
> meet resistance?
>
> Comments about the feasibility of adding such statistic gathering code
> would be appreciated.
>
> Thanks,
> -- 
> Mike
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev




More information about the Linuxppc-dev mailing list