The ethernet speed of Xavier NX base on JetPack 5.0.2 is too slow

I have a custom-designed carrier board for Xavier NX. I use iperf to send UDP packages to test the ethernet speed and the speed of gigabit ethernet only has 478 Mbits/sec on JetPack 5.0.2 but the speed can reach 1000 Mbits/sec on JetPack 4.6.1. Should I modify DTS or other settings?

nvidia@tegra-ubuntu:~/phoronix-test-suite$ phoronix-test-suite run pts/iperf 


No Internet Connectivity



iPerf 3.7:
    pts/iperf-1.1.1
    Network Test Configuration
    Server Address [Use 'localhost' if wishing to benchmark the local system/server performance.]

    Enter Value: 192.168.100.100

    Server Port [The default iperf3 server port is 5201.]

    Enter Positive Number: 12345

        1: 10 Seconds
        2: 30 Seconds
        3: 60 Seconds
        4: 360 Seconds
        5: Test All Options
        ** Multiple items can be selected, delimit by a comma. **
        Duration: 1


        1: TCP
        2: UDP
        3: UDP - 100Mbit Objective
        4: UDP - 1000Mbit Objective
        5: Test All Options
        ** Multiple items can be selected, delimit by a comma. **
        Test: 3,4


        1: 1
        2: 5
        3: 10
        4: 20
        5: 32
        6: 64
        7: Test All Options
        ** Multiple items can be selected, delimit by a comma. **
        Parallel: 1


Phoronix Test Suite v10.8.4
System Information


  PROCESSOR:              ARMv8 rev 0 @ 1.91GHz
    Core Count:           4                  
    Cache Size:           4 MB               
    Scaling Driver:       tegra194 schedutil 

  GRAPHICS:               NVIDIA TEGRA
    Vulkan:               1.3.212          
    Screen:               4096x2160        

  MOTHERBOARD:            EDK II 1.0-d7fb19b
    BIOS Version:         1.0-d7fb19b       
    Network:              Intel Device 0d9f 

  MEMORY:                 16GB

  DISK:                   16GB DG4016
    File-System:          ext4             
    Mount Options:        relatime rw      
    Disk Details:         Block Size: 4096 

  OPERATING SYSTEM:       Ubuntu 20.04
    Kernel:               5.10.104 (aarch64)                                      
    Desktop:              GNOME Shell 3.36.9                                      
    Display Server:       X Server 1.20.13                                        
    Compiler:             GCC 9.4.0                                               
    Security:             itlb_multihit: Not affected                             
                          + l1tf: Not affected                                    
                          + mds: Not affected                                     
                          + meltdown: Not affected                                
                          + spec_store_bypass: Not affected                       
                          + spectre_v1: Mitigation of __user pointer sanitization 
                          + spectre_v2: Mitigation of Branch predictor hardening  
                          + srbds: Not affected                                   
                          + tsx_async_abort: Not affected                         

    Would you like to save these test results (Y/n): n

iPerf 3.7:
    pts/iperf-1.1.1 [Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 100Mbit Objective - Parallel: 1]
    Test 1 of 2
    Estimated Trial Run Count:    3                     
    Estimated Test Run-Time:      3 Minutes             
    Estimated Time To Completion: 5 Minutes [09:20 UTC] 
        Started Run 1 @ 09:16:13
        Started Run 2 @ 09:16:30
        Started Run 3 @ 09:16:48

    Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 100Mbit Objective - Parallel: 1:
        100
        100
        100

    Average: 100 Mbits/sec
    Deviation: 0.00%

iPerf 3.7:
    pts/iperf-1.1.1 [Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 1000Mbit Objective - Parallel: 1]
    Test 2 of 2
    Estimated Trial Run Count:    3                    
    Estimated Time To Completion: 1 Minute [09:17 UTC] 
        Started Run 1 @ 09:17:11
        Started Run 2 @ 09:17:28
        Started Run 3 @ 09:17:45

    Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 1000Mbit Objective - Parallel: 1:
        456
        474
        472

    Average: 467 Mbits/sec
    Deviation: 2.11%


Full_dmesg.txt (95.6 KB)

Xavier NX Jetpack5.0.2 gigabit ethernet dts:

