ehci: Speed up the timer of raising int from the async schedule
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Oct 2012 16:14:02 +0000 (18:14 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 25 Oct 2012 07:08:09 +0000 (09:08 +0200)
commit44272b0f88247e2d2960c0ef19b546c206a10080
tree957b65deb982c4a1ee54d4e8d2650b38a778e40c
parent0262f65aaae49d582e7d4e4b1b5c8cfe4cd19d6d
ehci: Speed up the timer of raising int from the async schedule

Often the guest will queue up new packets in response to a packet, in the
async schedule with its IOC flag set, completing. By speeding up the
frame-timer, we notice these new packets earlier. This increases the
speed (MB/s) of a Linux guest reading from a USB mass storage device by a
factor of 1.15 on top of the "Improve latency of interrupt delivery"
speed-ups, both with and without input pipelining enabled.

I've not tested the speed-up of this patch without the
"Improve latency of interrupt delivery" patch.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-ehci.c