I had the weirdest latency issue after the update of my UniFi Cloud Gateway Ultra.
After the update, I had a latency of more than 100 ms. Before it was between 5 - 10.
I was going crazy and thought, it might be the ISP. My chain:

The technician came along, and he tested with his special device.
- He connected to the vDSL line directly and got a good ping. Line is good.
- He used the Draytek Vigor 167 Modem to check the login with my account. Ping was good. So the Draytek was not broken or anything like that.
- As soon as I tested from the UCG Ultra with the PPPoE connection, ping was bad.
Dammit, it was my network gear or settings. 😮💨
I did:
- Turn off Intrusion Prevention
- Turn off Smart Queues
- Rip off all cables and test from the gateway
- Logged in via SSH and tried to find anything in the logs
No changes.
I rolled back weeks before the update. Nothing changed.
Really Unifi?
I was fuming. 😡
The only option was a factory reset with the old firmware. 🤦
For some reason I decided to try out one thing: Switch the WAN port
I had my WAN on Port 4, which is only 1 GB, and the UCG Ultra has Port 5 labeled for WAN with 2.5 GB. My connection is 250 MB down and 40 MB up. So nothing to gain there, but I tried it anyway.
WTF! It worked!
I will not question this and just go to bed now.

Oh yeah, I lost the old data because of the rollback. So no cool history to look at.
I really should save those metrics somewhere 😅
I have turned off auto updates for all my UniFi devices.
I hope that this might help some other poor soul.
Have a good day!