WRT1900ACS only 10mbps in upload -kernel 5.10+ issue-

Dear, I 've found an issue with my router.
I'm on 21.02 SNAPSHOT.
My upload speed is only 10 mbps only when a device with LAN connection with only 10mbps is connected to the switch of router.
It seems that the upload speed follow the LAN3 speed...

Lan1 device is 1000, but upload speed is 10. As soon I disconnect lan3 upload is back to full..

PS C:\Users\Andrea\Downloads\iperf-3.1.3-win64> .\iperf3.exe -c 192.168.181.1
Connecting to host 192.168.181.1, port 5201
[  4] local 192.168.181.159 port 50593 connected to 192.168.181.1 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.01   sec   384 KBytes  3.12 Mbits/sec
[  4]   1.01-2.01   sec   640 KBytes  5.26 Mbits/sec
[  4]   2.01-3.01   sec  1.12 MBytes  9.35 Mbits/sec
[  4]   3.01-4.01   sec  1.12 MBytes  9.52 Mbits/sec
[  4]   4.01-5.01   sec  1.12 MBytes  9.41 Mbits/sec
[  4]   5.01-6.00   sec  1.12 MBytes  9.50 Mbits/sec
[  4]   6.00-7.00   sec  1.12 MBytes  9.46 Mbits/sec
[  4]   7.00-8.00   sec  1.12 MBytes  9.41 Mbits/sec
[  4]   8.00-9.01   sec  1.12 MBytes  9.40 Mbits/sec
[  4]   9.01-10.01  sec  1.12 MBytes  9.44 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.01  sec  10.0 MBytes  8.38 Mbits/sec                  sender
[  4]   0.00-10.01  sec  9.81 MBytes  8.23 Mbits/sec                  receiver

iperf Done.
PS C:\Users\Andrea\Downloads\iperf-3.1.3-win64> .\iperf3.exe -c 192.168.181.1 -R
Connecting to host 192.168.181.1, port 5201
Reverse mode, remote host 192.168.181.1 is sending
[  4] local 192.168.181.159 port 50611 connected to 192.168.181.1 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  95.6 MBytes   802 Mbits/sec
[  4]   1.00-2.00   sec  97.9 MBytes   821 Mbits/sec
[  4]   2.00-3.00   sec   101 MBytes   847 Mbits/sec
[  4]   3.00-4.00   sec   101 MBytes   850 Mbits/sec
[  4]   4.00-5.00   sec   105 MBytes   884 Mbits/sec
[  4]   5.00-6.00   sec  92.3 MBytes   774 Mbits/sec
[  4]   6.00-7.00   sec   105 MBytes   877 Mbits/sec
[  4]   7.00-8.00   sec   102 MBytes   849 Mbits/sec
[  4]   8.00-9.00   sec  99.4 MBytes   836 Mbits/sec
[  4]   9.00-10.00  sec   107 MBytes   894 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1006 MBytes   844 Mbits/sec   23             sender
[  4]   0.00-10.00  sec  1006 MBytes   844 Mbits/sec                  receiver

What does cat /sys/class/net/lan3/speed show?

it shows 10 and the upload speed is 10 on wan... "no sense" as soon as I disconnect this cable or it is 1000 upload speed change
I use openVPN and also tun0 speed is 10... but this is not an issue...

If my lan3 speed or lan2 or lan4 speed is 10 my upload speed follow the lan speed to 10... This do not touch download speed...

Done more test...
If I have 100Mbps connection on Router max bandwidth is 100... Seems that is aligned to the lowest...

Now I'm back to OpenWrt 19.07-SNAPSHOT r11328-81266d9001...

BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07-SNAPSHOT, r11328-81266d9001
 -----------------------------------------------------
root@WRT1900ACS:~# iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.181.159, port 48454
[  5] local 192.168.181.1 port 5201 connected to 192.168.181.159 port 48456
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   108 MBytes   905 Mbits/sec                  
[  5]   1.00-2.00   sec   109 MBytes   915 Mbits/sec                  
[  5]   2.00-3.00   sec   109 MBytes   914 Mbits/sec                  
[  5]   3.00-4.00   sec   107 MBytes   900 Mbits/sec                  
[  5]   4.00-5.00   sec   108 MBytes   907 Mbits/sec                  
[  5]   5.00-6.00   sec   109 MBytes   912 Mbits/sec                  
[  5]   6.00-7.00   sec   107 MBytes   896 Mbits/sec                  
[  5]   7.00-8.00   sec   109 MBytes   917 Mbits/sec                  
[  5]   8.00-9.00   sec   108 MBytes   905 Mbits/sec                  
[  5]   9.00-10.00  sec   108 MBytes   903 Mbits/sec                  
[  5]  10.00-10.00  sec   293 KBytes   892 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.00  sec  1.06 GBytes   907 Mbits/sec 

