Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Troubleshooting WAN latency

    Scheduled Pinned Locked Moved General pfSense Questions
    21 Posts 4 Posters 2.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Rod-It
      last edited by

      Absolutely, but not so frequent on the same times.

      All i can do now is wait for the ISP techs to look at my router logs and determine if i have a problem, from what i read, if the qam is not 64 (for example if it's 32 or 16) or the channels are not populated fully, in my case 2 instead of 4 and downstream 24, then this could cause sporadic issues - in a way I hope it's the ISP, at least i can stop diagnosing a fault i cannot control.

      Not having fully connected channels is something to do with SNR and less to do with congestion, either way, appreciate you sticking with me.

      N 1 Reply Last reply Reply Quote 0
      • N
        netblues @Rod-It
        last edited by

        @Rod-It My practical knowledge on docsis is worse than yours, so we have to wait for the isp.
        Apart from that, iperf testing can verify everything else but the wan link.

        1 Reply Last reply Reply Quote 0
        • R
          Rod-It
          last edited by

          I guess the other side to this is, had i not have been working from home, would I have ever know if there was an issue.

          I pay them a monthly fee, they can earn it this month.

          1 Reply Last reply Reply Quote 0
          • chpalmerC
            chpalmer
            last edited by

            What brand and model modem are you using?

            Who is the ISP?

            Triggering snowflakes one by one..
            Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

            1 Reply Last reply Reply Quote 0
            • R
              Rod-It
              last edited by

              SuperHub3 (Arris VMDG505) provided by Virgin Media UK.

              It would not be my choice, but we dont get a choice, take it or leave it.

              I still have my old SH2 but this does not support the speed i am paying for and the SH4 is only available to gigabit customers, of which i cannot be at this time as it's not in my area (even if i wanted to be on this)

              1 Reply Last reply Reply Quote 0
              • R
                Rod-It
                last edited by

                So, I can confirm this is NOT an ISP issue, if i remove PfSense from the mix and connect directly to the router i do not have this issue.

                This is last nights BQM directly connected to a laptop;

                552ef98e-fed5-4e0e-bbcb-105f110c32ea-image.png

                Ironically this is this mornings, back on PfSense;

                e9a1d8fa-2a8c-4b1a-9a55-15553a103188-image.png

                Before the red block was yesterday on PfSense, the red block was when i had the device connected directly to a laptop (screen above) and the content after the red block is back on PfSense - it has yet to have a repeat spike like it was, i believe the initial spike was as devices were all connecting back online for the first time.

                Pfsense has not been rebooted, all i did was unplug the WAN cable and put it in to another device - i did this already a week ago before i started with the BQMs and this did not happen.

                Hopefully it's gone away, but posting to keep all informed.

                Not sure i understand why this was the case if it has now gone away, so any other ways to troubleshoot the cause in the future would be welcome.

                Also note i am continually able to ping and connect to my modem, whereas before this i was not, i wonder if this has some reflection on the sporadic spikes.

                1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan
                  last edited by Gertjan

                  Two things to double check :
                  MTU
                  Buffer Bloat

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  1 Reply Last reply Reply Quote 0
                  • R
                    Rod-It
                    last edited by

                    MTU is fine. Automatically set. 1500.

                    a2288ac6-b691-4382-a02e-f1c0ee78ec15-image.png

                    Bufferbloat report

                    1 Reply Last reply Reply Quote 0
                    • R
                      Rod-It
                      last edited by

                      I do appreciate the replies though and things to look for.

                      I got a spike, as expected during the test, but since this morning i am not suffering the same continual latencies i was for the last few weeks/month and looking at my live graph above, it's been much more settled, so i am lost as to what was causing it

                      1 Reply Last reply Reply Quote 0
                      • chpalmerC
                        chpalmer
                        last edited by chpalmer

                        @Rod-It said in Troubleshooting WAN latency:

                        VMDG505

                        So this is a Puma6 powered modem. And the spikes you are seeing are detailed here..

                        http://badmodems.com

                        There are a few issues with the Intel chip that will never be fixed. There are some that have been patched.. but will never be applied to many modems.

                        If your ISP says they are unaware of this issue then they are lieing.

                        UDP traffic will cause all kinds of havok. Video, Voip calls, gaming.. ect.
                        .
                        Try this tool.. http://www.dslreports.com/tools/puma6 Run this test on something other than Firefox. That browser seems to have its own issues lately.

                        Triggering snowflakes one by one..
                        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                        1 Reply Last reply Reply Quote 0
                        • R
                          Rod-It
                          last edited by

                          My ISP is aware of this, but there is nothing to replace it with, we are not allowed to use our own modems, so it's this or drop to a lower tier.

                          The modem i have is capable of up to 500Mbits, then they offer you a SH4 (SuperHub4) capable of gigabit, but that is a) not in my area yet and b) runs on the Pupa7 which also has this latency issue, however a slightly better CPU masks a lot of this, likewise, i still have no choice in what i use for the modem piece.

                          Today has been a lot better - and I can't understand why, I'm actually using the internet more today than yesterday, but I've had maybe 5 spikes, none of which have disconnected me, and of course, some lag and latency spikes I expect.

                          I've already ran that test as well as many others and i am currently reading up on SQM.

                          1 Reply Last reply Reply Quote 0
                          • R
                            Rod-It
                            last edited by

                            Well, i know my replies have been lacking here and i hate leaving topics unresolved, so some further information that might help others.

                            As it stands, there are two known issues.

                            1). Not causing my latencies or packet loss, but still needs fixing - my upload channels, i have 2 bonded channels, i should have 4 - the ISP is investigating the cause of this, the problem this causes me is two-fold. First of all i cannot reach my 36Mbps upload speed because i only have half the channels bonded, this in turn cases me an unstable connection during high uploads - I have temporarily fixed this by putting a limiter on my WAN uploads.

                            2). The ISPs router - the SuperHub 3 has apparently a bug in the FW which causes high latencies and random spikes (seems to have been rolling out since Feb/March), but only when used in Modem only mode and mostly noticeable with PfSense (since this is a common choice for enthusiasts) - I'm linking a topic relating to others and this issue. While this is likely to be a router specific issue, PfSense or BSD doesn't appear to help with this, if you leave the ISP modem in modem only mode and use another firewall, even a consumer grade router the issue doesn't appear to exist or at least not as often, changing the router back to router mode and double-NATting also doesn't show the symptoms, but this is not really a workable solution.

                            So, back to my original question, is there something or somewhere in PF i can log anything else that would be useful to anyone, to see if the OS or firewall itself is adding to this, perhaps a driver issue? (I am guessing, but trying to offer help at the same time).

                            Side note - last night i rebooted my router and i've yet to have the same issues, based on posts in the link below, this can sometimes be true for up to about a week. This suggests the modem is getting full and unable to clear itself, in modem only mode there is limited options, in fact after about an hour, i lose access to it completely on the modem IP.

                            While i am more convinced this is all related to a FW issue in the router after additional findings, is there anything else i can do or capture to see if anything in PF or BSD is related to this?

                            I've read a few articles that say this issue does not seem to be in 2.5, but i'll have to try and relocate those links again.

                            The link to one of many of the ISPs FW bug, for those interested;

                            https://community.virginmedia.com/t5/Networking-and-WiFi/Did-anything-change-with-Superhub-3-0-firmware-recently/td-p/4192831

                            Post 4 in the above links multiple other articles.

                            For anyone reading in the UK, this seems to affect

                            SH3, with FW 9.1.1811.401 and possibly the SH4 for those on Gig

                            Both the SH3 and SH4 use Intel Puma 6 and 7 chipsets respectively, which have their own known issues, unfortunately in the UK we are restricted by the kit supplied by the ISP and have no options to buy our own modems.

                            If nothing else i wanted to keep people informed of the progress on my issues.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.