r8125b跑不满带宽?
greenice897 opened this issue · 2 comments
greenice897 commented
我直接clone你的r8125源码,加入到openwrt官方master分支编译,软路由J4125+r8125b安装pve+openwrt,总是跑不满带宽,1000M的宽带,只能跑600多~700多的样子,是什么情况?你有这种情况吗?
csrutil commented
没有这种情况,有可能是你安装了特殊的插件导致的。
root@pcdn:~# speedtest -s 5396 -P2
Speedtest by Ookla
Server: China Telecom JiangSu 5G - Suzhou (id: 5396)
ISP: China Mobile
Idle Latency: 43.97 ms (jitter: 0.47ms, low: 43.56ms, high: 44.45ms)
Download: 942.69 Mbps (data used: 1.2 GB)
75.87 ms (jitter: 7.33ms, low: 41.27ms, high: 114.29ms)
Upload: 48.04 Mbps (data used: 63.4 MB)
39.05 ms (jitter: 18.74ms, low: 37.94ms, high: 332.35ms)
Packet Loss: Not available.
# nas to main router
[sam@TS212P3 ~]$ iperf3 -c 10.0.10.1
Connecting to host 10.0.10.1, port 5201
[ 5] local 10.0.10.10 port 37672 connected to 10.0.10.1 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 276 MBytes 2.31 Gbits/sec 0 744 KBytes
[ 5] 1.00-2.00 sec 266 MBytes 2.24 Gbits/sec 0 744 KBytes
[ 5] 2.00-3.00 sec 269 MBytes 2.25 Gbits/sec 0 744 KBytes
[ 5] 3.00-4.00 sec 266 MBytes 2.23 Gbits/sec 0 744 KBytes
[ 5] 4.00-5.00 sec 270 MBytes 2.26 Gbits/sec 0 744 KBytes
[ 5] 5.00-6.00 sec 270 MBytes 2.26 Gbits/sec 0 744 KBytes
[ 5] 6.00-7.00 sec 269 MBytes 2.25 Gbits/sec 0 744 KBytes
[ 5] 7.00-8.00 sec 268 MBytes 2.25 Gbits/sec 0 819 KBytes
[ 5] 8.00-9.00 sec 268 MBytes 2.24 Gbits/sec 0 863 KBytes
[ 5] 9.00-10.00 sec 269 MBytes 2.25 Gbits/sec 0 905 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 2.63 GBytes 2.26 Gbits/sec 0 sender
[ 5] 0.00-10.02 sec 2.62 GBytes 2.24 Gbits/sec receiver
iperf Done.
fox85 commented
我直接clone你的r8125源码,加入到openwrt官方master分支编译,软路由J4125+r8125b安装pve+openwrt,总是跑不满带宽,1000M的宽带,只能跑600多~700多的样子,是什么情况?你有这种情况吗?
你是不是使用了mwan3做负载均衡?
我发现的情况是在openwrt kernel 5.x就会出现该问题,而退回使用openwrt kernel 4.14也即openwrt 19.07.x 则不会有问题。我猜测是从kernel 5.x开始引入的nftables作为firewall,但mwan3又依赖iptables所以要用回firewall4而引起的,因为openwrt 19没有使用nftables做firewall的。
另外希望大神能帮忙移植i226v的驱动至 19.07.x,拜托了😀