Hi,
here are two patches for the svm unit-test framework that measure the
latency of the emulated vmrun, vmload, and vmsave instructions as well
as the latency of emulated vmexits.
On my Phenom II X6 1090T running in P0 it produces output like this:
Latency VMRUN : max: 140956 min: 6770 avg: 6819
Latency VMEXIT: max: 141042 min: 7475 avg: 7575
latency_run_exit: PASS
Latency VMLOAD: max: 23248 min: 1915 avg: 1925
Latency VMSAVE: max: 130888 min: 1917 avg: 1955
latency_load_save: PASS
These two tests report the tsc-cycles between events. Each latency is
measured one million times (which explains the large -max values).
Joerg
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html