[LARTC] Ceil Rate
Jody Shumaker
jody.shumaker at gmail.com
Sat Oct 1 00:29:52 CEST 2005
You didn't set a ceil for 1:10, you only set a rate. when no ceil is
specified, a subclass will borrow past its rate max if it can.
You should use:
tc class add dev eth1 parent 1:1 classid 1:10 htb rate 64kbit ceil 64kbit
quantum 1501
And then it would use 64kbit as a hard cap, only going past it for short
bursts when trying to maintain 64kbit as the average (cburst paramater can
control this, but shouldn't be neccasary).
- Jody
On 9/30/05, anderson at skyweb.co.ke <anderson at skyweb.co.ke> wrote:
>
>
> tc class add dev eth1 parent 1:1 classid 1:10 htb rate 64kbit quantum 1501
>
The problem is I often find the rate exceeding the ceil which is 64kbit for
> 1:10 when I ran this
> command:
>
> tc -s show class dev eth1
>
> I'm also using a script that captures the output of the above command and
> feeds it to rrdtool to plot a graph of the usage and it also shows that
> the
> bandwidth being utilised exceeds 64kbit.
>
> How can ensure that this doesn't happen? Where did I go wrong with my
> config?
>
> Any help would be appreciated.
>
>
> Thanks.
> _______________________________________________
> LARTC mailing list
> LARTC at mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ds9a.nl/pipermail/lartc/attachments/20050930/81c730b4/attachment.htm
More information about the LARTC
mailing list