[Cake] Fwd: Cake on openwrt - falling behind

Georgios Amanakis gamanakis at gmail.com
Sat Jun 30 22:37:31 EDT 2018


The stats got mangled in by the email, in the terminal they are
properly aligned.


---------- Forwarded message ----------
From: Georgios Amanakis <gamanakis at gmail.com>
Date: Sat, Jun 30, 2018 at 10:35 PM
Subject: Re: [Cake] Cake on openwrt - falling behind
To: Pete Heist <pete at heistp.net>


I just tested this on my wrt1900acs but it is behaving as it should. I
used Kevin's RFC patches for iproute2 and kmod-sched-cake.

root at lede:/tmp# tc -s qdisc show dev eth0
qdisc cake 8004: root refcnt 9 bandwidth 2500Kbit diffserv3
triple-isolate split-gso rtt 100.0ms raw overhead 0
 Sent 122745 bytes 691 pkt (dropped 0, overlimits 419 requeues 0)
 backlog 0b 0p requeues 0
 memory used: 6416b of 4Mb
 capacity estimate: 2500Kbit
 min/max network layer size:           42 /    1186
 min/max overhead-adjusted size:       42 /    1186
 average network hdr offset:           13

                   Bulk  Best Effort        Voice
  thresh      156248bit     2500Kbit      625Kbit
  target        116.3ms        7.3ms       29.1ms
  interval      232.6ms      102.3ms      124.1ms
  pk_delay          0us        196us        8.6ms
  av_delay          0us         13us        1.3ms
  sp_delay          0us          2us         38us
  backlog            0b           0b           0b
  pkts                0          414          277
  bytes               0        38367        84378
  way_inds            0            0            0
  way_miss            0           20            2
  way_cols            0            0            0
  drops               0            0            0
  marks               0            0            0
  ack_drop            0            0            0
  sp_flows            0            1            0
  bk_flows            0            0            1
  un_flows            0            0            0
  max_len             0          206         1186
  quantum           300          300          300

root at lede:/tmp# opkg list-installed | grep cake
kmod-sched-cake - 4.14.50+2018-06-26-0520a6cb-1

root at lede:/tmp# uname -a
Linux lede 4.14.50 #0 SMP Wed Jun 27 21:48:32 2018 armv7l GNU/Linux

George

On Sat, Jun 30, 2018 at 7:20 PM, Pete Heist <pete at heistp.net> wrote:
> Ok, same result (unknown symbols and routine crashing) after a make clean and re-build, but I just force installed the kmod-sched-cake package with --force-depends and it seems to work. This reproduces it, right? no stats and the debug output?
>
> root at LEDE:~# tc qdisc add dev eth0 root cake
> root at LEDE:~# tc -s -d qdisc show dev eth0
> qdisc cake 8001: root refcnt 2 bandwidth unlimited diffserv3 triple-isolate rtt 100.0ms raw overhead 0
> tca_stats 2005579564 tca_stats2 0 tca_xstats 0
> calling print_tcstats_attr()
> print_tcstats_attr()
> got stats
>  Sent 9070 bytes 66 pkts (dropped 0, overlimits 0)
> got xstats 0 tca_stats 2005579564 tca_stats2 0 tca_xstats 0
>
> root at LEDE:~# cat /proc/cpuinfo
> system type             : Atheros AR7240 rev 2
> machine                 : OpenMesh OM2P
> processor               : 0
> cpu model               : MIPS 24Kc V7.4
> BogoMIPS                : 265.42
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 16
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
> isa                     : mips1 mips2 mips32r1 mips32r2
> ASEs implemented        : mips16
> shadow register sets    : 1
> kscratch registers      : 0
> package                 : 0
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>


More information about the Cake mailing list