From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Francois Lemieux jflemieux@yahoo.com Date: Fri, 02 Feb 2001 17:10:59 +0000 Subject: [LARTC] TBF settings MIME-Version: 1 Content-Type: multipart/mixed; boundary="0-170595591-981133859=:6793" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org
--0-170595591-981133859=:6793
Content-Type: text/plain; charset=us-ascii


 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!
--0-170595591-981133859=:6793
Content-Type: text/html; charset=us-ascii

<P>&nbsp;I just try this :</P>
<P>tc qdisc add dev eth0 parent 1:100 tbf&nbsp;peak=128Kbit mtu=1500</P>
<P>I've got the same error; an other idea?<BR><BR></P>
<P>&nbsp; <B><I>bert hubert &lt;ahu@ds9a.nl&gt;</I></B> wrote: <BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Fri, Feb 02, 2001 at 08:38:21AM -0800, Jean-Francois Lemieux wrote:<BR><BR>&gt; tc qdisc add dev eth0 parent 1:100 tbf buffer=15000/8 LIMIT=30000 MTU=1500<BR>&gt; <BR>&gt; parent class is a cbq with rate=128Kbit<BR>&gt; <BR>&gt; 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.<BR><BR>If I remember correctly, you can't 'overspecify' the tbf. So either you set<BR>peak, or you set limit/buffer.<BR><BR>But my recollection is very hazy about this.<BR><BR>Regards,<BR><BR>bert<BR><BR>-- <BR>PowerDNS Versatile DNS Services <BR>Trilab The Technology People <BR>'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet</BLOCKQUOTE><BR><BR>---
<br>Jean-Francois Lemieux
<br>Directeur des projets
<br>MCJ Conseil Inc.
<br>
<br><p><br><hr size=1><b>Do You Yahoo!?</b><br>
- Get personalized email addresses from <a href=http://personal.mail.yahoo.com/>Yahoo! Mail Personal Address</a>  - only $35 
a year!
--0-170595591-981133859=:6793--