|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Measure performance of hypercalls
Getting the frequency of hypercalls can be done using xentrace. See
xen/include/public/trace.h for the appropriate mask and pertinent
trace records.
If you want to find the performance of hypercalls, you'll have to add
some instrumentation. You can extend xentrace to find out the number
of *cycles* executed in a hypercall by taking a trace (with a
timestamp) at hypercall entry and exit. We do this already for
vmenter/vmexit.
-George
On Wed, Oct 15, 2008 at 3:12 AM, Tommy Huang <nbp0204@xxxxxxxxx> wrote:
> Hi all,
>
> I am wondering how to measure the performance of hypercalls.
> For example, how many X86 instructions are executed in Xen when you issue a
> hypercall.
> Also, how to get the frequency of hypercalls which is that how many
> hypercalls have been issued during a period of time?
> Thanks in advance.
>
> - Nb
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|