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

    Really weird behavior in 2.4.5-p1. Gateways go down becuase of a simple speedtest

    Scheduled Pinned Locked Moved General pfSense Questions
    16 Posts 4 Posters 1.4k Views 5 Watching
    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.
    • N Offline
      Napsterbater @techtester-m
      last edited by Napsterbater

      @techtester-m said in Really weird behavior in 2.4.5-p1. Gateways go down becuase of a simple speedtest:

      I'll try both. Edit: Even when on WAN and disabling all relevant extensions on Firefox and Chrome this is the message I get from https://www.dslreports.com/speedtest:
      Screen Shot 2020-08-28 at 0.55.00.png

      DSLr's speedtest is pretty much dead, and has been for a quite awhile.

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

        Yeah, I have to hit 'use http' to allow it to run from here now. Works fine on some machines though. Odd.

        Anyway, 600ms loaded latency is pretty bad! I assume that was during the upload part of the test? That's usually the worst direction by a long if your connection is asymmetric.
        What speeds do you see?

        Try codelq. With that result it will probably work well for you.

        Steve

        T 1 Reply Last reply Reply Quote 1
        • T Offline
          techtester-m @stephenw10
          last edited by techtester-m

          @stephenw10 said in Really weird behavior in 2.4.5-p1. Gateways go down becuase of a simple speedtest:

          I assume that was during the upload part of the test?

          Yes.

          @stephenw10 said in Really weird behavior in 2.4.5-p1. Gateways go down becuase of a simple speedtest:

          What speeds do you see?

          An embarrassing 5+- Mbps (500KB/s Download is 80-90MB/s) but fiber is coming to my area in a few months - one year at max.

          @stephenw10 said in Really weird behavior in 2.4.5-p1. Gateways go down becuase of a simple speedtest:

          Try codelq. With that result it will probably work well for you.

          What percentage of improvement do people see on average when using this? Btw I don't need much upload I just don't want it to kill the gateways if someone over the network uploads something. I'll talk to my ISP anyway.

          Edit:
          This is the result from fast.com when I connect a PC directly to the ISP's modem (PPPoE bridge mode):
          Screen Shot 2020-08-28 at 9.39.04.png

          Perhaps there's something happening somewhere in the network? I'll check cables, switches etc...not that there's much here but just to be sure.

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

            Just checked my connection using fast.com ... it was a chock.

            f8480f37-a18d-4e87-959f-ea3d2f07055a-image.png

            The bigger picture explained my case :

            ebdce1b4-3ed7-48e7-8e9f-c5d32a919354-image.png

            The test was defaulting to my IPv6. My IPv6 is a ipv6.he.net collect server in Paris, which tunnels IPv6 over IPv4. Like a VPN.

            A IPv4 test shows far better results.

            The "codelq" anti bufferbloat rules, as mentioned by @stephenw10 did close to miracles for my classic IPv4 ADSL setup. I'm using these rules for years now.

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

            T 1 Reply Last reply Reply Quote 0
            • T Offline
              techtester-m @Gertjan
              last edited by techtester-m

              @Gertjan said in Really weird behavior in 2.4.5-p1. Gateways go down becuase of a simple speedtest:

              The "codelq" anti bufferbloat rules

              I'll try, but I'm doing an elimination test anyway. Building rules from scratch to see when exactly it chocks. This is the result with the most basic setup of pfsense:
              Screen Shot 2020-08-28 at 9.58.01.png

              Latency on the gateways (in pfSense webgui) is still getting high no matter what and marked with yellow color by pfs...

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

                These are my rules :

                73afd1f3-5879-41fc-8988-9d54c7701952-image.png

                They are doubled, as I have 2 interfaces, one for IPv4 (WAN) and one for IPv6 (HENETV6).

                The first rules gives a special treatment to ICMP (ping), so that they are handled with priority.

                Even under full load, my IPv4 ICMP latency doesn't change a milliseond.

                See the "Playing with fq_codel in 2.4" mega therad (1000 posts) in the Traffic Shaping sub forum how to make these rules.

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

                T 2 Replies Last reply Reply Quote 1
                • T Offline
                  techtester-m @Gertjan
                  last edited by

                  @Gertjan Thank you. I'll try soon (I hope) and report back :)

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    techtester-m @Gertjan
                    last edited by techtester-m

                    @Gertjan In the meanwhile, while investigating a little and doing elimination test this is one of the results I got from Fast.com. Better than the ISP even suppose to give lol...I only wish it stayed like this haha. Perhaps because I enabled Load Balancing...
                    Screen Shot 2020-08-28 at 13.18.00.png

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

                      You can just tune the latency values for the monitoring on those VPN gateways. Thety are always going to be higher than normal anyway. That will prevent them being marked down when they are not.

                      Steve

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        techtester-m @stephenw10
                        last edited by techtester-m

                        @stephenw10 Yeah...that I know of course but was just curious about the issue :)

                        Reporting back fellas - I connected a PC directly to the ISP's equipment and it turns out it's on their side. Apparently what you said about asymmetric DSL connections, PPPoE etc. This is the upload "loaded" result when connected directly to the ISP's equipment:
                        Screen Shot 2020-08-28 at 14.06.58.png

                        I think we can say DSL technology and some ISPs are just sh*tty, but it served humanity well haha...Anyway, nothing is wrong on my side so all that's left for me to do is to use the rules/traffic shaping you mentioned in order to overcome this. Another day maybe. I'll be back lol

                        As usual, thank you guys.

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

                          Yeah with 5Mbps upload you can saturate the connection pretty easily. However it's also much easier to shape upload than down since we can control exactly what leaves the interface.

                          I would expect to see good results from fq-codel here.

                          Steve

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