[rbak-nsp] priority queuing issue

Voigt, Thomas Thomas.Voigt at netkom.de
Fri Jun 22 04:50:32 EDT 2012


Hi,

Brian George wrote:

> I have a pq profile set up w/ 4 q's, each assigned a rate.  According to the manual when there is no congestion the rate limit should not be imposed, however I am seeing queue rate being enforced even when no other traffic is offered.  I'm running  v 6.1.4.6.

You are right, George.
As long as there is no congestion all queues can use higher bandwith than the configured. If you like to disallow one queue to use a higer rate, if there is no congestion you have to use the "no-exceed" keyword.

> qos policy pq-test3 pq
>  num-queues 4
> queue 0 rate 5000 burst 15000
> queue 1 rate 20000 burst 15000
> queue 2 rate 50000 burst 15000
> queue 3 rate 30000 burst 15000

But I see a possible problem in your config:
Your burst rates don't follow the guidelines from the manual. So it could be possible, that you've got some unexpected bandwith rates.

The manual states, you have to calculate the burst rates as follows:

The burst rate has to be configured as the number of bytes which are transferred in 1.5sec with the given rate.

So if you like to configure a rate of 5Mbit/s your burst size should be 5000000Bit/s * 1.5 / 8 = 937500 Bytes

Hope this helps.

--
regards

Thomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/redback-nsp/attachments/20120622/aa60f736/attachment.html>


More information about the redback-nsp mailing list