base on 1043ardb.fm1-mac(X) unable to reach 1Gbps rate together

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

base on 1043ardb.fm1-mac(X) unable to reach 1Gbps rate together

989 Views
Hmc510
Contributor II

chip:1043. LSDK:2108. kernel:5.10

my board use RGMIIx2 .QSGMII x1.

dts:

Hmc510_0-1690771470556.png

Using iperf3 to test maximum rate----

board: iperf3 -s -p xxx

PC: iperf3 -c xx -b 1000M -p xxx

use fmc tool:  fmc -c /etc/fmc/config/private/ls1043ardb/RR_FQPP_1455/config.xml -p /etc/fmc/config/private/ls1043ardb/RR_FQPP_1455/policy_ipv4.xml -a

serdes config:0x4558

 

the test result is

RGMII + QSGMII RX speed = 3Gpbs; TX speed = 1Gbps.

I'm not sure why the speed is evenly divided(3Gbps) across multiple network ports.

 

 

 

0 Kudos
Reply
5 Replies

957 Views
yipingwang
NXP TechSupport
NXP TechSupport

For TCP iperf test, please use the following commands.

On the target board:

iperf3  -s

On the PC side:

iperf3 -c 10.10.10.2 -P 10 -t 30

0 Kudos
Reply

952 Views
Hmc510
Contributor II

Thank you for your reply.

I have tested the  P parameter before.It's also problematic.

Do I need to make any special modifications to the device tree I have only modified the MDIO section now.

Hmc510_0-1691051267102.png

 

0 Kudos
Reply

947 Views
yipingwang
NXP TechSupport
NXP TechSupport

No need other special modifications to the device tree.

0 Kudos
Reply

855 Views
Hmc510
Contributor II

Hi yiping 

I found that it is not a rate bottleneck, but rather a block in establishing data frames for iperf3:

When testing two network ports at 2Gbps, 3th port iperf3 just stop here

Hmc510_0-1691735219717.png

I will try the following tests:  ethtool -K xxx gro off.There's no problem with retesting.

The problem occurred in kernel version:5.10. and kernel v4.12 looks good.

May I ask if this is a GRO bug?

 

0 Kudos
Reply

943 Views
Hmc510
Contributor II

Thank you. I don't know how to solve this speed problem

0 Kudos
Reply