Marcelo Tosatti wrote:
On Sun, Jun 01, 2008 at 12:21:29PM +0300, Avi Kivity wrote:
Marcelo Tosatti wrote:
Addressing comments on the previous patchset, follows:

- Same fake C2 emulation
- /dev/pmtimer
- Support for multiple IO bitmap pages + userspace interface
- In-kernel ACPI pmtimer emulation

Tested with Linux and WinXP guests. Also tested migration.
Do you have any performance numbers, comparing qemu/kernel/passthrough?

Test is 1 million gettimeofday calls, Xeon 1.60GHz with 4MB L2.

guest (qemu emulation):
cycles:1189759332

guest (in-kernel emulation):
cycles:628046412

guest (direct pmtimer):
cycles:230372934

host (TSC):
cycles:14862774


Ratio is 1:15:80

Looks like direct pmtimer is still quite slow. Are there any exits with direct pmtimer, or is it all due to the ioport latency?

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
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

Reply via email to