New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disconnections still exist on SNAPSHOT with latest fixes. Also internet loss. MT7621|MT7603 #391
Comments
At the time of the tests, I noticed that when there are several clients nearby and a little bit further, then the clients who are nearby for some reason lose their Internet connection. |
Also i have same on latest stable 19.07.2 |
Empirically, I found out that the loss of the Internet occurs even with clients connected via LAN. 4 clients were connected to the 2.4 network, 5 one was connected to the network, a laptop was connected via wire, which downloaded a 14 gigabyte file and periodically either the laptop or the rest of the clients lost the connection. Moreover, the clients were not next to the router. |
Also seeing similar on both 19.07.2 and snapshot r12529-228bb84744 . |
Try moving the MT7621's switch interrupt to another core. |
@shir474 Thanks for the suggestion, how might I implement that? |
There commands is not working for openwrt :( |
It is working for me. You'll have to figure out which interrupt you need to change the smp_affinity for. move switch interrupt to CPU2echo 4 > /proc/irq/21/smp_affinity move one of mt7615 interrupt to CPU1echo 2 > /proc/irq/26/smp_affinity cat /proc/interrupts
8: 44463125 44463236 44463197 44463199 MIPS GIC Local 1 timer |
shir474, thanks for that. And I've added the echo commands to my rc.local so it applies even after a reboot. This is what I put in rc.local
I'll let it run for a few days and see how it goes. Any idea why this works? Seems fragile. |
It works because all the load is not on a single core. It would be better if MSI-X was implemented by the driver so that the interrupts were distributed across all cores like IPI. PS. There's a mistake on my previous post. The second line should have been |
Thanks, funny as on my hardware (ZBT WE3526), interrupts were already distributed, ethernet on CPU0, 5Ghz on CPU2 and 2.4 on CPU3. |
Which hopefully comes to mt7612/mt7603 since it came for mt7615 in these commits: @nbd168 is that possible? |
After implementing the processor affinity changes, still seeing this after a day or so, with high >1000, proc interrupts error count.
|
Newifi3 D2
SNAPSHOT from 8 APR.
OpenWrt SNAPSHOT r12861-d8bde3687a / LuCI Master git-20.099.75691-88ec332
Disconnections still exists.
I sat next to the router and watched the live broadcast from YouTube.
Fri Apr 10 04:40:30 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 00:0a:f5:9e:17:84
Fri Apr 10 04:40:31 2020 daemon.notice hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: did not acknowledge authentication response
Fri Apr 10 04:40:41 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: authenticated
Fri Apr 10 04:40:41 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: associated (aid 4)
Fri Apr 10 04:40:41 2020 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 00:0a:f5:9e:17:84
Fri Apr 10 04:40:41 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 WPA: pairwise key handshake completed (RSN)
Fri Apr 10 04:40:42 2020 daemon.info dnsmasq-dhcp[2650]: DHCPDISCOVER(br-lan) 00:0a:f5:9e:17:84
Fri Apr 10 04:40:42 2020 daemon.info dnsmasq-dhcp[2650]: DHCPOFFER(br-lan) 192.168.1.232 00:0a:f5:9e:17:84
Fri Apr 10 04:40:42 2020 daemon.info dnsmasq-dhcp[2650]: DHCPREQUEST(br-lan) 192.168.1.232 00:0a:f5:9e:17:84
Fri Apr 10 04:40:42 2020 daemon.info dnsmasq-dhcp[2650]: DHCPACK(br-lan) 192.168.1.232 00:0a:f5:9e:17:84 Network
Fri Apr 10 04:41:26 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 00:0a:f5:9e:17:84
Fri Apr 10 04:41:26 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: authenticated
Fri Apr 10 04:41:33 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: authenticated
Fri Apr 10 04:41:33 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: associated (aid 4)
Fri Apr 10 04:41:33 2020 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 00:0a:f5:9e:17:84
Fri Apr 10 04:41:33 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 WPA: pairwise key handshake completed (RSN)
Fri Apr 10 04:41:33 2020 daemon.info dnsmasq-dhcp[2650]: DHCPDISCOVER(br-lan) 00:0a:f5:9e:17:84
Fri Apr 10 04:41:33 2020 daemon.info dnsmasq-dhcp[2650]: DHCPOFFER(br-lan) 192.168.1.232 00:0a:f5:9e:17:84
Fri Apr 10 04:41:33 2020 daemon.info dnsmasq-dhcp[2650]: DHCPREQUEST(br-lan) 192.168.1.232 00:0a:f5:9e:17:84
Fri Apr 10 04:41:33 2020 daemon.info dnsmasq-dhcp[2650]: DHCPACK(br-lan) 192.168.1.232 00:0a:f5:9e:17:84 Network
Fri Apr 10 04:43:10 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 00:0a:f5:9e:17:84
Fri Apr 10 04:43:11 2020 daemon.notice hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: did not acknowledge authentication response
Fri Apr 10 04:43:11 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: associated (aid 4)
Fri Apr 10 04:43:11 2020 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 00:0a:f5:9e:17:84
Fri Apr 10 04:43:11 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 WPA: pairwise key handshake completed (RSN)
Fri Apr 10 04:43:11 2020 daemon.info dnsmasq-dhcp[2650]: DHCPDISCOVER(br-lan) 00:0a:f5:9e:17:84
Fri Apr 10 04:43:11 2020 daemon.info dnsmasq-dhcp[2650]: DHCPOFFER(br-lan) 192.168.1.232 00:0a:f5:9e:17:84
Fri Apr 10 04:43:11 2020 daemon.info dnsmasq-dhcp[2650]: DHCPREQUEST(br-lan) 192.168.1.232 00:0a:f5:9e:17:84
Fri Apr 10 04:43:11 2020 daemon.info dnsmasq-dhcp[2650]: DHCPACK(br-lan) 192.168.1.232 00:0a:f5:9e:17:84 Network
Fri Apr 10 04:43:14 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 00:0a:f5:9e:17:84
Fri Apr 10 04:43:15 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: authenticated
Fri Apr 10 04:43:15 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: associated (aid 4)
Fri Apr 10 04:43:20 2020 daemon.notice hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: did not acknowledge authentication response
Fri Apr 10 04:43:24 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Apr 10 04:43:47 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: authenticated
Fri Apr 10 04:43:47 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: associated (aid 4)
Fri Apr 10 04:43:47 2020 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 00:0a:f5:9e:17:84
Fri Apr 10 04:43:47 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 WPA: pairwise key handshake completed (RSN)
Fri Apr 10 04:43:47 2020 daemon.info dnsmasq-dhcp[2650]: DHCPDISCOVER(br-lan) 00:0a:f5:9e:17:84
Fri Apr 10 04:43:47 2020 daemon.info dnsmasq-dhcp[2650]: DHCPOFFER(br-lan) 192.168.1.232 00:0a:f5:9e:17:84
Fri Apr 10 04:43:47 2020 daemon.info dnsmasq-dhcp[2650]: DHCPREQUEST(br-lan) 192.168.1.232 00:0a:f5:9e:17:84
Fri Apr 10 04:43:47 2020 daemon.info dnsmasq-dhcp[2650]: DHCPACK(br-lan) 192.168.1.232 00:0a:f5:9e:17:84 Network
Fri Apr 10 04:45:17 2020 daemon.notice netifd: wan (2386): udhcpc: sending renew to 10.8.0.1
Fri Apr 10 04:45:18 2020 daemon.notice netifd: wan (2386): udhcpc: lease of 10.8.7.99 obtained, lease time 600
Fri Apr 10 04:48:56 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 00:0a:f5:9e:17:84
Fri Apr 10 04:48:57 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: authenticated
Fri Apr 10 04:48:57 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 IEEE 802.11: associated (aid 4)
Fri Apr 10 04:48:57 2020 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 00:0a:f5:9e:17:84
Fri Apr 10 04:48:57 2020 daemon.info hostapd: wlan0: STA 00:0a:f5:9e:17:84 WPA: pairwise key handshake completed (RSN)
Fri Apr 10 04:48:57 2020 daemon.info dnsmasq-dhcp[2650]: DHCPDISCOVER(br-lan) 00:0a:f5:9e:17:84
Fri Apr 10 04:48:57 2020 daemon.info dnsmasq-dhcp[2650]: DHCPOFFER(br-lan) 192.168.1.232 00:0a:f5:9e:17:84
Fri Apr 10 04:48:57 2020 daemon.info dnsmasq-dhcp[2650]: DHCPREQUEST(br-lan) 192.168.1.232 00:0a:f5:9e:17:84
Fri Apr 10 04:48:57 2020 daemon.info dnsmasq-dhcp[2650]: DHCPACK(br-lan) 192.168.1.232 00:0a:f5:9e:17:84 Network
@nbd168
The text was updated successfully, but these errors were encountered: