You didn't set a ceil for 1:10, you only set a rate. when no ceil is
specified,&nbsp; a subclass will borrow past its rate max if it can.<br>
<br>
You should use:<br>
<br>
tc class add dev eth1 parent 1:1 classid 1:10 htb rate 64kbit ceil 64kbit quantum 1501<br>
<br>
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).<br>
<br>
- Jody<br><br><div><span class="gmail_quote">On 9/30/05, <b class="gmail_sendername"><a href="mailto:anderson@skyweb.co.ke">anderson@skyweb.co.ke</a></b> &lt;<a href="mailto:anderson@skyweb.co.ke">anderson@skyweb.co.ke</a>
&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>tc class add dev eth1 parent 1:1 classid 1:10 htb rate 64kbit quantum 1501&nbsp;
</blockquote><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The problem is I often find the rate exceeding the ceil which is 64kbit for 1:10 when I ran this
<br>command:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tc -s show class dev eth1<br><br>I'm also using a script that captures the output of the above command and<br>feeds it to rrdtool to plot a graph of the usage and it also shows that the
<br>bandwidth being utilised exceeds 64kbit.<br><br>How can ensure that this doesn't happen? Where did I go wrong with my<br>config?<br><br>Any help would be appreciated.<br><br><br>Thanks.<br>_______________________________________________
<br>LARTC mailing list<br><a href="mailto:LARTC@mailman.ds9a.nl">LARTC@mailman.ds9a.nl</a><br><a href="http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc">http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc</a><br></blockquote>
</div><br>