ethernet@2490000 {
		compatible = "nvidia,nveqos";
		reg = <0x00 0x2490000 0x00 0x10000>;
		reg-names = "mac-base";
		interrupts = <0x00 0xc2 0x04 0x00 0xba 0x04 0x00 0xbe 0x04>;
		clocks = <0x04 0x120 0x04 0x20 0x04 0x22 0x04 0x21 0x04 0x23 0x04 0x08>;
		clock-names = "pllrefe_vcoout\0eqos_axi\0eqos_rx\0eqos_ptp_ref\0eqos_tx\0axi_cbb";
		resets = <0x04 0x11>;
		interconnects = <0x03 0x8e 0x03 0x8f>;
		interconnect-names = "dma-mem\0dma-mem";
		reset-names = "mac_rst";
		nvidia,promisc_mode = <0x01>;
		nvidia,num-dma-chans = <0x01>;
		nvidia,dma-chans = <0x00>;
		nvidia,slot_num_check = <0x00 0x00 0x00 0x00>;
		nvidia,slot_intvl_vals = <0x00 0x7d 0x7d 0x7d>;
		nvidia,num-mtl-queues = <0x01>;
		nvidia,mtl-queues = <0x00>;
		nvidia,rx-queue-prio = <0x02>;
		nvidia,dcs-enable = <0x01>;
		nvidia,pad_calibration = <0x01>;
		nvidia,tx-queue-prio = <0x00>;
		iommus = <0x02 0x14>;
		iommu-resv-regions = <0x00 0x00 0x00 0x40000000 0x00 0x60000000 0xffffffff 0xffffffff>;
		dma-coherent;
		nvidia,rx_riwt = <0x100>;
		nvidia,rx_frames = <0x40>;
		nvidia,tx_usecs = <0x100>;
		nvidia,tx_frames = <0x05>;
		nvidia,ptp_ref_clock_speed = <0x12a05f20>;
		status = "okay";
		pinctrl-names = "mii_rx_disable\0mii_rx_enable";
		pinctrl-0 = <0x18>;
		pinctrl-1 = <0x19>;
		nvidia,rxq_enable_ctrl = <0x02>;
		nvidia,pause_frames = <0x00>;
		nvidia,phy-reset-gpio = <0x0c 0x35 0x00>;
		phy-mode = "rgmii-id";
		phy-handle = <0x1a>;
		nvidia,max-platform-mtu = <0x3fff>;

		eqos-cool-dev {
			cooling-min-state = <0x00>;
			cooling-max-state = <0x05>;
			#cooling-cells = <0x02>;
			phandle = <0x26d>;
		};

		prod-settings {
			#prod-cells = <0x04>;

			prod {
				prod = <0x00 0x8800 0x80000000 0x00 0x00 0x8804 0x20000000 0x20000000>;
			};
		};

		mdio {
			compatible = "nvidia,eqos-mdio";
			#address-cells = <0x01>;
			#size-cells = <0x00>;

			phy@0 {
				reg = <0x00>;
				interrupt-parent = <0x0c>;
				interrupts = <0x34 0x08>;
				marvell,copper-mode;
				marvell,reg-init = <0x03 0x12 0x7fff 0x880>;
				phandle = <0x1a>;
			};
		};
	};

XavierNX_JP502.dts (394.7 KB)

Issue seems not reproduced with NX devkit. What PHY are you using here?

Hi WayneWWW,

I use rgmii. I also tried the original L4T 35.1 on Xavier NX devkit and it has same issue. Following is the dts i used.
tegra194-p3668-0001-p3509-0000.dts (390.4 KB)
Does it has any different with your dts?

Hi,

I don’t think it is needed to check your device tree if this is devkit. The question should be if you changed anything in your device tree?

If you ever changed, how about flashing it back to sdkmanager +jetpack again to make sure it is clean?

If you didn’t change anything, then how about your clarify your test environment? And whether this issue is intermittent or always happened?

Hey you two. I’ve just made a test after I’ve seen this thread and can confirm about 500Mbit/sec transfer speed on Jetpack 5.0.2. I did not make any comparison to older versions though.

