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

    Maximizing performance for network?

    Scheduled Pinned Locked Moved Traffic Shaping
    28 Posts 3 Posters 5.6k 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
      Harvy66
      last edited by

      Just remember that realtime always takes from the root and ignores upperlimit and link share. Of course any bandwidth above realtime respects upperlimit and link share.

      And a 500 queue is very large for 13Mb of bandwidth. That's about 500ms of latency if the entire queue was full of 1500 byte packets. If in doubt, enable CoDel on all queues.

      I also noticed that you said your connection is 12mb, but you set your shaper to 13Mb. On your download you should set your bandwidth to about 90%-95% of your minimum bandwidth. This means if you average 12Mb, but it comes in as a fluctuating 11Mb-13Mb, you should target 95% of 11Mb.

      1 Reply Last reply Reply Quote 0
      • K
        killmasta93
        last edited by

        Hi Harvy66 thank you again for the reply :)

        Just remember that realtime always takes from the root and ignores upperlimit and link share. Of course any bandwidth above realtime respects upperlimit and link share.

        does that explain the speedtest pictures, while enabling traffic shaping  would speedtest results be different? Not really sure if I understood the last part, any bandwidth do you imply the WAN queues o the LAN.

        And a 500 queue is very large for 13Mb of bandwidth. That's about 500ms of latency if the entire queue was full of 1500 byte packets. If in doubt, enable CoDel on all queues.

        I saw on a previous post that you showed your pics which had 1024 Queues should i follow somewhat your pics? When enabling CoDel on all queues should I remove all the queue limits?

        I also noticed that you said your connection is 12mb, but you set your shaper to 13Mb. On your download you should set your bandwidth to about 90%-95% of your minimum bandwidth. This means if you average 12Mb, but it comes in as a fluctuating 11Mb-13Mb, you should target 95% of 11Mb.

        Thank you that was a very good point you made I wasn't really sure,  I would have days that its 11 others 12.9

        And my last questions how were my firewall rules? where they correct? or is there any recommendation you could tip me  :)?

        Thank you again

        Tutorials:

        https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

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

          If you enable CoDel, the queue limit is unused.

          With CoDel enabled my queue is 2-4 packets even though it is defaulted at 50.

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

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

            Your speedtest is going into the catchall, which has an upperlimit of 10%. Probably because many speedtests use port 8080 for some reason.

            1 Reply Last reply Reply Quote 0
            • K
              killmasta93
              last edited by

              Thank you for the replies

              @Nullity

              If you enable CoDel, the queue limit is unused.

              With CoDel enabled my queue is 2-4 packets even though it is defaulted at 50.

              Would it be recommended enabling it on the Default queue both LAN and WAN?

              @Harvy66

              Your speedtest is going into the catchall, which has an upper limit of 10%. Probably because many speedtests use port 8080 for some reason.

              but isnt my upper limit on catchall 5%? But whats funny My navigation speed on websites are great or should i be worried about the speedtest result?, But lets say I would need to download a heavy file and I would need to bypass the queue would that be possible or I would need to turn it off?

              Thank you

              Tutorials:

              https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

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

                @killmasta93:

                Thank you for the replies

                @Nullity

                If you enable CoDel, the queue limit is unused.

                With CoDel enabled my queue is 2-4 packets even though it is defaulted at 50.

                Would it be recommended enabling it on the Default queue both LAN and WAN?

                The answer is complicated.

                Though, thankfully, you can simply use trial & error to determine whether you prefer CoDel or not.

                tldr; enable

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

                1 Reply Last reply Reply Quote 0
                • K
                  killmasta93
                  last edited by

                  Thanks Nullity for the reply I think I am getting the hang of it doing lots trail and error.

                  So i think on the LAN part (download) I have been able to tweak it with the catchall to a decent amount without hurting download streams, but the WAN(upload) do we have any control of it?

                  Lets say someone is uploading 1gig of information to dropbox with a 2mb upload speed it kills the internet I have seen my WAN RTT to around 300ms when originally its around 1.3ms, is there a possible way to put that catchall on the WAN for only protocols of dropbox,mega,wetransfer?

                  Also streaming netflix,youtube, going to webpages that uses the LAN queues right?

                  Thank you

                  Tutorials:

                  https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

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

                    Before using pfSense, I was proud of my networking knowledge because I knew the diff between a switch and a hub.  ???

                    Then I became interested in traffic-shaping and realized I knew nothing about computer networking. After reading a few networking books and many dozens of (incomprehensible, lol) white-papers centered around HFSC, I finally feel comfortable configuring a simple traffic-shaping setup.

                    I say this because all your questions are already answered in books, the pfSense wiki, and Google. Go read. :)

                    We ain't your lackeys. :)

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

                    1 Reply Last reply Reply Quote 0
                    • K
                      killmasta93
                      last edited by

                      hahah all righty  :) ill post back up when I have been fully educated  ;)

                      Tutorials:

                      https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

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

                        @killmasta93:

                        hahah all righty  :) ill post back up when I have been fully educated  ;)

                        Well, we just need to know you have felt the same pain we have, lol.

                        I look forward to seeing you become a jaded forumite. :)

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

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

                          @killmasta93:

                          @Harvy66

                          Your speedtest is going into the catchall, which has an upper limit of 10%. Probably because many speedtests use port 8080 for some reason.

                          but isnt my upper limit on catchall 5%? But whats funny My navigation speed on websites are great or should i be worried about the speedtest result?, But lets say I would need to download a heavy file and I would need to bypass the queue would that be possible or I would need to turn it off?

                          Thank you

                          Yes, your catchall upperlimit is 5%, which is why your speedtest is so slow. Your websites work fine because they properly go into your web queues. You need to fix your matching rules to include port 8080 for the destination.

                          1 Reply Last reply Reply Quote 0
                          • K
                            killmasta93
                            last edited by

                            Hi Harvy66,
                            Thanks for the reply I got the speed test working with the firewall rules see picture I got the hang of downloads(LAN) i even been able to create alias to give certain groups to follow the queues and others to ignore it for testing purposes.  I was able to limit the download speeds to download an iso (1.2gigs) at a rate of 300kb/sec while another computer would ignore that and download the same iso at 1.2mb/sec  ;D

                            What I can not get is the uploads (WAN).

                            I have been trying to limit upload speeds to 120kb/sec with mega but immediately  it uses the queues of the qhttp which uploads at 740kb/sec

                            I then created another rule to use the qdefault/qcatchall with all the Ips of mega and nothing :(

                            Not sure what i might be doing wrong?

                            Thank you

                            Clipboarder.2015.10.17-006.png
                            Clipboarder.2015.10.17-006.png_thumb
                            Clipboarder.2015.10.17-007.png
                            Clipboarder.2015.10.17-007.png_thumb
                            Clipboarder.2015.10.17-008.png
                            Clipboarder.2015.10.17-008.png_thumb

                            Tutorials:

                            https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

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

                              With floating rules, last rule wins. Mega is at the top, so it'll get changed by qHTTP at the bottom. You also have to remember that IPs can change at any time. The firewall would be expecting a different list than what the client attempts to connect to.

                              1 Reply Last reply Reply Quote 0
                              • K
                                killmasta93
                                last edited by

                                Thank you for the reply, So I did what you advised and moved around other rules and nothing :( what I also realized that when disabling the rule of the http it then queues the qdefault but enabling the qhttp it goes back to the qhttp when uploading though mega see pictures.

                                I also tried giving the qhttp less percentage but kinda defeats the purpose. lol..

                                I guess what my main goal is for people uploading though dropbox,mega,google drive,etc give them around a 200k upload limit which I am able to do it on the download part but not on the upload part.

                                Thank you

                                Clipboarder.2015.10.18-005.png
                                Clipboarder.2015.10.18-005.png_thumb
                                Clipboarder.2015.10.18-006.png
                                Clipboarder.2015.10.18-006.png_thumb

                                Tutorials:

                                https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

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

                                  Those services use the HTTP protocol, but are you sure they use the HTTP/HTTPS ports?

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    killmasta93
                                    last edited by

                                    Hi Harvy66 thanks for the reply, yep they do unfortunately.  I think uploading is worst then torrenting lolz… especially when having 2mb upload and now these days there's so many sites to upload..like google drive,dropbox, mega, filepup ,etc

                                    :(

                                    Tutorials:

                                    https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

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