cancel
Showing results for 
Search instead for 
Did you mean: 

Constant High Latency Spikes; Frequent Dropped Connection

danielw
Dabbler
Posts: 10
Thanks: 1
Registered: ‎17-06-2024

Constant High Latency Spikes; Frequent Dropped Connection

Hi all,

 

I am new to Plusnet (approx 1 month)

I am on a 23mbps package - 'minimum guarantee' 16mbps.... but I am getting no more than 4 to 5 mbps (6 to 7 on a very good day)

Worse - there are constant frequent all day every day spikes in latency making my connection for remote work unreliable.
Around certain times (6pm and 10pm) the connection is almost unusable.

And overnight, in various bursts, the latency is extreme, with significant packet loss. To the extent that my Unifi router/gateway believes the ADSL connection is dead and I fail over to my 5G backup

Please see attached BQM when I am at home, and when I am away on holiday (note that the extreme latency and packet loss does not occur when I am not at home - so the only difference is that our mobile phones are present overnight)

 

My set up:
Plusnet hub -> Unif Gateway Max -> Unifi switch -> Unifi wifi access points

Diagnostic/fix attempts:
1) If I 'failover' to (or manually choose) my 5G backup connection, my devices can get 80mbps+ speeds, so my setup (router/switch/wifi) is not a slowing-down factor.
2) I have tried a replacement Plusnet hub - this reduced the disconnects but did not increase speed or improve latency
3) I have tried a Draytek Vigor 167 modem - this helped increase speed by ~1mbps but did not improve latency
4) Connecting Plusnet hub in PPPoE mode made latency worse
5) I have tried a different phone-modem cable and a different filter splitter, this did not improve the latency or speed

So:
Do I have a bad line? How can I diagnose this? How can I fix this?
Does Plusnet's network beyond my modem have a problem? How can I diagnose this? 
Why does PPPoE make things worse?

47 REPLIES 47
Dan_the_Van
Hero
Posts: 3,035
Thanks: 1,467
Fixes: 90
Registered: ‎25-06-2007

Re: Constant High Latency Spikes; Frequent Dropped Connection

@danielw welcome to the forum.

Have you reported your issue? Follow the instructions on this link https://www.plus.net/help/report-a-problem/ 

 

danielw
Dabbler
Posts: 10
Thanks: 1
Registered: ‎17-06-2024

Re: Constant High Latency Spikes; Frequent Dropped Connection

Yes - the only suggestion was to replace the modem 

Anunnaki
Aspiring Pro
Posts: 120
Thanks: 45
Fixes: 3
Registered: ‎15-06-2024

Re: Constant High Latency Spikes; Frequent Dropped Connection

