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

    HFSC + Question on : "Choose the amount of bandwidth for this queue"

    Scheduled Pinned Locked Moved Traffic Shaping
    13 Posts 3 Posters 2.2k 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.
    • KOMK
      KOM
      last edited by

      LinkShare (LS) aka Bandwidth is not an upper limit, it is a minimum share of the aggregate total.  Regardless of what you put, if there isn't any contention on the wire then you will get full bandwidth.

      1 Reply Last reply Reply Quote 0
      • M
        myke
        last edited by

        hello,

        ok thank you for your answer.

        So i just did a simply test on Lan :

        Parent  Queue : QInternet : 3000Kbps
        Child Queue : Qhttp : Bandwith 50% + Linkshare : 50%
        Child Queue : Qother  : Bandwith 10% + Linkshare : 10%

        When i did a test of connection, the result give me 100 % of my bandwith instead 50% + 10%.

        I'm a little confused on this.

        Best regards.
        Myke.

        1 Reply Last reply Reply Quote 0
        • KOMK
          KOM
          last edited by

          You have two queues.  What you are specifying with your LS/Bandwidth values is the minimum share of the bandwidth available from the parent queue.  You have your queues set to 50% and 10%.  HFSC will try to ensure that qHTTP gets at least 1500Kbps and qOther gets 300Kbps.  If all that's happening on the wire is HTTP traffic then qHTTP will get 100% of the bandwidth.  If traffic in qOther starts to rise, it will continue to use as much bandwidth as possible while still reserving 1500 Kbps for qHTTP.  A queue will soak up as much bandwidth as it needs unless you limit it using UpperLimit (UL).  This is the way it's supposed to work and the way you want it to work, generally.  If nothing else is happening on your network, then you don't want to artificially limit yourself for no reason.

          1 Reply Last reply Reply Quote 0
          • S
            sideout
            last edited by

            So basically just put more than 1 PC on the network and have one downloading on steam or something else and then the other doing traffic that would fall in the other queue.

            Then you should be able to see both queues getting traffic on the graph.

            1 Reply Last reply Reply Quote 0
            • M
              myke
              last edited by

              Hello,

              Thanks for your answer!

              It makes sense now to me.

              Thanks for sharing.

              Best regards.
              Myke.

              1 Reply Last reply Reply Quote 0
              • M
                myke
                last edited by

                Hello,

                I would like to add a captive portal with my shapping.

                My url is 10.0.0.1:8000

                I've got a problem because my page go to my queue P2P by default.

                I tried to add some floating rules and rules with :

                • source any

                • destination 10.0.0.1

                • port 8000

                • queue OthersHigh.

                Of course i reload the filter all the times but my portal always goes in my P2P Queue…

                Best regards.
                Myke

                1 Reply Last reply Reply Quote 0
                • KOMK
                  KOM
                  last edited by

                  I don't know anything about Captive Portal, but in your Floating Rules, you have the Action set to MATCH instead of PASS?

                  1 Reply Last reply Reply Quote 0
                  • M
                    myke
                    last edited by

                    Yes i tried the Quick action (Match) but no change.

                    1 Reply Last reply Reply Quote 0
                    • KOMK
                      KOM
                      last edited by

                      For what it's worth, none of the floating rules added by the Traffic Shaping wizard have Quick selected.

                      1 Reply Last reply Reply Quote 0
                      • M
                        myke
                        last edited by

                        Hello there,

                        I'm still stuck with my captive portal go to the P2P queue with P2P catch all active….

                        I think it's a problem like this old post https://forum.pfsense.org/index.php?topic=8034.0  where we need to disable the antilockout rule.

                        Do the traffic shaping and captive portal has not compatible in the same box ?

                        Thanks.

                        Best regards.
                        Myke.

                        1 Reply Last reply Reply Quote 0
                        • KOMK
                          KOM
                          last edited by

                          No idea.  I don't use captive portal.

                          1 Reply Last reply Reply Quote 0
                          • M
                            myke
                            last edited by

                            @KOM:

                            No idea.  I don't use captive portal.

                            Maybe i'm the only one to use captive portable with the traffic shapping.

                            I'll continue my research.

                            Thanks.

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