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

    Traffic shaper not efficient

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 3 Posters 2.4k 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.
    • X
      xbipin
      last edited by

      after the switch to 2.0 nanobsd i have been having issues with the way the traffic shaper works, one thing solved which didnt work for me in 1.2.3 was bridged interface always used to show traffic under p2p and now that goes in proper queues for 2.0 but it feels the shaper isnt working as efficiently as in 1.2.3.

      i have configured my shaper exactly how i used to use it in 1.2.3 and have been tweaking it from the past week but i still find issues such as when torrent traffic is started which goes in p2p queues then voip calls get affected inspite of voip being put on the highest priority and a traffic share of 56% of total link speed.
      either this is happening bcoz of the kernel in debug mode or something else coz in 1.2.3 if torrents were downloading at full speed and a voip call was made then the shaper would reduce bandwidth or drop packets for torrents and give higher priority to voip and i would find audio in my voip call as normal but currently it comes jittery and i dont see voip queue packets being dropped or there is something that is not letting voip packets flow as its supposed to, mayb the CPU is busy doing something else causing the jitter etc.

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

        I just read that the current 2.0 builds are 'debug' builds that will have lower performance than the final release builds.  According to some of the developers- everything is slower with the debugging turned on.  Once the system becomes stable, future 2.0 builds will be built without debugging.  This may be the cause of your performance concerns.

        It is possible to build the code yourself with the debug turned off- perhaps one of the developers may be able to provide instructions.  I have absolutely no clue how this may be done, although I read somewhere that it is fairly easy.

        1 Reply Last reply Reply Quote 0
        • X
          xbipin
          last edited by

          i hope if some developer can provide some guide on how to switch off the debugging

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            You can follow the directions here:

            http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso

            But before you actually build the system, find the kernel config file (e.g. tools/builder_scripts/conf/pfSense.8 ) and edit out the debug options. (KDB, KDB_TRACE, DDB, GDB, INVARIANTS, INVARIANTS_SUPPORT, WITNESS, WITNESS_SKIPSPIN, makeoptions DEBUG=-g)

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • X
              xbipin
              last edited by

              thats just too much info for a newbie in freebsd like me, i guess ill just wait for debug to be switched off later on.

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