qemu/hw/usb
Hans de Goede 52c15e5986 ehci: Further speedup rescanning if async schedule after raising an interrupt
I tried lowering the time between raising an interrupt and rescanning the
async schedule to see if the guest has queued a new transfer before, but
that did not have any positive effect. I now believe the cause for this is
that lowering this time made it more likely to hit the 1 ms interrupt
threshold penalty for the next packet, as described in my
"ehci: Use uframe precision for interrupt threshold checking" commit.

Now that we do interrupt threshold handling with uframe precision, futher
lowering this time from .5 to .25 ms gives an extra 15% improvement in speed
(MB/s) reading from a simple USB-2.0 thumb-drive.

While at it also properly set the int_req_by_async flag for short packet
completions.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2013-01-07 12:57:23 +01:00
..
bus.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
combined-packet.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
core.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
desc.c usb: split packet result into actual_length + status 2012-11-08 18:41:46 +01:00
desc.h usb: split packet result into actual_length + status 2012-11-08 18:41:46 +01:00
dev-audio.c usb: split packet result into actual_length + status 2012-11-08 18:41:46 +01:00
dev-bluetooth.c softmmu: move remaining include files to include/ subdirectories 2012-12-19 08:32:46 +01:00
dev-hid.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
dev-hub.c usb: Call wakeup when data becomes available for all devices with int eps 2012-12-04 14:41:54 +01:00
dev-network.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
dev-serial.c softmmu: move remaining include files to include/ subdirectories 2012-12-19 08:32:46 +01:00
dev-smartcard-reader.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
dev-storage.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
dev-uas.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
dev-wacom.c ui: move files to ui/ and include/ui/ 2012-12-19 08:31:30 +01:00
hcd-ehci-pci.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
hcd-ehci-sysbus.c ehci-sysbus: Attach DMA context. 2012-11-29 08:04:13 +01:00
hcd-ehci.c ehci: Further speedup rescanning if async schedule after raising an interrupt 2013-01-07 12:57:23 +01:00
hcd-ehci.h ehci: Verify a queue's ep direction does not change 2013-01-07 12:57:23 +01:00
hcd-musb.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
hcd-ohci.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
hcd-uhci.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
hcd-xhci.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
host-bsd.c monitor: move include files to include/monitor/ 2012-12-19 08:31:32 +01:00
host-linux.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
host-stub.c monitor: move include files to include/monitor/ 2012-12-19 08:31:32 +01:00
libhw.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
Makefile.objs usb: Add packet combining functions 2012-11-01 15:17:58 +01:00
redirect.c usb/redirect.c: unbreak compilation due to include/char/char.h 2012-12-28 16:09:33 +00:00