Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
* [Cake] Cake Failure with Debian Linux 4.16.0-2
@ 2018-06-09 16:27 Kristjan Onu
  2018-06-09 17:36 ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 5+ messages in thread
From: Kristjan Onu @ 2018-06-09 16:27 UTC (permalink / raw)
  To: Cake List

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?

Regards,

Kristjan Onu

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Cake] Cake Failure with Debian Linux 4.16.0-2
  2018-06-09 16:27 [Cake] Cake Failure with Debian Linux 4.16.0-2 Kristjan Onu
@ 2018-06-09 17:36 ` Toke Høiland-Jørgensen
  2018-06-11  0:20   ` [Cake] Failure with commit 8da93e1 Kristjan Onu
  0 siblings, 1 reply; 5+ messages in thread
From: Toke Høiland-Jørgensen @ 2018-06-09 17:36 UTC (permalink / raw)
  To: Kristjan Onu, Cake List

Kristjan Onu <k@omnel.ml> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Cake] Failure with commit 8da93e1
  2018-06-09 17:36 ` Toke Høiland-Jørgensen
@ 2018-06-11  0:20   ` Kristjan Onu
  2018-06-11  0:32     ` George Amanakis
  0 siblings, 1 reply; 5+ messages in thread
From: Kristjan Onu @ 2018-06-11  0:20 UTC (permalink / raw)
  To: Cake List

[-- Attachment #1: Type: text/plain, Size: 1397 bytes --]

  > What is the output of $TC -s qdisc?

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 <k@omnel.ml> 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
> 



[-- Attachment #2: tc_stats_qdisc_2b1c631.txt --]
[-- Type: text/plain, Size: 1522 bytes --]

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 30364 bytes 214 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 (?diffserv?) dual-srchost rtt 100.0ms noatm overhead 18 total_overhead 18 hard_header_len 0 mpu 64 
 Sent 5547444 bytes 95870 pkt (dropped 0, overlimits 4774 requeues 0) 
 backlog 0b 0p requeues 0 

qdisc ingress ffff: dev enp4s0 parent ffff:fff1 ---------------- 
 Sent 245296151 bytes 166118 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 (?diffserv?) dual-dsthost ingress rtt 100.0ms noatm overhead 18 total_overhead 18 hard_header_len 0 mpu 64 
 Sent 246368681 bytes 165290 pkt (dropped 825, overlimits 323918 requeues 0) 
 backlog 4542b 3p requeues 0 

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 

[-- Attachment #3: tc_stats_qdisc_8da93e1.txt --]
[-- Type: text/plain, Size: 1066 bytes --]

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 34744 bytes 269 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 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 

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 noqueue 0: dev he-ipv6 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Cake] Failure with commit 8da93e1
  2018-06-11  0:20   ` [Cake] Failure with commit 8da93e1 Kristjan Onu
@ 2018-06-11  0:32     ` George Amanakis
  2018-06-13  1:36       ` [Cake] [SUSPECTED SPAM] Re: Failure with commit 8da93e1 solved Kristjan Onu
  0 siblings, 1 reply; 5+ messages in thread
From: George Amanakis @ 2018-06-11  0:32 UTC (permalink / raw)
  To: cake, k

[-- Attachment #1: Type: text/plain, Size: 1896 bytes --]

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 $TC -s qdisc?
>
> 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 <k@omnel.ml> 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 
> Cake@lists.bufferbloat.net https://lists.bufferbloat.net/listinfo/cake


[-- Attachment #2: Type: text/html, Size: 4359 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Cake] [SUSPECTED SPAM] Re:  Failure with commit 8da93e1 solved
  2018-06-11  0:32     ` George Amanakis
@ 2018-06-13  1:36       ` Kristjan Onu
  0 siblings, 0 replies; 5+ messages in thread
From: Kristjan Onu @ 2018-06-13  1:36 UTC (permalink / raw)
  To: cake

[-- Attachment #1: Type: text/plain, Size: 3729 bytes --]

> 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 <k@omnel.ml> 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 
>> Cake@lists.bufferbloat.net https://lists.bufferbloat.net/listinfo/cake
> 


[-- Attachment #2: tc_stats_qdisc.txt --]
[-- Type: text/plain, Size: 3959 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-13  1:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-09 16:27 [Cake] Cake Failure with Debian Linux 4.16.0-2 Kristjan Onu
2018-06-09 17:36 ` Toke Høiland-Jørgensen
2018-06-11  0:20   ` [Cake] Failure with commit 8da93e1 Kristjan Onu
2018-06-11  0:32     ` George Amanakis
2018-06-13  1:36       ` [Cake] [SUSPECTED SPAM] Re: Failure with commit 8da93e1 solved Kristjan Onu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox