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

Queue Length?

Scheduled Pinned Locked Moved Traffic Shaping
5 Posts 3 Posters 2.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.
  • W
    wirerogue
    last edited by Dec 26, 2015, 6:49 PM

    so i got my traffic shaping working and the first thing i noticed was alot of drops in the traffic shaper queues status page.

    after a few searches of this forum, it appears the default queue lengths are too small for my connection and should be increased.

    i'm using priq and have a 200/20 connection.

    do i just keep increasing the size until the drops are just a few or is there a way to calculate the correct size?

    thanks in advance. you guys are awesome.

    1 Reply Last reply Reply Quote 0
    • H
      Harvy66
      last edited by Jan 2, 2016, 4:43 AM

      If you enable Codel on the queue, you shouldn't need to worry about it.

      1 Reply Last reply Reply Quote 0
      • N
        Nullity
        last edited by Jan 2, 2016, 9:03 AM

        Dropped packets are fine.
        The larger the queue, the more delay.

        Like Harvy66 said, just enable CoDel, and most problems are taken care of.

        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 Jan 2, 2016, 12:33 PM Jan 2, 2016, 12:28 PM

          I guess I should elaborate. Codel isn't a normal queue. Instead of being length based, it's time based, where it has a goal of being less than 5ms in "length". It has several other features, but in a nutshell, it works very well in most situations and it's just a checkbox to enable it.

          edit: Slightly more info. Queues that are large enough to absorb bursts, which allow your connection to use most of its bandwidth, are queues that are too long and cause bufferbloat. At first it seems like a "can't have your cake and eat it to" issue. Do you want bandwidth or low latency. Codel gives you both by effectively dynamically sizing itself. It also does head-drop instead of tail-drop and instead of hitting it's max and dropping all packets, it drops a packet every period where the period gets shorter as long as the current latency is above the target latency.

          1 Reply Last reply Reply Quote 0
          • W
            wirerogue
            last edited by Jan 2, 2016, 7:00 PM

            thanks guys. all i can say is wow. that is super neato.

            some kind of wizardry going on here.  ;D

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received