So, it's a problem of 21.02

So, nobody never meet this kind of issue before?

Never noticed such behaviour, but I don't kick things down to a lower speed so have never tested same. Does have me wondering as to whether the same thing is seen on a 5.10.x kernel image. I noticed a lot of DSA changes come in a few versions back, and did not see same in the 5.4.x version pushed at the same time.

Same thing on 5.10

On 5.4 was solved by this line

config device
	option name 'wan'
	option macaddr 'xx:xx:xx:xx:xx'

No effect on 5.10

Kia Ora

I too get this on kernel 5.10.x. It seems the upload speed will default to the lowest registered port speed on the bridge. I have a TV that connects at 100mpbs, and I have another PC that when it is sleeping will only register as 10mpbs which throttles everything.

If I separate the ports to their own iface then no issues.

I don't know, but according to these kernel changes, I wonder if it is something in these bits of additional code (not necessarily the highlighted bit)...5.10 on the left vs 5.4 on the right

I used to experience this issue on 5.4.x however that appears resolved hence why I went searching. Too bad I somehow cleaned my history and I cannot recall where I got the above info from

I can confirm the same with kernel 5.10 with lan ports in br-lan mode.

I have a tv box that sometimes connects at 100mbps.
Upon doing a speed test the upload speed is limited to 100mbps. Only the upload speed is affected.

As soon as I turn the tv box off and repeat the speed test I have full line upload speed 500mbps.

How top separate without create 4 different networks?

I don't know the best way TBH

I removed br-lan then assigned just the ports to each iface that I needed - separating out the slower speeds.

Apparently using firewall rules should allow some cross-net access but I have had little success with this - could be the ancient modded NAS I am using or my config. :man_shrugging:

One thing to note - which I am probably not explaining correctly - that it appears to only be traffic on that specific 'switch' with the slower NICs that get throttled. When running speedtests from the router itself using netperf-speedtest to an external site there was no slowness.

Alternatively plugging the slower NICs in to an external switch - I have a Netgear SOHO GS308 8-Port Gigabit switch - allows me to bypass the issue. At least for my TV.

The other PC's NIC connected to the router on the same iface, when in sleep mode, drops the Ethernet to 10mpbs - apparently this may be overcome by disabling the "Energy Efficient Ethernet" and/or "Green Ethernet" settings in the PC NIC properties however I have not tested this.

Just tested kernel v5.10.90 and it may not be eee that is the issue as my sleeping gigabit NIC (at 10mpbs) is no longer limiting the speed. However the 100mbps (max) TV NIC is the limiting factor - so br-lan seems to default to the lowest 'native' speed.

Not helpful, I know.

I don't know why not all people see this issue...

probably as most device NICs are minimum 100mbps nowadays... :man_shrugging:

4K video only requires about 15-25mbps

And not too many people have FTTH exceeding 100mbps I suspect from what I hear in the forums

So just tried this with kernel 5.10.92 and even though my TV (100mbps) is running through a gigabit switch it seems something (somewhere in the mac table???) knows there is a 100mbps NIC and my uploads are limited on the bridge. Obviously if I remove the port from the bridge all is OK.

Bugger.

Kia Ora All - has anyone heard anything on this lately?

I've been unable to test any latest builds and have not noticed anything in the commits.

Hi there,

i was struggling this weekend with the same issue. I wondered why my Upload was only 10Mbit as i have normally 50Mbps.
Now i found out, that a new PC which is connected to the Router set the Port Speed to 10Mbit if it goes to sleep. Then my upload is also 10Mbit.
If i wake up the PC and it goes to 1000Mbit my upload is also normal.
Found now this thread but my router is a

Netgear R6260 on OpenWrt SNAPSHOT r19090-34fd5e325a

so everytime i see

[53784.989685] mt7530 mdio-bus:1f lan2: Link is Up - 10Mbps/Full - flow control off

the upload speed from other LAN devices doesn‘t go up more than 10Mbit/s.

There's a similiar report on GitHub:

1 Like

Nice find. Yeah it looks like its the same problem.

Seems to be a problem on 5.10.x kernel...

If you check with 21.01.x with kernel 5.4.x is it ok right?