My system is highly modified though. I’d be interested in finding what causes this tough.

Hi seeky15,

What is your test environment and test command (tcp/udp)? Ethernet test is very sensitive to those configuration and setup. Thus need to know this info first.

For example, are you doing this test with NX-NX connection or you connect NX to other switch/hub?
NX-NX is the most precise way to test this.

Hi WayneWWW,

I used sdkmanager to flash Jetpack 5.0.2 and use NV devkit to test it. I connect Xavier NX to the gigabit ethernet of my PC directly and there are not are not any ethernet switch and router between them. The ethernet speed still is about 500 Mbits/sec. But it never happen on JetPack 4.6.1. Do you have any suggestions?

Hi,

Could you share you test result with both TCP and UDP and share the result?

Following is the test result

nvidia@ubuntu:~/phoronix-test-suite$ phoronix-test-suite run pts/iperf 


No Internet Connectivity



iPerf 3.7:
    pts/iperf-1.1.1
    Network Test Configuration
    Server Address [Use 'localhost' if wishing to benchmark the local system/server performance.]

    Enter Value: 192.168.100.100

    Server Port [The default iperf3 server port is 5201.]

    Enter Positive Number: 12345

        1: 10 Seconds
        2: 30 Seconds
        3: 60 Seconds
        4: 360 Seconds
        5: Test All Options
        ** Multiple items can be selected, delimit by a comma. **
        Duration: 1


        1: TCP
        2: UDP
        3: UDP - 100Mbit Objective
        4: UDP - 1000Mbit Objective
        5: Test All Options
        ** Multiple items can be selected, delimit by a comma. **
        Test: 3,4


        1: 1
        2: 5
        3: 10
        4: 20
        5: 32
        6: 64
        7: Test All Options
        ** Multiple items can be selected, delimit by a comma. **
        Parallel: 1


Phoronix Test Suite v10.8.4
System Information


  PROCESSOR:              ARMv8 rev 0 @ 1.91GHz
    Core Count:           4                  
    Cache Size:           4 MB               
    Scaling Driver:       tegra194 schedutil 

  GRAPHICS:               NVIDIA TEGRA
    Vulkan:               1.3.212          
    Screen:               4096x2160        

  MOTHERBOARD:            EDK II 1.0-d7fb19b
    BIOS Version:         1.0-d7fb19b                     
    Network:              Realtek RTL8822CE 802.11ac PCIe 

  MEMORY:                 16GB

  DISK:                   16GB DG4016
    File-System:          ext4             
    Mount Options:        relatime rw      
    Disk Details:         Block Size: 4096 

  OPERATING SYSTEM:       Ubuntu 20.04
    Kernel:               5.10.104-tegra (aarch64)                                
    Desktop:              GNOME Shell 3.36.9                                      
    Display Server:       X Server 1.20.13                                        
    Compiler:             GCC 9.4.0                                               
    Security:             itlb_multihit: Not affected                             
                          + l1tf: Not affected                                    
                          + mds: Not affected                                     
                          + meltdown: Not affected                                
                          + spec_store_bypass: Not affected                       
                          + spectre_v1: Mitigation of __user pointer sanitization 
                          + spectre_v2: Mitigation of Branch predictor hardening  
                          + srbds: Not affected                                   
                          + tsx_async_abort: Not affected                         

    Would you like to save these test results (Y/n): n

iPerf 3.7:
    pts/iperf-1.1.1 [Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 100Mbit Objective - Parallel: 1]
    Test 1 of 2
    Estimated Trial Run Count:    3                     
    Estimated Test Run-Time:      3 Minutes             
    Estimated Time To Completion: 5 Minutes [20:09 CST] 
        Started Run 1 @ 20:05:42
        Started Run 2 @ 20:05:59
        Started Run 3 @ 20:06:16

    Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 100Mbit Objective - Parallel: 1:
        100
        100
        100

    Average: 100 Mbits/sec
    Deviation: 0.00%

