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

    Buffer Bloat Mitigation w/o speed impact?

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 7 Posters 1.4k 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.
    • T
      tman222
      last edited by

      Hi @StarsAndBars - could you please post some screenshots of how you have your limiters configured? Also, what are the specifications of your pfSense box, including make and model of NIC(s) you are using?

      There is a lengthy thread in the Traffic Shaping forum on fq-codel which includes a lot of great information on configuration and tuning. Check out this post to get started:

      https://forum.netgate.com/topic/112527/playing-with-fq_codel-in-2-4/815

      Hope this helps.

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

        Make and model of modem as well please?

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

        S 1 Reply Last reply Reply Quote 0
        • pfSenseTestP
          pfSenseTest
          last edited by pfSenseTest

          Also, checkout the Hangout from Aug 2018 and related slides (5-11)...
          https://www.netgate.com/resources/videos/pfsense-244-short-topics.html

          I have the same ISP speeds, followed slides 5 - 11 and have zero problems.

          2x SG-5100 | MBT-4220 (retired) | SG-1000 (retired)

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            So you either get 400/20 with buffer bloat or you get 100Mbit/sec downloads?

            Buffer bloat is pretty much exclusively caused by uploading faster than the ISP can handle so they buffer.

            You should not be doing anything with your downloads that will affect buffer bloat.

            Buffer bloat is pretty much exclusively an ISP problem. Have you talked to them about why you can't get the 400/20 you are paying for without a "C" grade? Have they implemented CODEL in their infrastructure?

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            S 1 Reply Last reply Reply Quote 0
            • S
              StarsAndBars @tman222
              last edited by

              @tman222 Thank you for the info! I appreciate it.

              The pfSense box is generic, built off of a Supermicro E300 motherboard. It has 8 cores and 32GB of RAM (yes, I know... I went big). It is running off a pair of 16GB SSDs on ZFS in RAID.

              As far as the interfaces, it is using 2 of the provided SFP+ ports. They have 10GbE copper transceivers in them. Even though the ISP only offers 1GbE copper ports on the cable modem, I wanted to be ready for the future, and I have 10GbE switching on the LAN. The remainder of the (currently unused) ports are 1GbE copper from Intel.

              I will go review the thread you linked. Thank you again!

              1 Reply Last reply Reply Quote 0
              • S
                StarsAndBars @chpalmer
                last edited by

                @chpalmer Thanks for your response. The Cable Modem provided by the ISP is a Hitronic CGNM-2250 and as it is a business-class account, I do not have the luxury of selecting my own.

                chpalmerC 1 Reply Last reply Reply Quote 0
                • S
                  StarsAndBars @Derelict
                  last edited by

                  @Derelict I understand what you are saying, but riddle me this:

                  If I leave the default pfSense rules in place (or lack thereof) and make no changes whatsoever to the limiter/floating rules, I get the full speed available from the ISP, about 400 down, and 20 up. The speedtest from dslreports grades the buffer bloat at a "C" and I saw buffer bloat recorded as high as 243ms.

                  If I enable the buffer bloat mitigation as supplied by Netgate support, the speed from the ISP falls to just under 100 down, the upload stays at about 20, but there is no real buffer bloat observed and dslreports gives it a grade of "A"

                  So, it seems to me as if the parameters around buffer boat are somewhat within my control, it just depends on if I can tolerate the huge penalty in download speed encountered to eliminate buffer bloat.

                  This leads me to believe that there are settings I can tweak, or even a different algo to use (cake, perhaps?) that would resolve this. Finding the right mix will be the challenge.

                  B swinnS 2 Replies Last reply Reply Quote 0
                  • B
                    bobbenheim @StarsAndBars
                    last edited by bobbenheim

                    @StarsAndBars try enabling PowerD under System / Advanced / Miscellaneous and set it to maximum.

                    1 Reply Last reply Reply Quote 0
                    • swinnS
                      swinn @StarsAndBars
                      last edited by

                      @StarsAndBars You never have said what your limiters are set to. Can you post screenshots of how you have it setup?

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

                        @StarsAndBars said in Buffer Bloat Mitigation w/o speed impact?:

                        @chpalmer Thanks for your response. The Cable Modem provided by the ISP is a Hitronic CGNM-2250 and as it is a business-class account, I do not have the luxury of selecting my own.

                        Since this is a Puma6 model modem keep in mind that it has some issues.. http://badmodems.com/

                        Make sure you have no UDP traffic going on while you are testing.. Some modems have various patches in place but depending on the ISP some do not.. UDP traffic can be quite the problem for these modems to handle.. VOIP, video, gaming ect..

                        If you are a Comcast customer then the only reason they will not let you use your own modem as a commercial customer is if you have purchased static IP's from them. Otherwise we do it all the time. I would bring up the Badmodems site to your ISP and see if they will give you another Broadcom based model..

                        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
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.