Did you try to update tc to the latest commit in
github.com/dtaht/tc-adv?

Thank you, this solved the problem. For reference, the output of $TC -s qdisc is now:

qdisc cake 8001: root refcnt 6 bandwidth 850Kbit diffserv3 dual-srchost ack-filter split-gso rtt 100.0ms noatm overhead 18 mpu 64
 Sent 238334 bytes 2192 pkt (dropped 7, overlimits 1572 requeues 0)
 backlog 0b 0p requeues 0
 memory used: 13440b of 4Mb
 capacity estimate: 850Kbit
 min/max network layer size:           28 /    1375
 min/max overhead-adjusted size:       64 /    1393
 average network hdr offset:           14

                   Bulk  Best Effort        Voice
  thresh       53120bit      850Kbit    212496bit
  target        342.0ms       21.4ms       85.5ms
  interval      684.0ms      116.4ms      180.5ms
  pk_delay          0us        3.6ms        1.6ms
  av_delay          0us        316us        149us
  sp_delay          0us         19us         16us
  backlog            0b           0b           0b
  pkts                0         2053          146
  bytes               0       226989        11819
  way_inds            0           13            0
  way_miss            0          305           23
  way_cols            0            0            0
  drops               0            0            0
  marks               0            0            0
  ack_drop            0            7            0
  sp_flows            0            0            1
  bk_flows            0            0            0
  un_flows            0            0            0
  max_len             0         1389          142
  quantum           300          300          300

Full output is in the file attached.

Kristjan

Le 2018-06-10 à 20:32, George Amanakis a écrit :
Did you try to update tc to the latest commit in github.com/dtaht/tc-adv?
Your output suggests that the tc you are using doesn't understand some of the options.
Could you update tc to the latest commit from the above repo and try again?

George

On 6/10/2018 8:20 PM, Kristjan Onu wrote:
 > What is the output of ?

qdisc cake 8001: dev enp4s0 root refcnt 6 autorate_ingress (?diffserv?) dual-srchost ack-filter noatm overhead 18 total_overhead 18 hard_header_len 0 mpu 1
  Sent 0 bytes 0 pkt (dropped 4, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0

Full output is in the file attached.

I discovered Cake works on commit 2b1c631, with linux-image-4.16.0-2-amd64. Then $TC -s qdisc outputs: qdisc cake 8001: root refcnt 6 bandwidth 850Kbit (?diffserv?) dual-srchost rtt 100.0ms noatm overhead 18 total_overhead 18 hard_header_len 0 mpu 64
  Sent 7497015 bytes 130570 pkt (dropped 0, overlimits 5129 requeues 0)
  backlog 0b 0p requeues 0

I will look for the commit between 2b1c631 and 8da93e1 that stops traffic.

Kristjan

Le 2018-06-09 à 13:36, Toke Høiland-Jørgensen a écrit :
Kristjan Onu <[email protected]> writes:

Hello,

The computer on which I use Cake was upgraded to Debian
linux-image-4.16.0-2-amd64 and networking stopped working.

I load Cake with:

export TC=~/local/src/iproute2-cake-next/tc/tc
$TC qdisc add dev enp4s0 root cake bandwidth 850Kbit docsis nat \
dual-srchost ack-filter

Then network traffic appears to stop. I have tested with Cake/Cobalt
revisions 6f7e5af and 8da93e1.

Can anyone give hints on how to troubleshoot this?

What is the output of $TC -s qdisc?

-Toke





_______________________________________________ Cake mailing list [email protected] https://lists.bufferbloat.net/listinfo/cake


qdisc noqueue 0: dev lo root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc fq_codel 0: dev enp2s0 root refcnt 2 limit 10240p flows 1024 quantum 1514 
target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
 Sent 32413 bytes 231 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 cake 8001: dev enp4s0 root refcnt 6 bandwidth 850Kbit diffserv3 
dual-srchost ack-filter split-gso rtt 100.0ms noatm overhead 18 mpu 64 
 Sent 269303 bytes 2397 pkt (dropped 7, overlimits 1711 requeues 0) 
 backlog 0b 0p requeues 0
 memory used: 13440b of 4Mb
 capacity estimate: 850Kbit
 min/max network layer size:           28 /    1375
 min/max overhead-adjusted size:       64 /    1393
 average network hdr offset:           14

                   Bulk  Best Effort        Voice
  thresh       53120bit      850Kbit    212496bit
  target        342.0ms       21.4ms       85.5ms
  interval      684.0ms      116.4ms      180.5ms
  pk_delay          0us        6.4ms        1.6ms
  av_delay          0us        523us        191us
  sp_delay          0us          4us          6us
  backlog            0b           0b           0b
  pkts                0         2194          210
  bytes               0       252383        17394
  way_inds            0           13            0
  way_miss            0          339           26
  way_cols            0            0            0
  drops               0            0            0
  marks               0            0            0
  ack_drop            0            7            0
  sp_flows            0            2            2
  bk_flows            0            1            0
  un_flows            0            0            0
  max_len             0         1389          142
  quantum           300          300          300

qdisc ingress ffff: dev enp4s0 parent ffff:fff1 ---------------- 
 Sent 1195346 bytes 2872 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev br0 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlp3s0 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc cake 8002: dev ifb0 root refcnt 2 bandwidth 4250Kbit diffserv3 
dual-dsthost ingress split-gso rtt 100.0ms noatm overhead 18 mpu 64 
 Sent 1174355 bytes 2831 pkt (dropped 41, overlimits 1778 requeues 0) 
 backlog 0b 0p requeues 0
 memory used: 101696b of 4Mb
 capacity estimate: 4250Kbit
 min/max network layer size:           32 /    1500
 min/max overhead-adjusted size:       64 /    1518
 average network hdr offset:           13

                   Bulk  Best Effort        Voice
  thresh      265624bit     4250Kbit     1062Kbit
  target         68.4ms        5.0ms       17.1ms
  interval      163.4ms      100.0ms      112.1ms
  pk_delay          0us        3.1ms         16us
  av_delay          0us        845us          3us
  sp_delay          0us          3us          1us
  backlog            0b           0b           0b
  pkts                0         2188          684
  bytes               0      1194406        40648
  way_inds            0           10            0
  way_miss            0          369            3
  way_cols            0            0            0
  drops               0           41            0
  marks               0            0            0
  ack_drop            0            0            0
  sp_flows            0            1            0
  bk_flows            0            1            0
  un_flows            0            0            0
  max_len             0         1838           60
  quantum           300          300          300

qdisc noqueue 0: dev he-ipv6 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
_______________________________________________
Cake mailing list
[email protected]
https://lists.bufferbloat.net/listinfo/cake

Reply via email to