netdev
[Top] [All Lists]

Re: Rate limit in kbits/s

To: Thierry Coutelier <Thierry.Coutelier@xxxxxxxx>
Subject: Re: Rate limit in kbits/s
From: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Date: Sat, 24 Mar 2001 20:03:16 +1100
Cc: netdev@xxxxxxxxxxx
In-reply-to: Your message of "Wed, 21 Mar 2001 13:06:53 BST." <3AB8995D.40BE3E99@xxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
In message <3AB8995D.40BE3E99@xxxxxxxx> you write:
> 
> I'd like to have rate limit based on bits/s instead of packets.
> When the limit is reached i want to decrease the window size (cwnd)
> instead
>   of dropping packets.

Do not do this!  It is illegal to reduce window size; we are having
fun with this at the moment.  Also, it makes much more sense to use
tc, not iptables, to do this.

And you're better off setting the ECN bit on ECN-enabled packets, and
dropping non-ECN packets.

Hope that helps,
Rusty.
PS. netfilter@xxxxxxxxxxxxxxx is the mailing list address...
--
Premature optmztion is rt of all evl. --DK

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Rate limit in kbits/s, Rusty Russell <=