Low Ethernet trasmision speed

Hi guys,

I want to use a Jetson Xavier NX as the host system for an Azure Kinect
camera. After some minor processing I want to stream the point cloud from the
Kinect camera into another system using an Ethernet cable.

Unfortunately, the transmission of data is not fast enough. I ran some
test using iperf3 to check on the transfer speed between the Jetson and a
regular laptop.

This is what I got:

Using the Jetson as a server and calling iperf3 -c jetson from a regular laptop:

Connecting to host jetson, port 5201
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   879 MBytes   737 Mbits/sec   43             sender
[  4]   0.00-10.00  sec   875 MBytes   734 Mbits/sec                  receiver

Using the Jetson as a client and calling calling iperf3 -c not-the-jetson from the Jetson:

[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   163 MBytes   136 Mbits/sec  2501             sender
[  4]   0.00-10.00  sec   162 MBytes   136 Mbits/sec                  receiver

As a reference, here is the output of the same test between two regular laptops

[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.10 GBytes   943 Mbits/sec    6             sender
[  4]   0.00-10.00  sec  1.10 GBytes   941 Mbits/sec                  receiver

Here the info I got from calling ethtool eth0 in the Jetson

Settings for eth0:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Link partner advertised link modes:  10baseT/Half 10baseT/Full
	                                     100baseT/Half 100baseT/Full
	                                     1000baseT/Full
	Link partner advertised pause frame use: Symmetric Receive-only
	Link partner advertised auto-negotiation: Yes
	Link partner advertised FEC modes: Not reported
	Speed: 1000Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 1
	Transceiver: internal
	Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
	Link detected: yes 

So, my question is: What do I need to do to improve the data transfer between the Jetson
and my laptop?

Is it a port to port setup or a switch/hub is getting involved?

Hi,

Thanks for you answer and sorry for the late replay. It is a port to port setup. I set it up by selecting Link-Local only in the IPv4 Method from the wired network configuration menu in Ubuntu

Hi Wayne,

Any update on this?

You may try to increase socket kernel buffersize:

# Get current buffer max size for TX:
sudo sysctl net.core.wmem_max

# Set bigger size:
sudo sysctl -w net.core.wmem_max=33554432

Please check if this topic help your case.