I can not get Jetson Nano (ubuntu 18.04 , 4GB ram) to achieve gigabit ethernet speeds required for my ethernet GigE camera.
When running my code network speed seem to be limited to around 18 MiB/s.
I have a static IP with mtu of 9000 (required by camera), link negotiation is Automatic (using manual with speed 1Gb/s I only got around 10MiB/s).
I also ran the following lines but they did not improve the speed at all:
sudo sysctl -w net.core.rmem_max=33554432 sudo sysctl -w net.core.wmem_max=33554432 sudo sysctl -w net.core.rmem_default=33554432 sudo sysctl -w net.core.wmem_default=33554432
I designed my code in Windows 10, where everything runs seamlessly, meaning my hardware shouldn’t be a problem. When I run the same code on the same switch port on Windows 10 I get proper speeds(up to 150MiB/s), therefore I seem to be missing something in Jetson Nano’s settings.
My switch, PoE and PLC are all gigabit supported and do not cap the speed. Switch is also 9000 mtu rated so that is not a problem.
What can I try to get more speed from the ethernet port ?
Settings in ifconfig and ethtool seem to be correct as well.
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 8972`
inet 192.168.250.3 netmask 255.255.255.0 broadcast 192.168.250.255
inet6 fe80::38f4:becc:6aae:484d prefixlen 64 scopeid 0x20
ether 00:04:4b:e7:66:b8 txqueuelen 1000 (Ethernet)
RX packets 4164405 bytes 5867953697 (5.8 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4494 bytes 288007 (288.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 151 base 0xb000
ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: No 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: No Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: on MDI-X: Unknown Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x00000033 (51) drv probe ifdown ifup Link detected: yes Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface link-local 0.0.0.0 255.255.0.0 U 1000 0 0 eth0 192.168.250.0 0.0.0.0 255.255.255.0 U 100 0 0 eth0