iPerf 3.7:
    pts/iperf-1.1.1 [Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 1000Mbit Objective - Parallel: 1]
    Test 2 of 2
    Estimated Trial Run Count:    3                    
    Estimated Time To Completion: 1 Minute [20:07 CST] 
        Started Run 1 @ 20:06:39
        Started Run 2 @ 20:06:56
        Started Run 3 @ 20:07:14
        Started Run 4 @ 20:07:31 *
        Started Run 5 @ 20:07:48 *
        Started Run 6 @ 20:08:05 *
        Started Run 7 @ 20:08:22 *
        Started Run 8 @ 20:08:39 *
        Started Run 9 @ 20:08:56 *
        Started Run 10 @ 20:09:14 *
        Started Run 11 @ 20:09:31 *
        Started Run 12 @ 20:09:48 *
        Started Run 13 @ 20:10:05 *
        Started Run 14 @ 20:10:22 *
        Started Run 15 @ 20:10:39 *

    Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 1000Mbit Objective - Parallel: 1:
        444
        496
        568
        577
        593
        595
        602
        595
        588
        598
        593
        592
        595
        605
        599

    Average: 576 Mbits/sec
    Deviation: 7.83%
    Samples: 15

Hi,

Yes, I know. I can read your previous post. What I want to say is your test here only has UDP result…

Do you have TCP test result?

Sorry, please refer following result.



No Internet Connectivity



iPerf 3.7:
    pts/iperf-1.1.1
    Network Test Configuration
    Server Address [Use 'localhost' if wishing to benchmark the local system/server performance.]

    Enter Value: 192.168.100.100

    Server Port [The default iperf3 server port is 5201.]

    Enter Positive Number: 12345

        1: 10 Seconds
        2: 30 Seconds
        3: 60 Seconds
        4: 360 Seconds
        5: Test All Options
        ** Multiple items can be selected, delimit by a comma. **
        Duration: 1


        1: TCP
        2: UDP
        3: UDP - 100Mbit Objective
        4: UDP - 1000Mbit Objective
        5: Test All Options
        ** Multiple items can be selected, delimit by a comma. **
        Test: 5


        1: 1
        2: 5
        3: 10
        4: 20
        5: 32
        6: 64
        7: Test All Options
        ** Multiple items can be selected, delimit by a comma. **
        Parallel: 1


Phoronix Test Suite v10.8.4
System Information


  PROCESSOR:              ARMv8 rev 0 @ 1.91GHz
    Core Count:           4                  
    Cache Size:           4 MB               
    Scaling Driver:       tegra194 schedutil 

  GRAPHICS:               NVIDIA TEGRA
    Vulkan:               1.3.212          
    Screen:               1920x1080        

  MOTHERBOARD:            EDK II 1.0-d7fb19b
    BIOS Version:         1.0-d7fb19b                     
    Network:              Realtek RTL8822CE 802.11ac PCIe 

  MEMORY:                 16GB

  DISK:                   16GB DG4016
    File-System:          ext4             
    Mount Options:        relatime rw      
    Disk Details:         Block Size: 4096 

  OPERATING SYSTEM:       Ubuntu 20.04
    Kernel:               5.10.104-tegra (aarch64)                                
    Desktop:              GNOME Shell 3.36.9                                      
    Display Server:       X Server 1.20.13                                        
    Compiler:             GCC 9.4.0                                               
    Security:             itlb_multihit: Not affected                             
                          + l1tf: Not affected                                    
                          + mds: Not affected                                     
                          + meltdown: Not affected                                
                          + spec_store_bypass: Not affected                       
                          + spectre_v1: Mitigation of __user pointer sanitization 
                          + spectre_v2: Mitigation of Branch predictor hardening  
                          + srbds: Not affected                                   
                          + tsx_async_abort: Not affected                         

    Would you like to save these test results (Y/n): n

iPerf 3.7:
    pts/iperf-1.1.1 [Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: TCP - Parallel: 1]
    Test 1 of 4
    Estimated Trial Run Count:    3                     
    Estimated Test Run-Time:      1 Minute              
    Estimated Time To Completion: 3 Minutes [21:02 CST] 
        Started Run 1 @ 20:59:19
        Started Run 2 @ 20:59:36
        Started Run 3 @ 20:59:53

    Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: TCP - Parallel: 1:
        934
        912
        889

    Average: 912 Mbits/sec
    Deviation: 2.47%