Using your DrayTek Vigor 167, can you post here the following screenshots from the modem's web console menu -

 

    System Maintenance > System Status   (showing the installed firmware version)

 

    Diagnostics > DSL Status    (showing all the DSL line statistics)

 

    Hardware Acceleration    (confirming that 'Acceleration' is set to "Disable')

 

    Internet Access > General Setup    (showing the chosen DSL Mode and modem code)

 

    Internet Access > MPoA    (showing your ADSL bridge characteristics)

.

corringham
Seasoned Champion
Posts: 1,364
Thanks: 688
Fixes: 18
Registered: ‎25-09-2015

Re: Constant High Latency Spikes; Frequent Dropped Connection

Even your PlusnetAway graph is pretty bad - I'd see that as a problem.

Just to see if the at home issues are prompted by your phones doing back-ups you could try disconnecting them from the wifi  overnight, and see if the issues still appear - it may be that one phone backs up at 1am and the other at 5am.

I'd suspect that the upload is being maxed out. You could try setting a max upload rate for your phones on your UXG-Max (it is pretty flexible so you can limit all kinds of things) and see if that changes things.

Even if it is your phones backing up (what needs so much backing up daily?) it shouldn't be that bad, and as I mentioned the PlusnetAway looks bad to me too. I'd get whatever stats you can from your plusnet router and report that as suggested above.

danielw
Dabbler
Posts: 10
Thanks: 1
Registered: ‎17-06-2024

Re: Constant High Latency Spikes; Frequent Dropped Connection

Hi @Anunnaki ,

Thanks for getting back - here's the info.
WIth the exception of Hardware Acceleration and MPoA mode - can't find those, where should I look?


    System Maintenance > System Status   (showing the installed firmware version)

Can't find the "System Status" section within "System Maintenance", but firmware shown in Dashboard is 5.2.4 (most recent - I updated it)
Attached Dashboard.png

  

 Diagnostics > DSL Status    (showing all the DSL line statistics) 

Attached Diagnostics.png

 

    Hardware Acceleration    (confirming that 'Acceleration' is set to "Disable')

I don't know where to find this?

 

    Internet Access > General Setup    (showing the chosen DSL Mode and modem code)

Attached ModemCode.png and OperationMode.png

 

    Internet Access > MPoA    (showing your ADSL bridge characteristics)

Don't know where to find this?

Anunnaki
Aspiring Pro
Posts: 120
Thanks: 45
Fixes: 3
Registered: ‎15-06-2024

Re: Constant High Latency Spikes; Frequent Dropped Connection

Oh ! sorry for the wild goose chase !,  I had assumed that the Vigor 167 had a similar web interface as the nearly identical Vigor 166 (that I have), but clearly from your screenshots it is completely different and unlike any DrayTek web interface I've seen before.

 

Most DrayTek devices have a menu that looks like some variation of this -

 

Vigor 166 menu.jpg

 

 

OK - plan B

Can you do a screenshot of your UniFi Gateway Max's webpage for its "QoS" setting ?

.

MisterW
Superuser
Superuser
Posts: 16,135
Thanks: 6,134
Fixes: 442
Registered: ‎30-07-2007

Re: Constant High Latency Spikes; Frequent Dropped Connection

Oh ! sorry for the wild goose chase !,  I had assumed that the Vigor 167 had a similar web interface as the nearly identical Vigor 166 (that I have), but clearly from your screenshots it is completely different and unlike any DrayTek web interface I've seen before.

@Anunnaki that's because it's in modem mode,

Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.

Anunnaki
Aspiring Pro
Posts: 120
Thanks: 45
Fixes: 3
Registered: ‎15-06-2024

Re: Constant High Latency Spikes; Frequent Dropped Connection

I'm not convinced,  my Vigor 166 is in "modem mode" and only shows traditional style DrayTek menus.

It looks to me that DrayTek have done the modern thing of showing a new pretty but dumbed down user interface on the 167.

 

If needed later, I might get @danielw to try getting the modem DSL stats using Telnet

but in the mean time figuring out how to get the UniFi to apply QoS to the VDSL upstream, and get that TBB BQM plot looking better.

.

 

danielw
Dabbler
Posts: 10
Thanks: 1
Registered: ‎17-06-2024

Re: Constant High Latency Spikes; Frequent Dropped Connection

Sorry not sure what you mean by "how to get the UniFi to apply QoS to the VDSL upstream"

Googling for Unifi QOS gives a few disparate results, feels like there used to be something called QoS but now it's been renamed maybe?

Do you mean "Smart Queues"? https://help.ui.com/hc/en-us/articles/12648661321367-UniFi-Gateway-Smart-Queues

That gives me the option to set a downrate and an uprate.

corringham
Seasoned Champion
Posts: 1,364
Thanks: 688
Fixes: 18
Registered: ‎25-09-2015

Re: Constant High Latency Spikes; Frequent Dropped Connection

Ubiquiti are a bit irritating in that they seem to reorganise the interface with almost every update.

I've not used smart queues, but I have used a bandwidth limit on individual WiFi networks, and on VLANs, and there is now a "Flow Control" setting in the Networks settings which claims to reduce network congestion by pausing traffic (I've not tried that as I have no congestion).

There are probably at least half a dozen ways of implementing QoS for specific devices, but I expect it will take a little experimentation to find which works best for your case.  

Anunnaki
Aspiring Pro
Posts: 120
Thanks: 45
Fixes: 3
Registered: ‎15-06-2024

Re: Constant High Latency Spikes; Frequent Dropped Connection

 


@danielw wrote:


Do you mean "Smart Queues"? https://help.ui.com/hc/en-us/articles/12648661321367-UniFi-Gateway-Smart-Queues

That gives me the option to set a downrate and an uprate.


 

If that's all it can do, then lets try that.

 

When your connection isn't otherwise being used, first run this test - https://www.waveform.com/tools/bufferbloat 

then under the results, find "Share Your Results:", click on the "Copy" button, and paste that link into your reply here.

That will give us a starting point for how your connection is behaving.

 

Watch the following YouTube video showing how to get to the Smart Queue settings - Ubiquiti UniFi Quality of Service (QoS) 

Navigate to your UniFi's Smart Queue settings page.

 

From your "Dashboard.png" image in Reply #6  your connection speeds were 1269Kbps UP, and 13833Kbps DOWN.

We'll first set the actual connection speed, then set the Smart Queues to approximately 85% of those speeds.

This will be a guess at a starting point for further speed and latency optimisations, depending on what happens !

 

In the section "Expected ISP Speeds" -

  • Change the "Download" to 13833, and change the units from "Mbps" to "Kbps"
  • Change the "Upload" to 1269, and change the units from "Mbps" to "Kbps"
  • Click on the <Apply> button

Run the waveform.com/tools/bufferbloat test again, and post the resulting link here, to see whether anything changed.

 

In the section "Smart Queue" -

  • Check the "Enabled" tick box
  • Change the "Download" to 11750, and change the units from "Mbps" to "Kbps"
  • Change the "Upload" to 1075, and change the units from "Mbps" to "Kbps"
  • Click on the <Apply> button

Run the waveform.com/tools/bufferbloat test again, and post the resulting link here, to see whether anything changed.

 

Post back here a screenshot of your UniFi's Smart Queue settings page AFTER all your changes.

 

Good luck !

.

Mustrum
Community Veteran
Posts: 3,642
Thanks: 1,079
Fixes: 77
Registered: ‎13-08-2015

Re: Constant High Latency Spikes; Frequent Dropped Connection


@corringham wrote:

Even your PlusnetAway graph is pretty bad - I'd see that as a problem.

Just to see if the at home issues are prompted by your phones doing back-ups you could try disconnecting them from the wifi  overnight, and see if the issues still appear - it may be that one phone backs up at 1am and the other at 5am.

I'd suspect that the upload is being maxed out. You could try setting a max upload rate for your phones on your UXG-Max (it is pretty flexible so you can limit all kinds of things) and see if that changes things.

Even if it is your phones backing up (what needs so much backing up daily?) it shouldn't be that bad, and as I mentioned the PlusnetAway looks bad to me too. I'd get whatever stats you can from your plusnet router and report that as suggested above.


@danielw 

you really do need to pay attention to this reply. Before going off on possible wild goose chasing, you need to check your own environment to see if that is causing the large amount of traffic depicted in your away graph. Depending on the PN router, connect that with nothing else connected, but with settings that the BBQM can report on. The congestion is either on your home LAN, or on the equipment in the exchange - then you can direct your efforts appropriately

Anunnaki
Aspiring Pro
Posts: 120
Thanks: 45
Fixes: 3
Registered: ‎15-06-2024

Re: Constant High Latency Spikes; Frequent Dropped Connection


@Mustrum wrote:

 

...check your own environment to see if that is causing the large amount of traffic depicted in your away graph.


 

? what ?

There is no "large amount of traffic" on the away graph.

Large amounts of traffic on BQM plots are depicted by significant periods of BLUE lines.

 

I agree that there is more traffic than the connection can cope with on the home graph - particularly overnight.

 

The yellow lines on the away graph, are just delayed ping responses due to having a low upload bandwidth, and will likely be improved by applying QoS.

.

Anunnaki
Aspiring Pro
Posts: 120
Thanks: 45
Fixes: 3
Registered: ‎15-06-2024

Re: Constant High Latency Spikes; Frequent Dropped Connection

 


@Mustrum wrote:

 

Depending on the PN router, connect that with nothing else connected, but with settings that the BBQM can report on.


 

Wrong again !

 

@danielw  isn't using a Plusnet router,  they're running a UniFi "Gateway Max"  as the router

.