10GbE network performance on LS1046A with Yocto included in LSDK19.09

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

10GbE network performance on LS1046A with Yocto included in LSDK19.09

ソリューションへジャンプ
2,264件の閲覧回数
yutaka_ando
NXP Employee
NXP Employee

Our customer observes ~2Gbps throughput on LS1046A 10GbE port when they run iperf test on LS1046ARDB + LSDK Yocto rootfs.  With Ubuntu rootfs, they observe 6Gbps.

In the similar issue reported to the community ( https://community.nxp.com/t5/Layerscape/LS1046ARDB-maximum-throughput-for-two10G-ethernet-ports/m-p/... ), I find the suggestion "Please use Ubuntu rootfs filesystem."

Does this mean LSDK Yocto rootfs has any limitations for the network performance?  Or doesn't it have any features that improve the network performance?

ラベル(1)
0 件の賞賛
1 解決策
2,210件の閲覧回数
yutaka_ando
NXP Employee
NXP Employee

Hi @yipingwang 

The customer reports the throughput on 10GbE port is improved by executing the following command:

fmc -c config.xml -p policy_ipv4.xml -a 

 Thank you for your support!

Best regards,
Ando

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
2,211件の閲覧回数
yutaka_ando
NXP Employee
NXP Employee

Hi @yipingwang 

The customer reports the throughput on 10GbE port is improved by executing the following command:

fmc -c config.xml -p policy_ipv4.xml -a 

 Thank you for your support!

Best regards,
Ando

0 件の賞賛
2,246件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello yutaka_ando,

In Ubuntu rootfs filesystem, fmc policy is executed, this will make networking flows balanced among processors. 

However in Yocto rootfs filesystem, probably only one core processes all these networking flows.

You could check CPU usage when using Ubuntu and Yocto rootfs filesystem.

 

Thanks,

Yiping

0 件の賞賛
2,228件の閲覧回数
yutaka_ando
NXP Employee
NXP Employee

Hello @yipingwang 

Unfortunately, there is no way to check the CPU usage / core on Yocto tiny rootfs.  Instead, the customer captures /proc/interrupt before and after the iperf test, and output of "ethtool -S" after the iperf test.  Please find the attached.

According to this log, it seems QMan interrupts are signaled to each core evenly. Rx packets are processed by each core evenly as well.

Is there any other point to check?

Best regards,
Ando

 

0 件の賞賛
2,236件の閲覧回数
yutaka_ando
NXP Employee
NXP Employee

Hello @yipingwang 

Thank you for your comment.

The customer observes 20~25% of CPU usage when using Yocto rootfs by "top" command.  I think this result implies that one CPU has 800~100% usage and remaining three CPUs are free.

If so, the fmc policy should be executed on Yocto rootfs.  How is the fmc policy deployed to and ran on Yocto rootfs?

Best regards,
Ando

0 件の賞賛