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

    pfSense 2.6.0 High latency and packet loss.

    Scheduled Pinned Locked Moved General pfSense Questions
    38 Posts 6 Posters 6.3k 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.
    • G
      Gerard64 @TheNarc
      last edited by Gerard64

      @thenarc btw somebody suggested to uncheck all the offload options reboot en test again. I did that few minutes ago but ping times still high around 850ms.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        To be cleat the 45 and 102ms latency you saw was pinging from a laptop dircetly connected to the modem to the ISPs gateway IPs?
        If so that's still very high. 102ms is about what I see over a VPN from London to Austin!

        Steve

        G 1 Reply Last reply Reply Quote 1
        • G
          Gerard64 @stephenw10
          last edited by

          @stephenw10

          Yes laptop directly connected to the modem.
          45 and 102 milliseconds still high oke thanks, good to know.

          I am used to peaks of > 650 ms.
          Then 45 and 102 sound a lot less.

          Still big difference between pfSense and laptop directly onto the modem.

          Wen i ping from pfsense with source wan to the isp gateway while doing a speedtest on dslreports.com ping peaks to ~ 1000ms.

          I unchecked all the offloading in pfSense rebooted.
          Test again no change 🤔

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Are all of those whilst running a speedtest?

            You would expect to see higher ping times when the line is congested without any shaping to prevent that.

            Have you tried running a buffer-bloat test?

            G 2 Replies Last reply Reply Quote 0
            • G
              Gerard64 @stephenw10
              last edited by Gerard64

              @stephenw10
              yes all ping tests I do are with dslreports.com/speedtest running

              on dslreports bufferbloat is a D

              on https://www.waveform.com/tools/bufferbloat:

              6656e7fa-d8df-4772-961e-b34d010baa85-afbeelding.png

              3th bufferbloat test:
              e396018f-2b9e-4b44-a322-e5d3d3d1d850-afbeelding.png

              1 Reply Last reply Reply Quote 0
              • G
                Gerard64 @stephenw10
                last edited by Gerard64

                @stephenw10
                Wen i setup the codel limiters like it is explained in the docs.
                and then test it with a speedtest the wan stopts working all together i can't reach anything anymore on the Internet.

                5d5ab276-fc4d-4b77-9d55-e43d6f9b27da-afbeelding.png

                02e559e6-aa45-40d4-83f8-93916e593c30-afbeelding.png

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Do you see that same level of buffer-bloat with the laptop just connected to the modem?

                  That's a pretty bad connection if so.

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    Gerard64 @stephenw10
                    last edited by

                    @stephenw10
                    yes it is the same and yes very bad connection. That is what i try to figure out what and were is the problem exactly so i can think of the fix but before i can fix something i need to know exactly were the problem is.

                    First of all the internet connection is bad even with a system directly on the modem so that's what i know for sure.

                    Wen i connect my pfSense netwerk to the modem the ping peaks are way higher en bufferbloat also more bad.

                    Is there a relation between the two maybe?

                    Another weird thing is wen i use the codel limiter the wan blocks all traffic maybe there is a relation with the bad ping or maybe i configured the floating rule wrong of created the limiters wrong. I read them multiple times over but all seems like it is in the docs.

                    Cool_CoronaC 1 Reply Last reply Reply Quote 0
                    • Cool_CoronaC
                      Cool_Corona @Gerard64
                      last edited by

                      @gerard64 Check all cables and replace them.

                      Report back.

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        Gerard64 @Cool_Corona
                        last edited by

                        @cool_corona
                        I did all that already
                        tested all cables temperarly replaced them

                        I connected a 20 meter cable from modem to the pfSense wan. No change.

                        d6e8f05a-4f9c-4dc5-b8f0-943b3cb67493-afbeelding.png

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Do you have the captive portal enabled at all?

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            Gerard64 @stephenw10
                            last edited by

                            @stephenw10
                            I use the captive portal in a wlan network yes but not in my normal lan.

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              Ah, then you will hit this: https://redmine.pfsense.org/issues/12954
                              It's fixed in 2.7 and 22.05. You could upgrade to either of those as a test.

                              With a link exhibiting buffer-bloat that badly you probably need shaping of some sort.
                              You could try using an ALTQ shaper instead.

                              Steve

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