iPerf 3.7:
    pts/iperf-1.1.1 [Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - Parallel: 1]
    Test 2 of 4
    Estimated Trial Run Count:    3                     
    Estimated Test Run-Time:      1 Minute              
    Estimated Time To Completion: 3 Minutes [21:02 CST] 
        Started Run 1 @ 21:00:17
        Started Run 2 @ 21:00:34
        Started Run 3 @ 21:00:51

    Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - Parallel: 1:
        1.05
        1.05
        1.05

    Average: 1.05 Mbits/sec
    Deviation: 0.00%

iPerf 3.7:
    pts/iperf-1.1.1 [Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 100Mbit Objective - Parallel: 1]
    Test 3 of 4
    Estimated Trial Run Count:    3                     
    Estimated Test Run-Time:      1 Minute              
    Estimated Time To Completion: 2 Minutes [21:02 CST] 
        Started Run 1 @ 21:01:14
        Started Run 2 @ 21:01:31
        Started Run 3 @ 21:01:48

    Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 100Mbit Objective - Parallel: 1:
        100
        100
        100

    Average: 100 Mbits/sec
    Deviation: 0.00%

iPerf 3.7:
    pts/iperf-1.1.1 [Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 1000Mbit Objective - Parallel: 1]
    Test 4 of 4
    Estimated Trial Run Count:    3                    
    Estimated Time To Completion: 1 Minute [21:02 CST] 
        Started Run 1 @ 21:02:11
        Started Run 2 @ 21:02:29
        Started Run 3 @ 21:02:46

    Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 1000Mbit Objective - Parallel: 1:
        600
        601
        601

    Average: 601 Mbits/sec
    Deviation: 0.10%

Hi,

When you run the test, did you enable jetson clocks to pull up the clock/frequency?

Do you mean power mode? I use default setting.

No, power mode is different from jetson_clocks.

For example, switching power mode can turn on some cpu cores but the clock on these cores are still not maximum.

Please just open an terminal and run sudo ./jetson_clocks

After this, overall system will run in maximum frequency. Do your test under such situation.

Hi WayneWWW,

I tested it and the speed is same.

nvidia@ubuntu:~$ sudo jetson_clocks 
nvidia@ubuntu:~$ phoronix-test-suite run pts/iperf 


No Internet Connectivity



iPerf 3.7:
    pts/iperf-1.1.1
    Network Test Configuration
    Server Address [Use 'localhost' if wishing to benchmark the local system/server performance.]

    Enter Value: 192.168.100.100

    Server Port [The default iperf3 server port is 5201.]

    Enter Positive Number: 12345

        1: 10 Seconds
        2: 30 Seconds
        3: 60 Seconds
        4: 360 Seconds
        5: Test All Options
        ** Multiple items can be selected, delimit by a comma. **
        Duration: 1


        1: TCP
        2: UDP
        3: UDP - 100Mbit Objective
        4: UDP - 1000Mbit Objective
        5: Test All Options
        ** Multiple items can be selected, delimit by a comma. **
        Test: 5


        1: 1
        2: 5
        3: 10
        4: 20
        5: 32
        6: 64
        7: Test All Options
        ** Multiple items can be selected, delimit by a comma. **
        Parallel: 1


Phoronix Test Suite v10.8.4
System Information


  PROCESSOR:              ARMv8 rev 0 @ 1.91GHz
    Core Count:           4                  
    Cache Size:           4 MB               
    Scaling Driver:       tegra194 schedutil 

  GRAPHICS:               NVIDIA TEGRA
    Vulkan:               1.3.212          
    Screen:               1920x1080        

  MOTHERBOARD:            EDK II 1.0-d7fb19b
    BIOS Version:         1.0-d7fb19b                     
    Network:              Realtek RTL8822CE 802.11ac PCIe 

  MEMORY:                 16GB

  DISK:                   16GB DG4016
    File-System:          ext4             
    Mount Options:        relatime rw      
    Disk Details:         Block Size: 4096 

  OPERATING SYSTEM:       Ubuntu 20.04
    Kernel:               5.10.104-tegra (aarch64)                                
    Desktop:              GNOME Shell 3.36.9                                      
    Display Server:       X Server 1.20.13                                        
    Compiler:             GCC 9.4.0                                               
    Security:             itlb_multihit: Not affected                             
                          + l1tf: Not affected                                    
                          + mds: Not affected                                     
                          + meltdown: Not affected                                
                          + spec_store_bypass: Not affected                       
                          + spectre_v1: Mitigation of __user pointer sanitization 
                          + spectre_v2: Mitigation of Branch predictor hardening  
                          + srbds: Not affected                                   
                          + tsx_async_abort: Not affected                         

    Would you like to save these test results (Y/n): n

