On Mi, 2014-03-26 at 11:57 +0800, arei.gong...@huawei.com wrote:
> From: Gonglei <arei.gong...@huawei.com>
> 
> UHCI emulation polls the device at a freq of 1000HZ, which consumes
> 12~13% CPU even though a Windows guest is completely idle when the guest
> was configed usb1.1 tablet devcie. This solution counts accumulated NAK
> packets. when it reaches to 64, then the guest is supposed to be idle
> and the freq is lowered to 10HZ.
> 
> This patch has been tested on Win7/WinXP/Win2008 guests, that reduces
> the CPU consume from 12~13% to 6~7%.

Which qemu version did you test with?  With any 2.0 release candidate
windows guests should suspend the usb-tablet.  And possibly stop all usb
polling done by the uhci controller in case the tables is the only
device connected.

So this should not be needed any more.

cheers,
  Gerd



Reply via email to