[Codel] Codel configuration
Jonathan Morton
chromatix99 at gmail.com
Mon Jan 14 10:24:26 EST 2019
> On 14 Jan, 2019, at 12:54 pm, Rodrigo Alvarez Dominguez <rodroleon at gmail.com> wrote:
>
> I would like to know if it is possible to have the following configuration where there is a rate limit and codel algorithm configured over the same interface
>
> tc qdisc add dev r1-eth0 root handle 1: htb
> tc class add dev r1-eth0 parent 1: classid 1:1 htb rate 10000kbit burst 15kbit
> tc qdisc add dev r1-eth0 parent 1:1 handle 10: fq_codel limit 1000 target 5000 interval 10000 noecn
> tc filter add dev r1-eth0 protocol ip prio 1 u32 match ip dst 0.0.0.0/0 flowid 1:1
Yes, this is an extensively tested configuration. Have you tried it?
You could also just use Cake, which does all the above, better, with only one tc invocation:
tc qdisc replace dev r1-eth0 root handle 1: cake bandwidth 10000kbit besteffort flows
- Jonathan Morton
More information about the Codel
mailing list