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

    Traffic shaper reduces bandwith

    Scheduled Pinned Locked Moved Traffic Shaping
    14 Posts 6 Posters 1.7k 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.
    • H
      hebein
      last edited by

      Hello,

      I am stuck here: I have a WAN with 150/50 (LTE).
      Works fine, I get the full bandwith in my LAN.
      If I set up the TrafficShaper to secure, that VOIP is always first priority, the bandwith drops to 30/15.

      Any hints why this is so and how I can change that? I just need to prioritize SIP-Traffic, thats all I need. Regards,
      Gunther

      1 Reply Last reply Reply Quote 0
      • R
        RodSlinger
        last edited by

        I was just playing with this today on a gigabit fiber line. Just enabling the traffic shaper on any of the que types kills my upload to about 200 Mbps from 970Mbps without it.

        H C 2 Replies Last reply Reply Quote 0
        • H
          hebein @RodSlinger
          last edited by

          @RodSlinger Any changes in download?

          1 Reply Last reply Reply Quote 0
          • P
            p38016
            last edited by

            Had my throughput cut in half after I set up FQ_CODEL limiter.
            I had to change bandwidth type between Mbps and Kbps to get it to work.

            Also here's a snippet from the pfsense reddit:
            When setting specific bandwidth caps, you will see higher performance by using "even" number capacities -- for example, 256kbps instead of 200kbps, 1024kbps (or 1mbps) instead of 1000kbps, etc.
            As a best practice and a functional necessity, you should reset the system state table every time you change the limiter config. This can be done at Diagnostics > States > Reset States.

            1 Reply Last reply Reply Quote 0
            • H
              hebein
              last edited by

              I tried to change from Mbps to kbps, but nothing.
              "Even" capacities did not change a thing, even after resetting states.

              Is this a bug or a feature? It is very annoying, when you pay for a 150/50 and only can use 30/20...

              B 1 Reply Last reply Reply Quote 0
              • B
                bobbenheim @hebein
                last edited by

                @hebein what system are you running and which version of pfsense?
                Are you using limiters or the traffic shaper guide?

                1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire
                  last edited by

                  Can you post screenshots of the wizard steps, or describe your choices in more detail? Also is this on Netgate hardware and if not what NIC is being used? I've set up multiple sites using https://www.ceos3c.com/pfsense/traffic-shaping-voip-pfsense-2-3/ as a guide, using PRIQ, and don't see a bandwidth reduction using speed tests.

                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                  Upvote 👍 helpful posts!

                  1 Reply Last reply Reply Quote 0
                  • H
                    hebein
                    last edited by hebein

                    Hi,
                    I use a SG 5100.

                    Wizard: traffic_shaper_wizard_dedicated.xml
                    Enter number of WAN type connections: 1
                    Local Interface: LAN, PRIQ
                    WAN interface: PRIQ, up 100 Mbit/s, down 50 Mbit/s

                    prioritize Voip ENABLED
                    Provdier: Generic
                    Upstream SIP Server: My SIP Server
                    Upload 2048 kbit/s
                    Download 2048 kbit/s

                    Penalty box DISABLED

                    Lower priority of Peer-to-Peer traffic ENABLED
                    p2pCatchAll DISABLED
                    specific P2P protocols: ALL ENABLED

                    Prioritize network gaming traffic DISABLED

                    Other networking protocols: ENABLED
                    Settings as default

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      bobbenheim @hebein
                      last edited by

                      @hebein have you considered giving limiters and fq-CoDel a try?

                      1 Reply Last reply Reply Quote 0
                      • C
                        ck42 @RodSlinger
                        last edited by

                        @RodSlinger

                        Have 1Gbps fiber and seeing same exact thing. Uplink portion of speedtest drop to 200-210'ish Mbps. Without the shaper, getting over 900Mbps on uplink.

                        1 Reply Last reply Reply Quote 0
                        • H
                          hebein
                          last edited by

                          I have cancelled the shaper, as it is not doing what it is configured for. Quite disappointed and no solution yet :(

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            bobbenheim @hebein
                            last edited by bobbenheim

                            @hebein and you most likely won't see a solution either as altq which the traffic shaper is based on is being deprecated, which was the reason i suggested limiters and fq-codel.

                            1 Reply Last reply Reply Quote 0
                            • H
                              hebein
                              last edited by

                              yes, i tried, but fq-codel was so hard to configure and i do not see how to use a limiter to give priority to differnt types of datastreams. the shaper with its wizards is easier to use for dummies like me.

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                bobbenheim @hebein
                                last edited by

                                @hebein fq-codel is more of an automatic solution, in the way that it does'nt starve any connections of bandwidth and tries to keep latency low at all time. You give priority by creating more child queues under the limiter and set the weight parameter and thereafter make a rule to catch the traffic that needs priority. But as with all other type of QoS it needs the bandwidth to be available which could be a problem on LTE and although it might take a few more minutes to implement there is far less adjustments needed to get a good result contrary to the traffic shaper guide.
                                The difference fq-codel isn't just seen on low end connections, on the two speedtests below you can see the difference it makes on a 240 Mbit symmetric fiber connection. The black line is average of the four streams, and total bandwidth is four times the average.

                                test32_20480_flows_800_uplimit_800limit_20480_flows_download.png

                                all.png

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