This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] DRA821U:详细说明了本机以太网的 CPSW5G 性能

Guru**** 2482105 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1442817/dra821u-cpsw5g-performance-of-native-ethernet-in-detailed

器件型号:DRA821U
主题中讨论的其他器件:DRA821

工具与软件:

嗨、团队:

我想知道 CPSW5G 原生以太网的瓶颈(按照 https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1264445/faq-how-do-i-bring-brought-up-ethernet-interfaces-for-main-domain-cpswng-in-linux-from-sdk-version-9-0-and-above 中的说明)

测试环境:

位置 J721EXCP01EVM www.ti.com/.../J721EXCP01EVM
示例 Jacinto-J7200—适用于 PROCESSOR-SDK-LINUX 处理器的 Linux SDK
SDK 
版本:10.00.07.03 (https://www.ti.com/tool/PROCESSOR-SDK-J7200)
引导模式 SD 卡
内核版本 6.6.32-ti

独立端口 在中、CPSW5G 设置为同时进行测试、信息如下:

eth1 iperf3 -c 192.168.3.128 -B 192.168.3.127 -p 5201 -t 60 --bind-dev eth1 --logfile 5201.log
eth2 iperf3 -c 192.168.4.128 -B 192.168.4.127 -p 5202 -t 60 --bind-dev eth2 --logfile 5202.log
eth3 iperf3 -c 192.168.5.128 -B 192.168.5.127 -p 5203 -t 60 --bind-dev eth3 --logfile 5203.log
eth4 iperf3 -c 192.168.6.128 -B 192.168.6.127 -p 5204 -t 60 --bind-dev eth4 --logfile 5204.log

我发现总吞吐量不超过2.2Gbps、CPU 使用率约为75%(两个内核的平均值)

LAN1

- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  6]   0.00-60.00  sec   376 MBytes  52.6 Mbits/sec    0             sender
[  6]   0.00-60.04  sec   375 MBytes  52.3 Mbits/sec                  receiver



LAN2

- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  6]   0.00-60.00  sec  3.99 GBytes   571 Mbits/sec    0             sender
[  6]   0.00-60.04  sec  3.99 GBytes   570 Mbits/sec                  receiver



LAN3

- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  6]   0.00-60.00  sec  6.52 GBytes   934 Mbits/sec    0             sender
[  6]   0.00-60.05  sec  6.52 GBytes   933 Mbits/sec                  receiver



LAN4

- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  6]   0.00-60.00  sec  3.98 GBytes   570 Mbits/sec    0             sender
[  6]   0.00-60.05  sec  3.98 GBytes   569 Mbits/sec                  receiver

[问题] 根据规范、串行器/解串器通道是否会限制本机以太网的吞吐量?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    [报价 userid="545505" url="~/support/processors-group/processors/f/processors-forum/1442817/dra821u-cpsw5g-performance-of-native-ethernet-in-detailed "] [问题] 根据规范、串行器/解串器通道是否会限制本机以太网的吞吐量?[/QUOT]

    串行器/解串器通道上选择的接口限制了它应运行的通道速率。

    例如 SGMII 1Gbps 速率、在8/10编码中通道以1.25Gbps 运行。
    如果是 XFI/USXGMII、它可以在64/66编码下以10.3125Gbps 的通道速率运行。

    此外、正如之前所述、H/W 在速度支持方面没有限制、软件处理和处理是实现 H/W 支持的速度/吞吐量的瓶颈。

    此致、
    Sudheer

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    [quote userid="545505" url="~/support/processors-group/processors/f/processors-forum/1442817/dra821u-cpsw5g-performance-of-native-ethernet-in-detailed 我发现总吞吐量不超过2.2Gbps、CPU 使用率约为75%(两个内核的平均值)

    由于 CPU 负载为75%、您可以调整以太网接口的中断节奏、从而降低 CPU 负载。

    您能否查看以下 SDK 文档以了解中断节奏配置。
    https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-j7200/10_00_07_03/exports/docs/linux/Foundational_Components /内核/ Kernel_Drivers Network05/CPSW2g.html#interrupt-bacing

    此致、
    Sudheer