TBF settings
Jean-Francois Lemieux [email protected]
I presently use TBF with this syntax:
tc qdisc add dev eth0 parent 1:100 tbf buffer=15000/8 LIMIT=30000 MTU=1500
parent class is a cbq with rate=128Kbit
when I want to add PEAK, I get always RTNETLINK error: Invalid argument. Maybe be I don't understand this parameter. What I know about it, it's that it can control short-term burst traffic, and it's what I need to do.
---Jean-Francois LemieuxIT CONSULTANTMCJ CONSEIL INC
---
Jean-Francois Lemieux
Directeur des projets
MCJ Conseil Inc.
---------------------------------
Do You Yahoo!?
- Get personalized email addresses from Yahoo! Mail Personal Address - only $35 a year!
bert hubert [email protected]
<PRE>On Fri, Feb 02, 2001 at 08:38:21AM -0800, Jean-Francois Lemieux wrote:
><i> tc qdisc add dev eth0 parent 1:100 tbf buffer000/8 LIMIT0000 MTU00
</I>><i>
</I>><i> parent class is a cbq with rate8Kbit
</I>><i>
</I>><i> when I want to add PEAK, I get always RTNETLINK error: Invalid argument. Maybe be I don't understand this parameter. What I know about it, it's that it can control short-term burst traffic, and it's what I need to do. </I>
If I remember correctly, you can't 'overspecify' the tbf. So either you set
peak, or you set limit/buffer.
But my recollection is very hazy about this.
Regards,
bert
Signature · 6 lines
PowerDNS Versatile DNS Services Trilab The Technology People 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet </PRE>
Jean-Francois Lemieux [email protected]
I just try this :
tc qdisc add dev eth0 parent 1:100 tbf peak=128Kbit mtu=1500
I've got the same error; an other idea?
bert hubert <<A HREF="mailto:[email protected]">[email protected]</A>> wrote:
On Fri, Feb 02, 2001 at 08:38:21AM -0800, Jean-Francois Lemieux wrote:
><i> tc qdisc add dev eth0 parent 1:100 tbf buffer=15000/8 LIMIT=30000 MTU=1500
</I>><i>
</I>><i> parent class is a cbq with rate=128Kbit
</I>><i>
</I>><i> when I want to add PEAK, I get always RTNETLINK error: Invalid argument. Maybe be I don't understand this parameter. What I know about it, it's that it can control short-term burst traffic, and it's what I need to do. </I>
If I remember correctly, you can't 'overspecify' the tbf. So either you set
peak, or you set limit/buffer.
But my recollection is very hazy about this.
Regards,
bert
Signature · 15 lines
PowerDNS Versatile DNS Services Trilab The Technology People 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet --- Jean-Francois Lemieux Directeur des projets MCJ Conseil Inc. --------------------------------- Do You Yahoo!? - Get personalized email addresses from Yahoo! Mail Personal Address - only $35 a year!