- Status Unconfirmed
- Percent Complete
- Task Type Bug Report
- Category Kernel
- Assigned To No-one
- Operating System All
- Severity Critical
- Priority Very Low
- Reported Version openwrt-19.07
- Due in Version Undecided
-
Due Date
Undecided
- Private
FS#3457 - ipq40xx: NBG6617/B-1300 using VLANs is incredibly slow (<10Mbit/s
The listed config below is running fine on 19.07 till 19.07.3. From 19.07.4 on the throughput to peers on the tagged VLANs falls below 10Mbit/s. Seems there is some regression introduced on 19.07.4.
Sample config:
config interface 'ff_dhcp' option proto 'static' option ifname 'eth0.30' option ipaddr '10.36.164.65/27' config interface 'mgmt' option proto 'static' option ifname 'eth0.42' option ipaddr '10.36.190.177/28' config switch_vlan option device 'switch0' option vlan '30' option ports '0t 3 4' config switch_vlan option device 'switch0' option vlan '42' option ports '0t 3t 4t'
* Note:
As essedma has some bugs i cannot use switchport, which is hardcoded to VLAN2. But i’m fine with just leaving it as it is.
I'm also affected by this issue. The issue appears to be with the reception of tagged traffic on the interface. I wonder if this may be related to this forum discussion but the file that PolynomialDivision modified doesn't appear to exist in the 19.07.4 tagged release.
Here are some iperf3 TCP tests receiving traffic, showing the impacted performance on 19.07.4 and close to line rate with 18.06.5.
Here are UDP tests first with 19.07.4 and then 18.06.5. The drop rate is a bit high with the UDP compared with the TCP throughput but I assume that the TCP algorithm does a better job of pacing the packets than iperf in UDP mode.
This commit is related, but shouldn't affect 19.07.4 as far as I can tell.
Please read my commit message and test if u can:
https://github.com/openwrt/openwrt/pull/3596
This should fix the issue. ;)
Thanks for that Polynomdivision, but I don't believe that patch can be applied against the 19.07 tree; there's no `edma_axi.c` file.
John, as you can see on Github someone already created a 19.07 branch with adjusted patches.
I looked on github and didn't see it, can you please provide us with a link to the commit, PR or branch you are talking about rotanid?
https://github.com/openwrt/openwrt/pull/3596#issuecomment-735254588