orangepi-xunlong / orangepi-build

Orange Pi build for H2+, H3, H5, H6, H616, RK3328, RK3399 and RK3588(s)
http://www.orangepi.cn/
GNU General Public License v2.0
643 stars 273 forks source link

Orange Pi 3-lts Ethernet-to-USB3.0 #96

Closed Saketeas closed 3 months ago

Saketeas commented 12 months ago

orangepi 3-lts 使用kernel4.9的情况下使用网卡为RTL8153b的usb3.0转千兆网口,测速上下行速度可以达到千兆。 但是使用kernel5.10测速无法达到千兆,驱动文件也是已经换了最新版本,还是没有效果。

kernel5.10测速

root@orangepi3-lts:~# iperf3 -c 192.168.3.201 Connecting to host 192.168.3.201, port 5201 [ 5] local 192.168.3.146 port 44376 connected to 192.168.3.201 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 24.8 MBytes 208 Mbits/sec 0 147 KBytes [ 5] 1.00-2.00 sec 23.5 MBytes 198 Mbits/sec 0 147 KBytes [ 5] 2.00-3.00 sec 23.5 MBytes 197 Mbits/sec 0 147 KBytes [ 5] 3.00-3.15 sec 3.66 MBytes 202 Mbits/sec 0 147 KBytes

root@orangepi3-lts:~# iperf3 -c 192.168.3.201 -R Connecting to host 192.168.3.201, port 5201 Reverse mode, remote host 192.168.3.201 is sending [ 5] local 192.168.3.146 port 44380 connected to 192.168.3.201 port 5201 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 47.5 MBytes 399 Mbits/sec [ 5] 1.00-2.00 sec 48.4 MBytes 406 Mbits/sec [ 5] 2.00-2.99 sec 48.1 MBytes 406 Mbits/sec

root@orangepi3-lts:~# lsusb -t /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M