What‘s the maximum speed supported by PCIE Ethernet for Jetson AGX Xavier?
I am use PCIe to communicate between two Xaviers now,Some problems encountered in actual use,
According to document << Jetson AGX Xavier PCIe Endpoint Mode>>, Bringing Up an Ethernet Interface Over PCIE。
Related version:JetPack4.6 KernelVersion:4.9.253-tegra
In actual use, I use iperf3 for PCIE network card performance testing,
1.xavier B starts the iperf3 server
# iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.66.6, port 40890
[ 5] local 192.168.66.7 port 5201 connected to 192.168.66.6 port 40892
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-1.00 sec 359 MBytes 3.01 Gbits/sec
[ 5] 1.00-2.00 sec 478 MBytes 4.01 Gbits/sec
[ 5] 2.00-3.00 sec 423 MBytes 3.55 Gbits/sec
[ 5] 3.00-4.00 sec 464 MBytes 3.89 Gbits/sec
[ 5] 4.00-5.00 sec 484 MBytes 4.06 Gbits/sec
[ 5] 5.00-6.00 sec 553 MBytes 4.64 Gbits/sec
[ 5] 6.00-7.00 sec 551 MBytes 4.63 Gbits/sec
[ 5] 7.00-8.00 sec 521 MBytes 4.37 Gbits/sec
[ 5] 8.00-9.00 sec 167 MBytes 1.40 Gbits/sec
[ 5] 9.00-10.00 sec 172 MBytes 1.44 Gbits/sec
[ 5] 10.00-11.00 sec 168 MBytes 1.41 Gbits/sec
[ 5] 11.00-12.00 sec 172 MBytes 1.44 Gbits/sec
[ 5] 12.00-13.00 sec 161 MBytes 1.35 Gbits/sec
[ 5] 13.00-14.00 sec 358 MBytes 3.01 Gbits/sec
[ 5] 14.00-14.16 sec 90.2 MBytes 4.63 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-14.16 sec 0.00 Bytes 0.00 bits/sec sender
[ 5] 0.00-14.16 sec 5.00 GBytes 3.03 Gbits/sec receiver
2.xavier A starts the iperf3 client
# iperf3 -c 192.168.66.7 -b 10000M -n 5G
Connecting to host 192.168.66.7, port 5201
[ 4] local 192.168.66.6 port 40892 connected to 192.168.66.7 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 379 MBytes 3.18 Gbits/sec 0 1.11 MBytes
[ 4] 1.00-2.00 sec 472 MBytes 3.95 Gbits/sec 0 1.11 MBytes
[ 4] 2.00-3.00 sec 431 MBytes 3.62 Gbits/sec 0 1.11 MBytes
[ 4] 3.00-4.00 sec 464 MBytes 3.89 Gbits/sec 0 1.11 MBytes
[ 4] 4.00-5.00 sec 483 MBytes 4.06 Gbits/sec 0 1.11 MBytes
[ 4] 5.00-6.00 sec 554 MBytes 4.64 Gbits/sec 0 1.54 MBytes
[ 4] 6.00-7.00 sec 551 MBytes 4.62 Gbits/sec 0 1.54 MBytes
[ 4] 7.00-8.00 sec 507 MBytes 4.25 Gbits/sec 0 3.93 MBytes
[ 4] 8.00-9.00 sec 169 MBytes 1.42 Gbits/sec 0 3.93 MBytes
[ 4] 9.00-10.00 sec 171 MBytes 1.43 Gbits/sec 0 3.93 MBytes
[ 4] 10.00-11.00 sec 167 MBytes 1.40 Gbits/sec 0 3.93 MBytes
[ 4] 11.00-12.00 sec 173 MBytes 1.45 Gbits/sec 0 3.93 MBytes
[ 4] 12.00-13.00 sec 160 MBytes 1.35 Gbits/sec 0 3.93 MBytes
[ 4] 13.00-14.00 sec 371 MBytes 3.12 Gbits/sec 0 3.93 MBytes
[ 4] 14.00-14.12 sec 68.1 MBytes 4.63 Gbits/sec 0 3.93 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-14.12 sec 5.00 GBytes 3.04 Gbits/sec 0 sender
[ 4] 0.00-14.12 sec 5.00 GBytes 3.04 Gbits/sec receiver
3.View the actual physical bandwidth of the system PCIE
# lspci
0000:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad0 (rev a1)
0000:01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a809
0005:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad0 (rev a1)
0005:01:00.0 Network controller: NVIDIA Corporation Device 2296
# lspci -n | grep -i 0005:01:00.0
0005:01:00.0 0280: 10de:2296
# lspci -n -d 10de:2296 -vvv | grep --color Width
LnkCap: Port #0, Speed 16GT/s, Width x8, ASPM not supported, Exit Latency L0s <1us, L1 <64us
LnkSta: Speed 16GT/s, Width x8, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
I have a few questions from the above tests:
(1)From the physical information of the actual pcie, it can be known that 16GT/S, Width x8 is used, and the throughput is about 15.754GB/s, 126Gb/s,However, the average rate of the actual test of iperf3 is only about 3.03 Gbits/sec,Why is there such a big difference from the actual speed?
(2)From the results of the iperf3 test, it can be seen that the rate fluctuates between 1.4Gbits/sec and 4.6Gbits/sec. What is the reason for this instability?
(3)What is the maximum speed supported by PCIE Ethernet for Jetson AGX Xavier?Has anyone actually tested this maximum rate?