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

    Are there any plans to move traffic shaper from PF to IPFW?

    Scheduled Pinned Locked Moved Traffic Shaping
    30 Posts 9 Posters 6.9k 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.
    • w0wW
      w0w
      last edited by

      @chrcoluk:

      any source for this info? can only find references to openbsd.

      If you are right and it does go, it be a shame as ALTQ with HSFC is the best shaper I have ever used for ingress.

      In fact that it is the best for you it does not mean it could not be better or even already is, may be you do not use it nowadays. 
      Also the new subsystem that already came to openbsd to replace ALTQ may be even better.
      https://pdf.k0nsl.org/C/Computer%20and%20Internet%20Collection/2015%20Computer%20and%20Internet%20Collection%20part%201/No%20Starch%20Press%20The%20Book%20of%20PF,%20A%20No-Nonsense%20Guide%20to%20the%20OpenBSD%20Firewall%203rd%20%282015%29.pdf
      page 118, 131
      In fact, it's "always HFSC".
      I think ALTQ do not disappear immediately from FreeBSD and it will be available for many years, but will not moving forward.
      I have seen some reddit user posts about openbsd 5.x pf working faster then freebsd one, even without SMP support, hard to believe anyway :)

      1 Reply Last reply Reply Quote 0
      • C
        chrcoluk
        last edited by

        whilst its good that they using HFSC (page 123 of the PDF), it seems to be a significant dumbing down of the flexibility, ALTQ allows much more granular control then what is detailed in that document.  But as I said before FreeBSD is now several years behind openbsd with no plans I am aware of to catch up but instead take their own development path, so openbsd should have no bearing on what FreeBSD does.  I now await for some kind of announcement based on what Jim has posted, as at some point they would have to inform the FreeBSD userbase of plans.

        pfSense CE 2.8.0

        1 Reply Last reply Reply Quote 0
        • w0wW
          w0w
          last edited by

          @chrcoluk:

          ALTQ allows much more granular control then what is detailed in that document.

          I am not some kind of ALTQ magician, so I should just to believe you, but in fact it is useless when you are on >4G network, it just won't work at all.

          1 Reply Last reply Reply Quote 0
          • C
            chrcoluk
            last edited by

            I do confess to not reading the entire document :) but the bit I read indicated there is no a longer a choice of shaper to use, its just HSFC, whilst currently one can choose between PRIQ,FAIRQ, HSFC and more.

            pfSense CE 2.8.0

            1 Reply Last reply Reply Quote 0
            • w0wW
              w0w
              last edited by

              @chrcoluk:

              I do confess to not reading the entire document :) but the bit I read indicated there is no a longer a choice of shaper to use, its just HSFC, whilst currently one can choose between PRIQ,FAIRQ, HSFC and more.

              HFSC new and old can do all the same like PRIQ, FAIRQ do, also you called HSFC the best you need, so what the problem?  ;D
              My dream in the beginning of the topic was not to remove something, but to add new algorithms on IPFW side, anyway it used already for limiters, so why not to move some shaper jobs to it and in future step by step moving from ALTQ to something better.

              1 Reply Last reply Reply Quote 0
              • N
                Nullity
                last edited by

                @w0w:

                @chrcoluk:

                I do confess to not reading the entire document :) but the bit I read indicated there is no a longer a choice of shaper to use, its just HSFC, whilst currently one can choose between PRIQ,FAIRQ, HSFC and more.

                HFSC new and old can do all the same like PRIQ, FAIRQ do, also you called HSFC the best you need, so what the problem?  ;D
                My dream in the beginning of the topic was not to remove something, but to add new algorithms on IPFW side, anyway it used already for limiters, so why not to move some shaper jobs to it and in future step by step moving from ALTQ to something better.

                Not quite true. Fair Queueing has no strict, technical definition. What HFSC defines as "fair" is not the same as what FAIRQ defines as "fair".

                Please correct any obvious misinformation in my posts.
                -Not a professional; an arrogant ignoramous.

                1 Reply Last reply Reply Quote 0
                • w0wW
                  w0w
                  last edited by

                  The true is that it can, but I did not say how well it do the same job  ;)
                  I don't know what really FAIRQ do, but I've seen your post about FAIRQ

                  Fair Queueing is per-byte fairness

                  So yes, definitely it is not the same as HFSC if it's true.

                  1 Reply Last reply Reply Quote 0
                  • C
                    chrcoluk
                    last edited by

                    @w0w:

                    HFSC new and old can do all the same like PRIQ, FAIRQ do, also you called HSFC the best you need, so what the problem?  ;D
                    My dream in the beginning of the topic was not to remove something, but to add new algorithms on IPFW side, anyway it used already for limiters, so why not to move some shaper jobs to it and in future step by step moving from ALTQ to something better.

                    The problem is I think choice is king, what is best for me may not be best for someone else.

                    Also for egress I find fairq+codel the best.  HSFC only best for ingress.

                    pfSense CE 2.8.0

                    1 Reply Last reply Reply Quote 0
                    • w0wW
                      w0w
                      last edited by

                      @chrcoluk:

                      The problem is I think choice is king
                      [over-quote deleted]

                      It's not a problem.

                      Giving us on the first steps in additional to exciting ALTQ use IPFW based shaping is better choice then nothing new. At least it giving you choice and ability to use "less knobs" shaper on modern 10G or other hardware, that do not support ALTQ and possibly never will. This is really giving you choice. Today you just can't use pfSense shaper on those 10G networks, even if it's not widespread.

                      1 Reply Last reply Reply Quote 0
                      • C
                        chrcoluk
                        last edited by

                        of course if we have both I have absolutely no problem with that. :)

                        pfSense CE 2.8.0

                        1 Reply Last reply Reply Quote 0
                        • w0wW
                          w0w
                          last edited by

                          Those who are not afraid to experiment, welcome to https://forum.pfsense.org/index.php?topic=126637.msg699341#msg699341
                          Thanks to qubit, everyone now can try playing with FQ_CODEL at least.

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