Gerd, Thanks very much.
I tried to install usb 3.0 driver in win7 guest, and the cpu load decreased to about 9%, as much as PS2 mouse emulation. BTW, there are >90 fds polled by qemu_iohandler_poll(). According to the perf profiling report, when uhci hid mouse is enabled, this function will be called much more frequently than using PS2 mouse. Any source code or functions I should refer to so that I can find out which fds take most of CPU time? 2012-12-20 Hao Luo 发件人:Gerd Hoffmann 发送时间:2012-12-13 23:32 主题:Re: [Qemu-devel] Performance of usb tablet over ehci 收件人:"luo_brian"<luo_br...@126.com> 抄送:"Hans de Goede"<hdego...@redhat.com>,"qemu-devel"<qemu-devel@nongnu.org> On 12/13/12 16:25, luo_brian wrote: > I was using win7 32bit, and configured usb controller nec-xhci as > well as usb tablet emulation. But it didn't work. Seems usb tablet > failed to connect to xhci controller. win7 doesn't ship with a xhci driver (win8 does). cheers, Gerd