we have a 5G module connected to IMX8QXP , a usb ECM netcard is enumerated on imx8 , we use iperf to test download speed , the throughput is only can read to 360Mbit/s , it seems low for usb3.0 , and the cpu which used for download process is easily reach to 100%;
how to improve this performance?
I hope you are doing well.
Have you connected net-card with USB3.0 Phy?
Thanks & Regards
i tried to set follow setting
echo 4 > /sys/class/net/usb1.254/queues/rx-0/rps_cpus
echo 4 > /sys/class/net/usb1/queues/rx-0/rps_cpus
the througput seems higher , but it will show error xhci-cdns3: ERROR unknown event type 37
log is as follow:
[ 15] 3.00-4.00 sec 5.63 MBytes 47.2 Mbits/sec
[ 17] 3.00-4.00 sec 5.64 MBytes 47.3 Mbits/sec
[ 19] 3.00-4.00 sec 6.03 MBytes 50.6 Mbits/sec
[SUM] 3.00-4.00 sec 50.7 MBytes 426 Mbits/sec
[ 135.713185] xhci-cdns3: ERROR unknown event type 37
[ 136.013749] xhci-cdns3: ERROR unknown event type 37
[ 136.067157] xhci-cdns3: ERROR unknown event type 37
[ 136.073563] xhci-cdns3: ERROR unknown event type 37