-
Notifications
You must be signed in to change notification settings - Fork 66
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
[Bug?] rrm_mode other than "t" causes network delay spikes on multiple devices #226
Comments
I've done more investigation on this. I think there should be a different update interval setting for
This page seems to confirm my suspicion that Active probes just work better than Passive ones.
Beacon storms?I saw this postulated in various threads on OpenWrt forums. And I think it does happen. Active beacons are faster than Passive scan (because client doesn't have to wait for AP beacon frames). I think the ~60ms packet delay I'm seeing with Active beacons is from every device probing at once. It's possible that staggering active probes across clients could reduce the jitter to point its not noticeable I'm no C programmer, but I can make an attempt at a PR if you're interested. For:
|
I had a similar issue and setting rrm_mode to just 't' as suggested by @MGunlogson resolved it. In my case, issues showed up in a lubuntu box that uses a TP-Link USB wifi adapter connecting to a TP-Link Archer C7 Openwrt AP as primary and getting kicked to a backup Linksys WRT Openwrt AP if required. Was getting very bad wifi throughput since enabling 802.11v/k managed by DAWN on Openwrt 22.03.2 on the SSID - specially when downloading large files it would just fail randomly and generally network felt sluggish/unstable. Even before there were random issues as v/k were enabled on a different SSID but didn't really investigate as this machine is used sparingly and assumed it was just the usb wifi adapter not playing nice with linux. Doing a icmp ping to the AP showed that every 18-19th sequence would spike to over 100ms from ~1ms. Doing TCP dumps unfortunately didn't give much insight as it didn't have anything very obvious that I could interpret. Also noticed that on the linux desktop wifi icon when this happens, it was essentially going full bars before resetting back to APs signal strength. Assumed it might be a linux issue, doing background scans or something and attempted to track down ways to disable as such without much success including setting the wifi manager to use specific bssid - set to just the primary AP - which is suppose to stop scans. This didn't resolve it. Then decided to take a side by side view of the ping and running top on the TPLink router. Each time icmp ping spiked, dawn was top of the process list doing something. This seems to correlate with the "update_beacon_reports" that's set to 20s. Quick google and came across this post. Changed the rrm mode to 't' as suggested and just like that all the icmp pings are normal & connectivity no longer sluggish. DAWN functions like band steering still working great. Will update if anything else shows up. |
The default is
rrm_mode 'pat'
. I've found on my network using bothp
anda
causes regular latency spikes. And I've verified this on an intel AX adapter (Windows) and M1 Mac. Running newest drivers and OS versions.rrm_mode = 'PAT'
rrm_mode = 'T'
Suggestion - make 'T' default instead of 'PAT'
I noticed that Aruba Networks devices default to beacon table https://www.arubanetworks.com/techdocs/ArubaOS_64x_WebHelp/Content/ArubaFrameStyles/VirtualAPs/Radio_Resource_Management_(802.11k).htm
My guess is that both Passive and Active mode cause client devices to scan band, which momentarily interrupts connection. Since "table" mode just sends back currently seen beacons without further scanning, it doesn't appear to cause this problem.
The text was updated successfully, but these errors were encountered: