* [LARTC] TBF settings
@ 2001-02-02 16:38 Jean-Francois
2001-02-02 16:47 ` bert
2001-02-02 17:10 ` Jean-Francois
0 siblings, 2 replies; 3+ messages in thread
From: Jean-Francois @ 2001-02-02 16:38 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 638 bytes --]
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!
[-- Attachment #2: Type: text/html, Size: 1081 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [LARTC] TBF settings
2001-02-02 16:38 [LARTC] TBF settings Jean-Francois
@ 2001-02-02 16:47 ` bert
2001-02-02 17:10 ` Jean-Francois
1 sibling, 0 replies; 3+ messages in thread
From: bert @ 2001-02-02 16:47 UTC (permalink / raw)
To: lartc
<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 buffer\x15000/8 LIMIT0000 MTU\x1500
</I>><i>
</I>><i> parent class is a cbq with rate\x128Kbit
</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
--
PowerDNS Versatile DNS Services
Trilab The Technology People
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
</PRE>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [LARTC] TBF settings
2001-02-02 16:38 [LARTC] TBF settings Jean-Francois
2001-02-02 16:47 ` bert
@ 2001-02-02 17:10 ` Jean-Francois
1 sibling, 0 replies; 3+ messages in thread
From: Jean-Francois @ 2001-02-02 17:10 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 1174 bytes --]
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:ahu@ds9a.nl">ahu@ds9a.nl</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
--
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!
[-- Attachment #2: Type: text/html, Size: 1824 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-02-02 17:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-02 16:38 [LARTC] TBF settings Jean-Francois
2001-02-02 16:47 ` bert
2001-02-02 17:10 ` Jean-Francois
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.