Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3441

Hardware • USB 2.0 port + Gigabit Ethernet USB = low speed

$
0
0
Hello everyone,
I have a home-made NAS server based on old SOC motherboard (GA-1IPCL-RH). It has only 100mbps Ethernet port, but USB 2.0 ports. So having 1000mbits home LAN I decided to buy a USB 1Gbps Ethernet adapter to increase network speed to 480M (USB 2.0 bandwith).
I bought and installed TP-Link UE 306. And I'm a bit confused - I have 1000mb link, but network speed still limited to 100mb.

We can see that USB adapter operates at 480M:

Code:

root@HomeServer:~# lsusb -t/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/8p, 480M   |__ Port 8: Dev 2, If 0, Class=Vendor Specific Class, Driver=ax88179_178a, 480M
Let's check if there is 1000mb link:

Code:

root@HomeServer:~# cat /sys/class/net/enx7cc2c64a4309/speed1000
alright, doublechecking:

Code:

root@HomeServer:~# ethtool enx7cc2c64a4309Settings for enx7cc2c64a4309:        Supported ports: [ TP    MII ]        Supported link modes:   10baseT/Half 10baseT/Full                                100baseT/Half 100baseT/Full                                1000baseT/Half 1000baseT/Full        Supported pause frame use: No        Supports auto-negotiation: Yes        Supported FEC modes: Not reported        Advertised link modes:  1000baseT/Full        Advertised pause frame use: No        Advertised auto-negotiation: No        Advertised FEC modes: Not reported        Speed: 1000Mb/s        Duplex: Full        Auto-negotiation: off        Port: MII        PHYAD: 3        Transceiver: internal        Supports Wake-on: pg        Wake-on: d        Current message level: 0x00000007 (7)                               drv probe link        Link detected: yes
I also see a green LED on my D-link DGS-1024D switch which means we have a real 1000mb connection.

But, checking iperf3 to router with gigabit port confusing me:

Code:

root@HomeServer:~# iperf3 -c 192.168.1.1Connecting to host 192.168.1.1, port 5201[  5] local 192.168.1.181 port 49852 connected to 192.168.1.1 port 5201[ ID] Interval           Transfer     Bitrate         Retr  Cwnd[  5]   0.00-1.00   sec  10.3 MBytes  86.0 Mbits/sec    0    107 KBytes[  5]   1.00-2.00   sec  9.88 MBytes  82.9 Mbits/sec    0    107 KBytes[  5]   2.00-3.00   sec  10.1 MBytes  84.5 Mbits/sec    0    122 KBytes[  5]   3.00-4.00   sec  9.88 MBytes  82.9 Mbits/sec    0    122 KBytes[  5]   4.00-5.00   sec  10.1 MBytes  84.4 Mbits/sec    0    122 KBytes[  5]   5.00-6.00   sec  9.88 MBytes  82.9 Mbits/sec    0    122 KBytes[  5]   6.00-7.00   sec  10.1 MBytes  84.4 Mbits/sec    0    122 KBytes[  5]   7.00-8.00   sec  9.88 MBytes  82.9 Mbits/sec    0    122 KBytes[  5]   8.00-9.00   sec  9.88 MBytes  83.0 Mbits/sec    0    122 KBytes[  5]   9.00-10.00  sec  10.1 MBytes  84.4 Mbits/sec    0    122 KBytes- - - - - - - - - - - - - - - - - - - - - - - - -[ ID] Interval           Transfer     Bitrate         Retr[  5]   0.00-10.00  sec  99.9 MBytes  83.8 Mbits/sec    0             sender[  5]   0.00-10.03  sec  99.6 MBytes  83.3 Mbits/sec                  receiver
Taking into account USB 2.0 speed 480M and 1000M ethernet link I supposed to get real speed something like 400-480 mbit, but I didn't.

Any ideas how to boost USB 2.0 connected adapter more that 100 mbit?

Thanks!

Statistics: Posted by Gate007 — 2024-05-04 18:46 — Replies 1 — Views 63



Viewing all articles
Browse latest Browse all 3441

Trending Articles