1 1
chris.lx

H5 usb slow speed

Recommended Posts

I use a NEO2 (H5), with armbian linux 4.19.13-sunxi64, and have a StarTech usb2.0 to Gigabit-ethernet adapter, which I plug in the usb slot of the NEO2 and which gives me a new additional ethernet interface.

 

iperf3 on this interface (against another NEO2 with its generic gigabit interface) gives maximum 111 MBit/sec, even with the tips in https://forum.armbian.com/topic/7001-slow-usb-speed-on-h5-devices-orangepi-prime-probably-cpu-governor-related/ (which actually dont change much)

 

Using a raspberry pi (2B) with the same adapter and cable I get 170 MBit/sec, which is significantly more (although still not what one should hope for, which is up to 300, but maybe the StarTech is not perfect)

So the usb adapter is not the problem, and I observe similar speeds (around 100 MBit/sec) with other devices too.

 

Why is the usb in the H5 so slow? I need at least 150MBit/sec (ok not really for this adapter, actually for another one, but never mind)

Share this post


Link to post
Share on other sites
11 hours ago, chris.lx said:

Why is the usb in the H5 so slow? I need at least 150MBit/sec (ok not really for this adapter, actually for another one, but never mind)

 

Try to ID the chipset in your adapter - doing a quick google search, it might be the SMSC7500 aka Microchip LAN7500 - you can check this by looking either at the dmesg output, or just do a quick lsusb and look at things there...

 

Your observed performance is similar to what I see with the Neo2 using a Trendnet 1GB USB3.0 adapter using the ASIX Electronics AX88179 chipset...

sfx@nano2:~$ iperf3 -c 192.168.1.20 -Z -P 4
[SUM]   0.00-10.00  sec   126 MBytes   106 Mbits/sec    0             sender
[SUM]   0.00-10.00  sec   126 MBytes   106 Mbits/sec                  receiver

sfx@nano2:~$ iperf3 -c 192.168.1.20 -Z -P 4 -R
[SUM]   0.00-10.00  sec   421 MBytes   353 Mbits/sec    0             sender
[SUM]   0.00-10.00  sec   419 MBytes   352 Mbits/sec                  receiver

Search around on the forums - I recall seeing a couple of posts where the realtek based USB tend to do better due to certain features that the ASIX chip for offloads

 

That being said - it might just be the H5's USB implementation... I haven't had much need to dive into it, as generally the on-board GMAC runs fine.

 

I don't think that cpu governor has much to do with this.

Share this post


Link to post
Share on other sites
1 1