Hello, We’re trying to operate a USB gadget backed by the DWC3 core on an iMX8 processor, but we are seeing issues with performance. As a comparison, utilizing iperf3 to benchmark, we are able to see ~230Mbit/s with an RNDIS gadget, and ~900Mbit/s with a hardware USB-to-Ethernet peripheral. Looking at the output of perf, we are seeing that with all of the gadget drivers (RNDIS, UVC, ACM), there is significant time spent spinning in an IRQ context that does not occur with the hardware peripheral. This seems like it might be related to the interrupt handler as described here: https://docs.kernel.org/usb/dwc3.html.
Thank you for your time and insight, Jake Grossman |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature