Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1263493
| From | Heiko Stuebner <heiko@sntech.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/3] dwc2: Speed up the interrupt handler quite a bit |
| Date | 2015-11-05 20:20 +0100 |
| Message-ID | <qryeJ-2lb-1@gated-at.bofh.it> (permalink) |
| References | <qrfc5-6Fb-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Am Mittwoch, 4. November 2015, 14:53:02 schrieb Douglas Anderson: > The dwc2 interrupt handler is quite slow. On rk3288 with a few things > plugged into the ports and with cpufreq locked at 696MHz (to simulate > real world idle system), I can easily observe dwc2_handle_hcd_intr() > taking > 120 us, sometimes > 150 us. Note that SOF interrupts come > every 125 us with high speed USB, so taking > 120 us in the interrupt > handler is a big deal. > > The patches here will speed up the interrupt controller significantly. > After this series, I have a hard time seeing the interrupt controller > taking > 20 us and I don't ever see it taking > 30 us ever in my tests > unless I bring the cpufreq back down. With the cpufreq at 126 MHz I can > still see the interrupt handler take > 50 us, so I'm sure we could > improve this further. ...but hey, it's a start. > > In addition to the speedup, this series also has the advantage of > simplifying dwc2 and making it more like everyone else (introducing the > possibility of future simplifications). Picking this series up will > help your diffstat and likely win you friends. ;) I gave this a simple spin on my veyron-pinky with both a device attached directly to the port as well as with an usb-hub in between. Everything was still working smoothly, so Tested-by: Heiko Stuebner <heiko@sntech.de> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/3] dwc2: Speed up the interrupt handler quite a bit Douglas Anderson <dianders@chromium.org> - 2015-11-05 00:00 +0100
[PATCH 3/3] usb: dwc2: host: Get aligned DMA in a more supported way Douglas Anderson <dianders@chromium.org> - 2015-11-05 00:00 +0100
[PATCH 2/3] usb: dwc2: host: Giveback URB in tasklet context Douglas Anderson <dianders@chromium.org> - 2015-11-05 00:00 +0100
Re: [PATCH 2/3] usb: dwc2: host: Giveback URB in tasklet context Doug Anderson <dianders@chromium.org> - 2015-11-05 01:40 +0100
Re: [PATCH 2/3] usb: dwc2: host: Giveback URB in tasklet context Alan Stern <stern@rowland.harvard.edu> - 2015-11-05 16:20 +0100
Re: [PATCH 2/3] usb: dwc2: host: Giveback URB in tasklet context Doug Anderson <dianders@chromium.org> - 2015-11-06 01:30 +0100
Re: [PATCH 2/3] usb: dwc2: host: Giveback URB in tasklet context Alan Stern <stern@rowland.harvard.edu> - 2015-11-06 16:50 +0100
Re: [PATCH 2/3] usb: dwc2: host: Giveback URB in tasklet context Doug Anderson <dianders@chromium.org> - 2015-11-07 02:30 +0100
Re: [PATCH 2/3] usb: dwc2: host: Giveback URB in tasklet context Alan Stern <stern@rowland.harvard.edu> - 2015-11-07 16:10 +0100
Re: [PATCH 0/3] dwc2: Speed up the interrupt handler quite a bit Heiko Stuebner <heiko@sntech.de> - 2015-11-05 20:20 +0100
csiph-web