High Wifi Latency

Hey Guys,

I am troubleshooting an issue on one of my clients networks and I am at the end of my knowledge, so I am hoping someone here might have some ideas on where to turn.

My client has 2 buildings on their property. The internet feed is in one of the buildings, and the other building is fed via two 5GHz radios in bridge mode. Both buildings are on the same subnet/network, and its a flat network with no VLANs or anything special at all. In the server rack (MDF with router) the internet comes in on a Fortinet FortiGate, then feeds a single Cisco SG350x. From there it is distributed across both buildings using exclusively Unifi APs and switches. The radio link between the two buildings is Ubiquity but not unify. While I am working to replace this link with a 60GHz one, it only seems to consistently add 4ms of latency.

Now, on over the hard wired network, everything works like a charm. You can communicate with any other hardwired device (APs included) in the same building as you with <1ms and if you are in the opposite building from the device you are pinging, its a constant 4-5ms latency. Again only when hardwired to hardwired.

With Wifi however, the latency is sporadic and averages quite high. I get latency of anywhere from 9ms to 1200ms, leaning on the higher side of the spectrum. This is when I talk to or from any device on their Wifi. It persists across all of their APs, every single wifi connected device, and between both buildings. While the buildings are only 100ft apart, one is a metal walled warehouse/production environment, and the other is an old renovated wood stud house with drywall.

I ran a scan from one of the APs from within Unifi overnight and it came back pretty clear. No major signs of issues. My next step might be to run one during the day but they are quite hesitant to loose an AP during the day even if the quality is poor (but still functional!). Its also worth noting I am not dropping any packets.

Any logs I can come across seem to indicate everything is working as normal. No errors or warnings anywhere. I got desperate last night and during the night I rebooted everything on the network, every switch, every router, every AP, everything. I also rebooted the radios between the two buildings. For about an hour everything seemed a lot more stable. Latency was still a bit higher than I would expect (10ms) but it was not ridiculous and it was stable.

Come to this morning where its right back to being exactly as it was before. This might be a generic wireless issue and not Ubiquity specific, but I am pulling my hair out guys, and I don't have much left as it is.

APs are a good mix of AP-AC-Lite, currently running 4.6.24.11355 however the issue predates this firmware. Controller is a little out of date at 5.10.27. I personally do not see how something like this could be caused by the controller, but I have seen weirder things happen.

Any ideas you guys have would be greatly appreciated. If anyone is able to point me to the issue so I can fix it, I will buy you a drink and either mail it to you or remotely buy one from one of your local establishments. I need my sanity back guys!

Posted Jan 6, 2021, 4:30 PM UTC

18
julietscause•

What width, power, and channels do you have set on your access points?

Are you doing bandsteering?

APs are a good mix of AP-AC-Lite, currently running 4.6.24.11355 however the issue predates this firmware.

4.6.x firmware? Am I reading that right? Holy old ass firmware batman

How many wireless clients are on this network?

5.10.27

Yeah that controller is about a year old

Do you have VLANs deployed in your environment or a flat network?

2
JustTechItOP•

Hey, thanks for the reply.

Its a flat network, and my apologies for the typo, the firmware was meant to read 4.3.24.11355 (not that its any better but its the latest one the controller will let me push).

At this moment there are 20 wireless clients on the network, split across 8 APs.

Width power and channels are all default, but currently the power is 20/23dBm, the width is 20MHz for 2 and 40 for 5. The channels range obviously, but in 2.4 they are 1, 6, 11, and in 5 we are using 159, 151, and 38. Again all in Auto mode.

While Band Steering is off, 17 of my 20 currently online clients are on 5 instead of 2.4. This network is used to handling 100+ wireless devices without issue before COVID moved most employees to working from home.

1
AutoModeratorMOD•

Hello! Thanks for posting on r/Ubiquiti!

This subreddit is here to provide unofficial technical support to people who use or want to dive into the world of Ubiquiti products. If you haven’t already been descriptive in your post, please take the time to edit it and add as many useful details as you can.

Please read and understand the rules in the sidebar, as posts and comments that violate them will be removed. Please put all off topic and picture posts in the weekly off topic thread that is stickied to the top of the subreddit.

If you see people spreading misinformation, trying to mislead others, or other inappropriate behavior, please report it!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1
Beldarz•

I thought I was buying stability & quality, but these Unifi LR AP's have gotten worse with each firmware "update". No interference to speak of, at least not reported by the controller.

About 50 devices spread across 2 LR AP's in about 2500 sq ft home, standard lumber/sheetrock construction.

1
hawkbox1•

Have you gotten anywhere with this? I have 2 APs in my house and garage that up until recently have worked fine but I finally really noticed in the last couple days. Pinging my gateway over wifi is around 9ms and pinging it hardwired is the standard <1ms. When I run a speed test on my gigabit fibre I top our around 15Mbps over wifi regardless of my device. Iphone, HP laptop, Xbox, they all struggle and are averaging less than 6Mbps. When I finally ran a hard line to the Xbox to rule it out I was pulling 400Mbps+ which is well within what i would expect for an Xbox One S.

​

It's odd and I feel like it's only started in the last few weeks. I showed 19 days uptime on my APs when I upgraded them to see if it helped. Which I can confirm it has not. The Controller and the APs versions are both up to date and it still performs like a dog.

​

I'm at a literal loss as to what I can do to correct it.

1
JustTechItOP•

Unfortunately not. I made a little progress in mine and could show that it had something to do with the 5GHz spectrum but at this point I have disabled 5ghz and deployed a couple additional APs to supplement. I'm not happy about this resolution still as it's far from actually fixed but my network is stable again.

1
hawkbox1•

well hell. That's not what I wanted to hear. I'll try disabling 5ghz and see if I can get any results.

Are you seeing a ton of latency errors in the Unifi controller too that weren't there a while ago?

1
JustTechItOP•

I wouldn't say a ton but yes.

1