Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
* [Cake] cake on linux 5.6 32 bit x86 might be broken
       [not found]               ` <20200424195745.72d725bd@rellim.com>
@ 2020-04-25 19:09                 ` Dave Taht
  2020-04-25 19:19                   ` Y
  2020-04-25 19:59                   ` Jonathan Morton
  0 siblings, 2 replies; 4+ messages in thread
From: Dave Taht @ 2020-04-25 19:09 UTC (permalink / raw)
  To: Cake List

the bandwidth parameter is mis-parsed. this is stock kernel, stock 5.6 iproute2
looks like an alignment bug. Anyone running x86 on 32 bit? anyone
running this kernel on anything 32bit?

is 5.4 ok?

---------- Forwarded message ---------
From: elided
Date: Fri, Apr 24, 2020 at 7:57 PM
Subject: Re: PSA pt 1: for better videoconferencing at home on slow links
To: Dave Taht <dave.taht@gmail.com>


Yo Dave!

One step forward, two back.

    Linux kernel 5.6.7.

    ~# tc -V
    tc utility, iproute2-ss200330

This started cake:

    ~# tc qdisc add dev eth1 root cake bandwidth 160mbps

But, my score of B for bufferbloat fell to a C!

    http://www.dslreports.com/speedtest/62801576

cake seems to be ignoring my bandwidth:

    catbert:~# tc -s qdisc show dev eth1
    qdisc cake 8005: root refcnt 2 bandwidth 1280Mbit diffserv3
triple-isolate nonat nowash no-ack-filter split-gso rtt 100.0ms raw
overhead 0
     Sent 591223311 bytes 562082 pkt (dropped 0, overlimits 666624 requeues 0)
     backlog 0b 0p requeues 0
     memory used: 377936b of 15140Kb
     capacity estimate: 1280Mbit
     min/max network layer size:           42 /    1514
     min/max overhead-adjusted size:       42 /    1514
     average network hdr offset:           14

                       Bulk  Best Effort        Voice
      thresh         80Mbit     1280Mbit      320Mbit
      target          5.0ms        5.0ms        5.0ms
      interval      100.0ms      100.0ms      100.0ms
      pk_delay          0us          8us          6us
      av_delay          0us          3us          3us
      sp_delay          0us          1us          1us
      backlog            0b           0b           0b
      pkts                0       447439       114643
      bytes               0    580864114     10359197
      way_inds            0        42159         2526
      way_miss            0         3931        87597
      way_cols            0           11            0
      drops               0            0            0
      marks               0            0            0
      ack_drop            0            0            0
      sp_flows            0          247           46
      bk_flows            0            1            0
      un_flows            0            0            0
      max_len             0        36144          998
      quantum          1514         1514         1514

Back to reading...

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

