[LARTC] TBF + burst

2005-07-19 Thread js si
I am using tbf to do rate limitation. i set the rate, burst and latency parameters for tbf. but when i start passing data i notice that there is an initial burst and then the rate goes down to the configured level. is this because tbf starts with a full bucket? thanks. __

Re: [LARTC] Problem with HTB and ceil

2005-07-19 Thread Andreas Klauer
On Tuesday 19 July 2005 22:41, nik-da-39 wrote: > Thanks for your comment. From my understanding, I dont rely too much on > the exact minimum bitrate, as long as the prios are obeyed by the > packets. ... > Thats why I also dont need the sum of the min bitrates to be > exactly the parental bitra

Re: [LARTC] Problem with HTB and ceil

2005-07-19 Thread nik-da-39
Andreas Klauer <[EMAIL PROTECTED]>: > Yes. The only rules for the ceil should be that it's the same or bigger > than the rate, and that it does not exceed the parent's ceil. Thanks for the info. Its not clearly enough stated in the HTB "manual". > > ## non voip > > /sbin/tc class add dev $EXTIF p

Re: [LARTC] Problem with HTB and ceil

2005-07-19 Thread Andreas Klauer
On Tuesday 19 July 2005 15:51, you wrote: > Just to make sure, when you talk about the sum you are talking about the > sum of the minimum bitrates, not the sum of the ceil bitrates, right? Yes. The only rules for the ceil should be that it's the same or bigger than the rate, and that it does not

Re: [LARTC] Problem with HTB and ceil

2005-07-19 Thread nik39_nospam
Andreas Klauer <[EMAIL PROTECTED]>: > On Tuesday 19 July 2005 12:54, [EMAIL PROTECTED] wrote: > > /sbin/tc class add dev $EXTIF parent 1:002 classid 1:101 htb rate > > 364kbit ceil 364 prio 1 > > > > ## ACK > > /sbin/tc class add dev $EXTIF parent 1:101 classid 1:200 htb rate > > 140kbit ceil 364k

Re: [LARTC] Problem with HTB and ceil

2005-07-19 Thread Andreas Klauer
On Tuesday 19 July 2005 12:54, [EMAIL PROTECTED] wrote: > /sbin/tc class add dev $EXTIF parent 1:002 classid 1:101 htb rate > 364kbit ceil 364 prio 1 > > ## ACK > /sbin/tc class add dev $EXTIF parent 1:101 classid 1:200 htb rate > 140kbit ceil 364kbit prio 1 > ## SSH > /sbin/tc class add dev $EXTIF

Re: [LARTC] Problem with HTB and ceil

2005-07-19 Thread nik39_nospam
Carl-Daniel Hailfinger <[EMAIL PROTECTED]>: > > the problem is that the ceil parameter doesnt seem to work on non leafs. > > IIRC that is by design. Some time ago, it was explained on this list > in a much better way than I could do it now. Yes, thanks I found something but I am not sure how to i

Re: [LARTC] Problem with HTB and ceil

2005-07-19 Thread Carl-Daniel Hailfinger
Hi, [EMAIL PROTECTED] schrieb: > > the problem is that the ceil parameter doesnt seem to work on non leafs. IIRC that is by design. Some time ago, it was explained on this list in a much better way than I could do it now. Regards, Carl-Daniel -- http://www.hailfinger.org/ _

Re: [LARTC] Problem with HTB and ceil

2005-07-19 Thread nik39_nospam
Zitat von richard lucassen <[EMAIL PROTECTED]>: > > I am trying to setup a shaper for my linux box and I am experiencing > > some problems. What I am trying to do is priorizing packets on the > > egress link, therefore I have setup some prio classes etc. The > > priorizing seem to work but the pr

Re: [LARTC] Problem with HTB and ceil

2005-07-19 Thread richard lucassen
On Tue, 19 Jul 2005 07:52:03 +0200 [EMAIL PROTECTED] wrote: > I am trying to setup a shaper for my linux box and I am experiencing > some problems. What I am trying to do is priorizing packets on the > egress link, therefore I have setup some prio classes etc. The > priorizing seem to work but the