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

    Optimize ping while giving min/max bandwith

    Scheduled Pinned Locked Moved Traffic Shaping
    14 Posts 4 Posters 6.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.
    • S
      starshooter10
      last edited by

      my connection is SUPPOSED to be 6m/384k
      (cable so no pppoe) (i thinks)

      but i have it set for 5m and 320k

      is this good?

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

        I would not trust the advertised settings without benching it. I have seen a lot of lines not having the speed that one would expect.

        1 Reply Last reply Reply Quote 0
        • G
          Gitsum
          last edited by

          Have you tried using m0n0wall? It has lower hardware requirements and it's traffic shaper works better with online gaming.

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

            @Gitsum:

            … and it's traffic shaper works better with online gaming.

            You can't say that in general. From my experience it's not the case but I don't game too much. However I use voip which is latency critical as well.

            1 Reply Last reply Reply Quote 0
            • G
              Gitsum
              last edited by

              I can say that cause I've tested the crap out of both. Dummynet works better. Sorry.

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

                Maybe you can outline the exact steps that you took to test both?  Because I am with hoba.  When the traffic shaper is setup correctly and tuned a bit (from the sticky threads) it works great.

                1 Reply Last reply Reply Quote 0
                • G
                  Gitsum
                  last edited by

                  See thread;
                  http://forum.pfsense.org/index.php?topic=3558.0
                  I do keep trying though, with every new release of PFSense. The last test I did, I tweaked my game_upload queue to 75%, priority 7, realtime bandwidth, 550kb. Still drops packets. Even tried setting the ACK flag. I just leave  the traffic shaper off now.

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

                    Both the game queue and the ACK queues need to be "tweaked" for the amount of bandwidth you have.  Not to over complicate it but there is a excel document in one of the threads that helps in determining these numbers.

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

                      oh really?

                      i put  all the game's ports to a few set of rules us'in the VOIP queues (modified)

                      but i can still tell when some-one say…. opens a lage dmp or uploads to the web

                      here's what i did:

                      LAN->WAN
                      TCP  *
                      Port: 5001 - 5010  *
                      Port: 5001 - 5010  qVOIPUp/qVOIPDown  ultima port set 1

                      WAN->LAN
                      TCP  *
                      Port: 5001 - 5010  *
                      Port: 5001 - 5010  qVOIPDown/qVOIPUp  ultima port set 1 2

                      LAN->WAN
                      TCP  *
                      Port: 7775 - 7777  *
                      Port: 7775 - 7777  qVOIPUp/qVOIPDown  ultima port set 2

                      WAN->LAN
                      TCP  *
                      Port: 7775 - 7777  *
                      Port: 7775 - 7777  qVOIPDown/qVOIPUp  ultima port set 2 2

                      LAN->WAN
                      TCP  *
                      Port: 7875  *
                      Port: 7875  qVOIPUp/qVOIPDown  ultima port set 3

                      WAN->LAN
                      TCP  *
                      Port: 7875  *
                      Port: 7875  qVOIPDown/qVOIPUp  ultima port set 3 2

                      LAN->WAN
                      TCP  *
                      Port: 8800 - 8900  *
                      Port: 8800 - 8900  qVOIPUp/qVOIPDown  ultima port set 4

                      WAN->LAN
                      TCP  *
                      Port: 8800 - 8900  *
                      Port: 8800 - 8900  qVOIPDown/qVOIPUp  ultima port set 4 2

                      LAN->WAN
                      TCP  *
                      Port: 9999  *
                      Port: 9999  qVOIPUp/qVOIPDown  ultima port set 5

                      WAN->LAN
                      TCP  *
                      Port: 9999  *
                      Port: 9999  qVOIPDown/qVOIPUp  ultima port set 5 2

                      all have the TOS options ON

                      and here's what my VOIP queues looks like:

                      25%

                      priority 7

                      low latency is checked...
                      RED , RE I/O
                      and ECN

                      realtime limit is 256k

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

                        Try your tests again with the traffic shaper enabled and visit status -> queues.

                        Do you see drops on any of the queues besides the default queues?

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