[Cake] bringing up a new router/connection

David Lang david at lang.hm
Thu Feb 4 00:14:38 EST 2021


I replaced the c2600 with the Turris Omni (one of the kickstarter ones) and 
setup cake on it. This is running the Turris version 5 OS, which is supposed to 
closely track upstream openwrt (let me know what I can do to check versions as 
needed)

download wise I get good performance at 300000 download, but upload is still 
having problems, mostly just getting 10-15Mb even with the rate set to 0 to 
bypass cake entirely

eth2 is the DSL, lan4 is the cablemodem (lan4 is a switch port, probably 
accessed via eth1)

root at sun:~# tc -s qdisc show dev eth1
qdisc mq 0: root
  Sent 11872252393 bytes 8358655 pkt (dropped 0, overlimits 0 requeues 2496)
  backlog 0b 0p requeues 2496
qdisc fq_codel 0: parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
   maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
   new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
   maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
   new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
   maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
   new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
   maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
   new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
   maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
   new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
   maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
   new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
   maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
   new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 11872252393 bytes 8358655 pkt (dropped 0, overlimits 0 requeues 2496)
  backlog 0b 0p requeues 2496
   maxpacket 2272 drop_overlimit 0 new_flow_count 1483 ecn_mark 0
   new_flows_len 0 old_flows_len 0


root at sun:~# tc -s qdisc show dev eth2
qdisc mq 0: root
  Sent 3957079 bytes 29531 pkt (dropped 0, overlimits 0 requeues 1)
  backlog 0b 0p requeues 1
qdisc fq_codel 0: parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
   maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
   new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
   maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
   new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
   maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
   new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
   maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
   new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
   maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
   new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
   maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
   new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
   maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
   new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms 
interval 100.0ms memory_limit 4Mb ecn
  Sent 3957079 bytes 29531 pkt (dropped 0, overlimits 0 requeues 1)
  backlog 0b 0p requeues 1
   maxpacket 336 drop_overlimit 0 new_flow_count 2 ecn_mark 0
   new_flows_len 0 old_flows_len 0


root at sun:~# tc -s qdisc show dev lan4
qdisc noqueue 0: root refcnt 2
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
qdisc ingress ffff: parent ffff:fff1 ----------------
  Sent 3190516525 bytes 2312113 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0

root at sun:~# tc qdisc
qdisc noqueue 0: dev lo root refcnt 2
qdisc mq 0: dev eth0 root
qdisc fq_codel 0: dev eth0 parent :8 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth0 parent :7 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth0 parent :6 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth0 parent :5 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth0 parent :4 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth0 parent :3 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth0 parent :2 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc mq 0: dev eth1 root
qdisc fq_codel 0: dev eth1 parent :8 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth1 parent :7 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth1 parent :6 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth1 parent :5 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth1 parent :4 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth1 parent :3 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth1 parent :2 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth1 parent :1 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc mq 0: dev eth2 root
qdisc fq_codel 0: dev eth2 parent :8 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth2 parent :7 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth2 parent :6 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth2 parent :5 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth2 parent :4 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth2 parent :3 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth2 parent :2 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 0: dev eth2 parent :1 limit 10240p flows 1024 quantum 1514 target 
5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc noqueue 0: dev lan0 root refcnt 2
qdisc noqueue 0: dev lan1 root refcnt 2
qdisc noqueue 0: dev lan2 root refcnt 2
qdisc noqueue 0: dev lan3 root refcnt 2
qdisc noqueue 0: dev lan4 root refcnt 2
qdisc ingress ffff: dev lan4 parent ffff:fff1 ----------------
qdisc noqueue 0: dev br-lan root refcnt 2
qdisc noqueue 0: dev wlan1 root refcnt 2
qdisc noqueue 0: dev wlan1-1 root refcnt 2
qdisc fq_codel 0: dev tap0 root refcnt 2 limit 10240p flows 1024 quantum 1514 
target 5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc noqueue 0: dev wlan0 root refcnt 2
qdisc cake 8013: dev ifb4lan4 root refcnt 2 bandwidth 300Mbit besteffort 
triple-isolate nonat wash no-ack-filter split-gso rtt 100.0ms raw overhead 0



  On Thu, 4 Feb 2021, Y via Cake wrote:

> Date: Thu, 4 Feb 2021 13:53:59 +0900
> From: Y via Cake <cake at lists.bufferbloat.net>
> Reply-To: Y <intruder_tkyf at yahoo.fr>
> To: cake at lists.bufferbloat.net
> Subject: Re: [Cake] bringing up a new router/connection
> 
> Did you test with traffic shaping like this?
>
> Yutaka
>
> pi at raspberrypi:~$ tc -s qdisc show dev eth0
> qdisc cake 8033: root refcnt 2 bandwidth 809Kbit besteffort dual-srchost 
> nonat nowash ack-filter-aggressive no-split-gso rtt 100.0ms atm overhead 10
>
>> # tc qdisc
>> qdisc noqueue 0: dev lo root refcnt 2
>> qdisc mq 0: dev eth0 root
>> qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 
>> 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
>> qdisc mq 0: dev eth1 root
>> qdisc fq_codel 0: dev eth1 parent :1 limit 10240p flows 1024 quantum 
>> 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
>> qdisc noqueue 0: dev br-lan root refcnt 2
>> qdisc noqueue 0: dev eth1.1 root refcnt 2
>> qdisc noqueue 0: dev eth0.4 root refcnt 2
>> qdisc noqueue 0: dev wlan0 root refcnt 2
>> qdisc noqueue 0: dev eth0.2 root refcnt 2
>> 
>> David Lang
>> _______________________________________________
>> Cake mailing list
>> Cake at lists.bufferbloat.net
>> https://lists.bufferbloat.net/listinfo/cake
> _______________________________________________
> Cake mailing list
> Cake at lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake
>


More information about the Cake mailing list