iPerf 3.7:
    pts/iperf-1.1.1 [Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: TCP - Parallel: 1]
    Test 1 of 4
    Estimated Trial Run Count:    3                     
    Estimated Test Run-Time:      1 Minute              
    Estimated Time To Completion: 3 Minutes [23:40 CST] 
        Started Run 1 @ 23:38:03
        Started Run 2 @ 23:38:20
        Started Run 3 @ 23:38:37
        Started Run 4 @ 23:38:54 *
        Started Run 5 @ 23:39:12 *

    Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: TCP - Parallel: 1:
        918
        894
        872
        930
        907

    Average: 904 Mbits/sec
    Deviation: 2.48%
    Samples: 5

iPerf 3.7:
    pts/iperf-1.1.1 [Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - Parallel: 1]
    Test 2 of 4
    Estimated Trial Run Count:    3                     
    Estimated Test Run-Time:      1 Minute              
    Estimated Time To Completion: 3 Minutes [23:41 CST] 
        Started Run 1 @ 23:39:35
        Started Run 2 @ 23:39:52
        Started Run 3 @ 23:40:09

    Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - Parallel: 1:
        1.05
        1.05
        1.05

    Average: 1.05 Mbits/sec
    Deviation: 0.00%

iPerf 3.7:
    pts/iperf-1.1.1 [Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 100Mbit Objective - Parallel: 1]
    Test 3 of 4
    Estimated Trial Run Count:    3                     
    Estimated Test Run-Time:      1 Minute              
    Estimated Time To Completion: 2 Minutes [23:41 CST] 
        Started Run 1 @ 23:40:32
        Started Run 2 @ 23:40:49
        Started Run 3 @ 23:41:06

    Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 100Mbit Objective - Parallel: 1:
        100
        100
        100

    Average: 100 Mbits/sec
    Deviation: 0.00%

iPerf 3.7:
    pts/iperf-1.1.1 [Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 1000Mbit Objective - Parallel: 1]
    Test 4 of 4
    Estimated Trial Run Count:    3                    
    Estimated Time To Completion: 1 Minute [23:42 CST] 
        Started Run 1 @ 23:41:30
        Started Run 2 @ 23:41:47
        Started Run 3 @ 23:42:04

    Server Address: 192.168.100.100 - Server Port: 12345 - Duration: 10 Seconds - Test: UDP - 1000Mbit Objective - Parallel: 1:
        594
        600
        608

    Average: 601 Mbits/sec
    Deviation: 1.17%

Hi,

So according to your result, looks like TCP has better result than UDP. UDP Only has 600Mbps.

Yes. But why udp speed is slower than tcp and only happen on Jetpack 5.0.2? Generally, udp is faster than tcp beacuse it doesn’t care about packets loss and tcp has handshake mechanism to avoid packet loss then the speed will slower than udp.

Hey @WayneWWW

we use iperf3 with the default setting for our tests usually. The result is a good estimate about how fast you can transfer images. A bit fluctuation is quite normal, but half a gigabit is something I’ve last seen on am IMX6 powered machine.

Server and client connected via LAN Cable.

Server:
iperf3 -s

Client:
iperf3 -c {server_ip}

This test yields results around 980Mbit/s with all devices whereas the Xavier NX results in ~480MBit/s

Is there any special command you’d like me to run?

Hi @seeky15

Could you read my previous comment with myers first and try the test too?

Hi WayneWWW,

Why is udp slower than tcp on Jetpack 5.0.2? If tcp can reach 1000 Mbits/sec with my test environment, I think there is no problem in my test environment. Is the situation normal?