> On 14 Jan, 2019, at 12:54 pm, Rodrigo Alvarez Dominguez <[email protected]> 
> 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

_______________________________________________
Codel mailing list
[email protected]
https://lists.bufferbloat.net/listinfo/codel

Reply via email to