* Re: [Cake] cake on linux 5.6 32 bit x86 might be broken
  2020-04-25 19:09                 ` [Cake] cake on linux 5.6 32 bit x86 might be broken Dave Taht
@ 2020-04-25 19:19                   ` Y
  2020-04-25 19:59                   ` Jonathan Morton
  1 sibling, 0 replies; 4+ messages in thread
From: Y @ 2020-04-25 19:19 UTC (permalink / raw)
  To: cake

Hi,Dave
uname -r
5.4.34-1-MANJARO

Cake seeems to work.

Yutaka.

On Sat, 25 Apr 2020 12:09:49 -0700
Dave Taht <dave.taht@gmail.com> wrote:

> the bandwidth parameter is mis-parsed. this is stock kernel, stock 5.6 iproute2
> looks like an alignment bug. Anyone running x86 on 32 bit? anyone
> running this kernel on anything 32bit?
> 
> is 5.4 ok?
> 
> ---------- Forwarded message ---------
> From: elided
> Date: Fri, Apr 24, 2020 at 7:57 PM
> Subject: Re: PSA pt 1: for better videoconferencing at home on slow links
> To: Dave Taht <dave.taht@gmail.com>
> 
> 
> Yo Dave!
> 
> One step forward, two back.
> 
>     Linux kernel 5.6.7.
> 
>     ~# tc -V
>     tc utility, iproute2-ss200330
> 
> This started cake:
> 
>     ~# tc qdisc add dev eth1 root cake bandwidth 160mbps
> 
> But, my score of B for bufferbloat fell to a C!
> 
>     http://www.dslreports.com/speedtest/62801576
> 
> cake seems to be ignoring my bandwidth:
> 
>     catbert:~# tc -s qdisc show dev eth1
>     qdisc cake 8005: root refcnt 2 bandwidth 1280Mbit diffserv3
> triple-isolate nonat nowash no-ack-filter split-gso rtt 100.0ms raw
> overhead 0
>      Sent 591223311 bytes 562082 pkt (dropped 0, overlimits 666624 requeues 0)
>      backlog 0b 0p requeues 0
>      memory used: 377936b of 15140Kb
>      capacity estimate: 1280Mbit
>      min/max network layer size:           42 /    1514
>      min/max overhead-adjusted size:       42 /    1514
>      average network hdr offset:           14
> 
>                        Bulk  Best Effort        Voice
>       thresh         80Mbit     1280Mbit      320Mbit
>       target          5.0ms        5.0ms        5.0ms
>       interval      100.0ms      100.0ms      100.0ms
>       pk_delay          0us          8us          6us
>       av_delay          0us          3us          3us
>       sp_delay          0us          1us          1us
>       backlog            0b           0b           0b
>       pkts                0       447439       114643
>       bytes               0    580864114     10359197
>       way_inds            0        42159         2526
>       way_miss            0         3931        87597
>       way_cols            0           11            0
>       drops               0            0            0
>       marks               0            0            0
>       ack_drop            0            0            0
>       sp_flows            0          247           46
>       bk_flows            0            1            0
>       un_flows            0            0            0
>       max_len             0        36144          998
>       quantum          1514         1514         1514
> 
> Back to reading...
> _______________________________________________
> Cake mailing list
> Cake@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake


-- 
Y <intruder_tkyf@yahoo.fr>

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

* Re: [Cake] cake on linux 5.6 32 bit x86 might be broken
  2020-04-25 19:09                 ` [Cake] cake on linux 5.6 32 bit x86 might be broken Dave Taht
  2020-04-25 19:19                   ` Y
@ 2020-04-25 19:59                   ` Jonathan Morton
  2020-04-25 20:05                     ` Dave Taht
  1 sibling, 1 reply; 4+ messages in thread
From: Jonathan Morton @ 2020-04-25 19:59 UTC (permalink / raw)
  To: Dave Taht; +Cc: Cake List

> On 25 Apr, 2020, at 10:09 pm, Dave Taht <dave.taht@gmail.com> wrote:
> 
>    ~# tc qdisc add dev eth1 root cake bandwidth 160mbps

For tc, the "mbps" suffix is interpreted as megaBYTES per second.  For megaBITS, use Mbit.

The output and behaviour is consistent with that.

 - Jonathan Morton

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

* Re: [Cake] cake on linux 5.6 32 bit x86 might be broken
  2020-04-25 19:59                   ` Jonathan Morton
@ 2020-04-25 20:05                     ` Dave Taht
  0 siblings, 0 replies; 4+ messages in thread
From: Dave Taht @ 2020-04-25 20:05 UTC (permalink / raw)
  To: Jonathan Morton; +Cc: Cake List

thx I'm an idiot sometimes.

On Sat, Apr 25, 2020 at 1:00 PM Jonathan Morton <chromatix99@gmail.com> wrote:
>
> > On 25 Apr, 2020, at 10:09 pm, Dave Taht <dave.taht@gmail.com> wrote:
> >
> >    ~# tc qdisc add dev eth1 root cake bandwidth 160mbps
>
> For tc, the "mbps" suffix is interpreted as megaBYTES per second.  For megaBITS, use Mbit.
>
> The output and behaviour is consistent with that.
>
>  - Jonathan Morton



-- 
Make Music, Not War

Dave Täht
CTO, TekLibre, LLC
http://www.teklibre.com
Tel: 1-831-435-0729

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

end of thread, other threads:[~2020-04-25 20:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAA93jw71YdABJPeRkFDrzLGY2PtWy-zqaLoGrnFWuFhOPz48xg@mail.gmail.com>
     [not found] ` <20200424120317.4d3d3e98@rellim.com>
     [not found]   ` <20200424120423.1f57def6@rellim.com>
     [not found]     ` <CAA93jw7e6k4sxh2+5H-dSBmdUkA53=VxJu7FmTdrSKTsbP0rWg@mail.gmail.com>
     [not found]       ` <20200424121344.2bc8e62c@rellim.com>
     [not found]         ` <CAA93jw5i7ccwc3VwSKiNk9XL-FXHgwznxzCHUDytpHFDsNGfoA@mail.gmail.com>
     [not found]           ` <20200424123005.64aef3bf@rellim.com>
     [not found]             ` <CAA93jw5xygaNsqYb9z9cF00TpH=8cOSDzFGZJxrDW-SkQFey4g@mail.gmail.com>
     [not found]               ` <20200424195745.72d725bd@rellim.com>
2020-04-25 19:09                 ` [Cake] cake on linux 5.6 32 bit x86 might be broken Dave Taht
2020-04-25 19:19                   ` Y
2020-04-25 19:59                   ` Jonathan Morton
2020-04-25 20:05                     ` Dave Taht

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