So lets say I have a 10Mb ADSL connection with 4 Queue Groups Q1 3mb ,Q2 3mb ,Q3 3mb , Q4 1MB. I know how to limit them to those speeds, but is it possible to only limit them if the line is in use.
In other words if only Q4 is using bandwith I want them to have 10mb.
Not sure if this will have to do with prioritising the connections or if there is another way of doing so ?
Use the limit-at parameter on all 4 queues and set the max limit to the full speed of the line.
limit-at = guaranteed minimum bandwidth.
If q1 > limit-at and no other queue is in use, then it is fine. If q3 begins using traffic, it will receive up to q3’s limit-at and take it from available bandwidth first, then from q1 after that if not enough “Free” bandwidth remains.
You may need to use a tree where the 4 actual queues use limit-at and have a single parent queue = full bandwidth, so this way, the child queues know how much total is available.