Orin PCIe 网络 iperf3 收发速率不相等

根据官方文档: PCIe 端点模式 — Jetson Linux 开发者指南文档

Jetpack 版本:5.1.2
Root 端 IP 地址:192.168.2.123
Endpoint 端 IP 地址: 192.168.2.124

在 Root 端启动 iperf3 server, 在 Endpoint 端做 iperf3 客户端收发测试,发现速率几乎差一倍,这是怎么回事?

vidia@EAORA07B:~$ iperf3 -c 192.168.2.123
Connecting to host 192.168.2.123, port 5201
[ 5] local 192.168.2.124 port 55994 connected to 192.168.2.123 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 1.08 GBytes 9.28 Gbits/sec 0 2.95 MBytes
[ 5] 1.00-2.00 sec 1.09 GBytes 9.38 Gbits/sec 0 2.95 MBytes
[ 5] 2.00-3.00 sec 1.09 GBytes 9.37 Gbits/sec 0 2.95 MBytes
[ 5] 3.00-4.00 sec 1.09 GBytes 9.35 Gbits/sec 0 2.95 MBytes
[ 5] 4.00-5.00 sec 1.09 GBytes 9.36 Gbits/sec 0 2.95 MBytes
[ 5] 5.00-6.00 sec 1.09 GBytes 9.34 Gbits/sec 0 4.49 MBytes
[ 5] 6.00-7.00 sec 1.09 GBytes 9.36 Gbits/sec 0 4.49 MBytes
[ 5] 7.00-8.00 sec 1.09 GBytes 9.33 Gbits/sec 0 4.49 MBytes
[ 5] 8.00-9.00 sec 1.09 GBytes 9.33 Gbits/sec 0 4.49 MBytes
[ 5] 9.00-10.00 sec 1.09 GBytes 9.34 Gbits/sec 0 4.49 MBytes


[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 10.9 GBytes 9.34 Gbits/sec 0 sender
[ 5] 0.00-10.00 sec 10.9 GBytes 9.34 Gbits/sec receiver

iperf Done.

nvidia@EAORA07B:~$ iperf3 -c 192.168.2.123 -R
Connecting to host 192.168.2.123, port 5201
Reverse mode, remote host 192.168.2.123 is sending
[ 5] local 192.168.2.124 port 52048 connected to 192.168.2.123 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 439 MBytes 3.68 Gbits/sec
[ 5] 1.00-2.00 sec 444 MBytes 3.72 Gbits/sec
[ 5] 2.00-3.00 sec 443 MBytes 3.72 Gbits/sec
[ 5] 3.00-4.00 sec 444 MBytes 3.72 Gbits/sec
[ 5] 4.00-5.00 sec 443 MBytes 3.71 Gbits/sec
[ 5] 5.00-6.00 sec 443 MBytes 3.72 Gbits/sec
[ 5] 6.00-7.00 sec 444 MBytes 3.72 Gbits/sec
[ 5] 7.00-8.00 sec 444 MBytes 3.72 Gbits/sec
[ 5] 8.00-9.00 sec 444 MBytes 3.72 Gbits/sec
[ 5] 9.00-10.00 sec 444 MBytes 3.72 Gbits/sec


[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 4.33 GBytes 3.72 Gbits/sec 0 sender
[ 5] 0.00-10.00 sec 4.33 GBytes 3.72 Gbits/sec receiver

iperf Done.

*** Please note that this reply is generated by LLM automatically ***

The provided text appears to be a series of iperf3 tests conducted on a Jetson AGX Orin device running Jetson Linux. iperf3 is a tool used to measure network bandwidth and performance.

The tests were conducted in two modes:

  1. Sender mode: The Jetson AGX Orin device acted as the sender, sending data to a remote host (192.168.212.3) on port 5201. The results show a consistent bitrate of around 928-938 Gbits/sec, with no retransmissions and a congestion window (Cwnd) of around 295 MBytes.

  2. Receiver mode: The Jetson AGX Orin device acted as the receiver, receiving data from the remote host (192.168.212.3) on port 5201. The results show a consistent bitrate of around 368-372 Gbits/sec, with no retransmissions.

Comparing the two modes, we can see that the sender mode achieved a higher bitrate than the receiver mode. This could be due to various factors such as network congestion, packet loss, or differences in the sender and receiver configurations.

It’s also worth noting that the tests were conducted over a period of 10 seconds, with intervals of 100 ms. The results show a consistent performance throughout the test period, indicating a stable network connection.

In terms of the Jetson AGX Orin device’s performance, the results suggest that it is capable of handling high-bandwidth network traffic, with bitrates exceeding 900 Gbits/sec in sender mode. However, the actual performance may vary depending on the specific use case and network conditions.

To further analyze the results, it would be helpful to have more information about the test setup, including the network configuration, the remote host’s specifications, and any other factors that may have affected the test results.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***