Re: [Qemu-devel] Performance of usb tablet over ehci

2012-12-19 Thread Gerd Hoffmann
On 12/19/12 18:48, Hao Luo wrote: > 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. Good to see this actually meets the expectations ;) > BTW, there are >90 fds polled by qemu_iohandler_po

Re: [Qemu-devel] Performance of usb tablet over ehci

2012-12-19 Thread Hao Luo
ill 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_b

Re: [Qemu-devel] Performance of usb tablet over ehci

2012-12-13 Thread Gerd Hoffmann
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

Re: [Qemu-devel] Performance of usb tablet over ehci

2012-12-13 Thread luo_brian
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. 57 58 59 60 At 2012-12-12 16:29:20,"Gerd Hoffmann" wrote: > Hi, > >> In the end the problem stays that usb uses a pol

Re: [Qemu-devel] Performance of usb tablet over ehci

2012-12-12 Thread Gerd Hoffmann
Hi, > In the end the problem stays that usb uses a polling model versus the > async interrupt model ps2 uses. If your guest supports usb 3.0 (aka xhci) you can try that. The hardware design allows to not poll in the emulation, which brings down the cpu load even more, should come pretty close

Re: [Qemu-devel] Performance of usb tablet over ehci

2012-12-11 Thread Hans de Goede
Hi, On 12/11/2012 08:45 PM, luo_brian wrote: I just noticed a patch recently submitted to qemu, attempting to lower the cpu load for idle vm using usb tablet emulation. This is the comment of commit 427e3aa151c749225364d0c30640e2e3c1756d9d: usb-tablet: Allow connecting to ehci Our ehci cod

[Qemu-devel] Performance of usb tablet over ehci

2012-12-11 Thread luo_brian
I just noticed a patch recently submitted to qemu, attempting to lower the cpu load for idle vm using usb tablet emulation. This is the comment of commit 427e3aa151c749225364d0c30640e2e3c1756d9d: usb-tablet: Allow connecting to ehci Our ehci code has is capable of significantly lowering the wa