low throughput of usb netcard(ECM) on usb3.0

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

low throughput of usb netcard(ECM) on usb3.0

446件の閲覧回数
mashaofeng
Contributor III

dear expert:

      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?

 

     thanks

タグ(2)
0 件の賞賛
2 返答(返信)

420件の閲覧回数
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @mashaofeng 

I hope you are doing well.

Have you connected net-card with USB3.0 Phy?

Thanks & Regards

Sanket Parekh

0 件の賞賛

441件の閲覧回数
mashaofeng
Contributor III

 

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

0 件の賞賛