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

    HFSC Config used at 150 person LAN Party

    Scheduled Pinned Locked Moved Traffic Shaping
    38 Posts 10 Posters 7.5k 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.
    • S
      sideout
      last edited by

      Traffic shaper  > Limiter > Download queue - set to 40Mbit

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

        Here it is.

        Limiter1.JPG
        Limiter1.JPG_thumb

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

          @Derelict:

          Is there a specific reason you don't have qACK configured with any realtime?

          In the lan party config i have it set to realtime. This is my home / lan party config and i changed it back to just link share here.  I set it to realtime of 10 at the LAN.

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

            OK, thanks.  I thought it was something that was missing from the shaper config.xml.  If you have a 40 Mbps limiter, why do you have WAN set to 5.5 Mbps?

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

              That is upload limt.  The Download queue in the shaper is used in the LAN rule to limt TCP streams.  This shares whatever you set in there equally with all machines wanting a TCP stream.

              Limiter2.JPG
              Limiter2.JPG_thumb

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

                If you want to test it , set it 10Mbit , run a speed test.  Close all browser windows .  Set it to 5Mbit , run a speedtest again.

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

                  What I mean is, why do you have a 40 Mbps limiter when the WAN queue in the shaper is set to 5.5 Mbps?  I thought that if your WAN is set to 5.5 Mbps then your limiter would have to be less than that…?

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

                    If you look at the rule the limiter is only applied to the LAN. You are looking at the WAN bandwidth on the Traffic shaper which is what you set  from your ISP limits.

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

                      @Nullity:

                      Have you noticed whether HFSC "Priority" actually works or not?

                      Doesn't the fact that the priority, if set on an HFSC queue, doesn't make it into the pf altq queue config at all pretty much settle that?

                      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)

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

                        @Derelict:

                        @Nullity:

                        Have you noticed whether HFSC "Priority" actually works or not?

                        Doesn't the fact that the priority, if set on an HFSC queue, doesn't make it into the pf altq queue config at all pretty much settle that?

                        Yes, that along with the fact that the m1/d/m2 parameters are technically how HFSC's prioritization is configured, but I thought I would ask anyway.

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

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

                          If you look at the rule the limiter is only applied to the LAN.

                          OK< that's the part I was missing.  You would think I would have picked that up by the names, Download_LAN, Upload_LAN, but no…

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

                            Yes I try and apply the KISS principle to any of my naming conventions . That way if I get hit by a bus , someone should be able to come in behind me and pick it easily.

                            Glad you found it.

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

                              @Nullity:

                              @Derelict:

                              @Nullity:

                              Have you noticed whether HFSC "Priority" actually works or not?

                              Doesn't the fact that the priority, if set on an HFSC queue, doesn't make it into the pf altq queue config at all pretty much settle that?

                              Yes, that along with the fact that the m1/d/m2 parameters are technically how HFSC's prioritization is configured, but I thought I would ask anyway.

                              "Prioritization" is kind of a loaded word, but is the closest concept with a lot of abstract level overlap. I'm not sure the best way to say it, but I guess you could say "m1/d/m2 is how HFSC manages minimum bandwidth and maximum latency". I'm not correcting you, just thinking out loud about the best way to word it to people less familiar with HSFC's concepts.

                              P.S. Been busy lately, need to check out your HFSC thread again.

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

                                The problem is this language in the GUI:

                                For hfsc, the range is 0 to 7. The default is 1. Hfsc queues with a higher priority are preferred in the case of overload.

                                I have no idea why that is there.

                                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)

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

                                  From what I have read, priority is not part of the official HFSC spec but some implementations have added it in.

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

                                    @Harvy66:

                                    "Prioritization" is kind of a loaded word, but is the closest concept with a lot of abstract level overlap. I'm not sure the best way to say it, but I guess you could say "m1/d/m2 is how HFSC manages minimum bandwidth and maximum latency". I'm not correcting you, just thinking out loud about the best way to word it to people less familiar with HSFC's concepts.

                                    Yes, I agree, but it is pertinent as an argument againt the useless "Priority" section in the HFSC shaper GUI.

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

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

                                      Thanks again for sharing your configs and info sideout.

                                      Did you have any other issues moving from 2.1.5 to 2.2?

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

                                        No I didnt have any issues upgrading with this config.

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

                                          Do you have any tips about multi-wan traffic-shaping?
                                          Did you run into unexpected difficulties, if so, what were they?
                                          Do you ask the LAN party attendees to attempt to keep their downloading,/uploading to a minimum, or do they use the bandwidth however they want (torrenting?).

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

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

                                            @Nullity:

                                            Do you have any tips about multi-wan traffic-shaping?
                                            Did you run into unexpected difficulties, if so, what were they?
                                            Do you ask the LAN party attendees to attempt to keep their downloading,/uploading to a minimum, or do they use the bandwidth however they want (torrenting?).

                                            Multi-Wan traffic Shaping:

                                            1. Use LAN Rules above the default any any rule to get traffic to go where you want it to go , ie we had a twich.tv stream running the whole time that we streamed the LAN and tourney's over so I dedicated one modem to the static IP's of the streamer PC and camera's and did not let them hit the limiter.  I set up a group for all modems at Tier 1 for the default any any rule.  Then you can set groups for two modems for gaming with the third as tier 3 or something like that.

                                            2. At this point I had most of the bugs worked out of it.  One thing is that more and more games are starting to go back to TCP ports instead of UDP for game traffic so you have to put LAN interface rules in for those to not get hit by the limiter. You also need to make sure that you put separate DNS server entries in for each interface so it will be able to get to the Internet.

                                            Also realize that PFSense will spread traffic out across your modems so if you set your limiter to say 50MB when you have 3 50MB modems then your already capping yourself even more.  At first I thought that I had to set the qInternet to what just one modem is but then realized that I needed to set it to what all 3 were.  The same applies to the limiter as well.

                                            3. We dont ask them to limit bandwidth since we do that for them.  I generally open it to like 90Mbit on the limiter until we get ready to start our first online tourney then I knock it down a bit.  I do monitor it and see if someone is hogging a lot of traffic consistently and then I do this:
                                                    a. Get their MAC and make a static DHCP lease
                                                    b. Make a LAN rule that blocks all traffic to and from that lease
                                                    c. Kill all their states and remove the current DHCP lease. 
                                                    d. Sit back and wait for them to come up and find out what they are doing.

                                            We put Steam backups of all the games we are playing for tourneys on a server so no one has to update Steam.  We have played with a Steam caching server but with 150Mbit to the Internet - it is easier to just throttle the downloads as needed.

                                            As stated above with have real time parameters on the important traffic and the multiple modems , I can let people download what they want for the most part without penalty.  I think at one point someone was downloading Heroes of the Storm at like 4mbit or 5mbit a second yet gaming pings to LoL were still at 95ms.

                                            I have another LAN Party at the end of April with about 155 people so I will try and save some graphs and stuff from that and post them up.  I think I will have 3 modems for this one as well.

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