USB dev mode transfer speed

I’m running Orin AGX with the USB dev mode (also known as Ethernet over USB) as suggested in L4T-README README-usb-dev-mode.txt.

Running the commands

$ lsusb
Bus 002 Device 003: ID 0955:7020 NVidia Corp.
$ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 10000M
    |__ Port 8: Dev 3, If 0, Class=Communications, Driver=rndis_host, 5000M
    |__ Port 8: Dev 3, If 1, Class=CDC Data, Driver=rndis_host, 5000M
    |__ Port 8: Dev 3, If 2, Class=Communications, Driver=cdc_acm, 5000M
    |__ Port 8: Dev 3, If 3, Class=CDC Data, Driver=cdc_acm, 5000M
    |__ Port 8: Dev 3, If 4, Class=Mass Storage, Driver=usb-storage, 5000M
    |__ Port 8: Dev 3, If 5, Class=Communications, Driver=cdc_ncm, 5000M
    |__ Port 8: Dev 3, If 6, Class=CDC Data, Driver=cdc_ncm, 5000M

Show that the Orin AGX link is capable of USB3 speeds. But when I run tests with iperf3 I can only get transfer speeds around 982 Mbits/s

$ iperf3 -c 192.168.55.1
Connecting to host 192.168.55.1, port 5201
[  4] local 192.168.55.100 port 56000 connected to 192.168.55.1 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec   114 MBytes   954 Mbits/sec
[  4]   1.00-2.00   sec   116 MBytes   973 Mbits/sec
[  4]   2.00-3.00   sec   117 MBytes   982 Mbits/sec
[  4]   3.00-4.00   sec   118 MBytes   987 Mbits/sec
[  4]   4.00-5.00   sec   117 MBytes   985 Mbits/sec
[  4]   5.00-6.00   sec   118 MBytes   987 Mbits/sec
[  4]   6.00-7.00   sec   118 MBytes   988 Mbits/sec
[  4]   7.00-8.00   sec   118 MBytes   987 Mbits/sec
[  4]   8.00-9.00   sec   118 MBytes   987 Mbits/sec
[  4]   9.00-10.00  sec   118 MBytes   988 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec  1.14 GBytes   982 Mbits/sec                  sender
[  4]   0.00-10.00  sec  1.14 GBytes   982 Mbits/sec                  receiver

iperf Done.

I tested this with both Windows and Linux host and the results are the same. I would expect speeds close to 5000 Mbits/sec. I also tested the bandwidth with nuttcp and it gave similar results.

Any advice how could I reach USB3 speeds around 5000 Mbits/sec?

About the setup

  • I’m using jetson-agx-orin-devkit-as-nx-16gb
  • I had to reflash the device according to these instructions in order to get the USB dev mode work

Hi,
Would like to confirm the set up, so Orin is connected to a host PC through type-C port and run in device mode. And the host PC accesses internet through Ethernet port on Orin developer kit. Do we understand the set up correctly?

Hi DaneLLL,

so Orin is connected to a host PC through type-C port and run in device mode

Yes. Only a single USB cable is used, USB-A to USB-C.

the host PC accesses internet through Ethernet port on Orin developer kit

No. The host is connected to internet directly through ethernet port. Orin AGX is not connected to internet at all and the ethernet port is not used.

On Linux host I was able to fix this by running

ifconfig l4tbr0 mtu 9000

on Orin AGX and then I got 2.5 Gbps with iPerf.

On Windows host, I still get less than 1 Gbps.

Hi,
Generally we set up with Linux host PC. Would suggest use this setup. It is possible to hit certain issues with Windows host PC.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.