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!
On Fri, Feb 02, 2001 at 08:38:21AM -0800, Jean-Francois Lemieux wrote:> 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.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 -- PowerDNS Versatile DNS Services Trilab The Technology People ''SYN! .. SYN|ACK! .. ACK!'' - the mating call of the internet
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 <ahu@ds9a.nl> wrote: On Fri, Feb 02, 2001 at 08:38:21AM -0800, Jean-Francois Lemieux wrote:> 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.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 -- 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!