|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Are there any tools to calculate the cost of a VM exit
On 07/06/2011 07:33, "veerasena reddy" <veeruyours@xxxxxxxxx> wrote:
> Hi,
>
> I am looking to add a new hypercall to XEN-3.4.3 and invoke this new hypercall
> very often (may be 50 to 500 thousands of times a sec) from a HVM guest.
> I would like to see the cost of this to tradeoff with performance.
>
> Could you please advice if there are tools for this or any other method that i
> can use?
In the HVM guest:
gettimeofday() (or RDTSC, or any other handy timestamp)
<call hypercall in a tight loop 10,000,000 times>
gettimeofday() (or equiv, as above)
-- Keir
> Thanks in advance.
>
> Regards,
> VSR.
>
>
> _______________________________________________
> 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
|
|
|
|
|