From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 7CBA13B2A4 for ; Sat, 30 Jun 2018 22:37:33 -0400 (EDT) Received: by mail-lj1-x22d.google.com with SMTP id t7-v6so10071050ljj.6 for ; Sat, 30 Jun 2018 19:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=KbZDcJtijH2uPH+WfvAftdSZbw7zbTqCXIc7xQBR9Vg=; b=rJ1Wye5Uefsgk0N99m6tJ2f6u0x0TG0AvAQTMxVosUMR6JQVwKOYI6NLXdy63RUlUQ 9+PMl07Ssl6EkaK1DcSS3033iIhKHMTHnyckaU7DHxH5RUZd0D+oW8yPyWSbslEhnqpC fAnZyg57x/4OxrtNMheNnUZ8qnmshGDzsoXqGmbDAs/q7nICPAaoh1wrhlixX4KhA8Qh YwlDXMe5HOUXdI338ok02tbtqu+IWpy1lRg0I1WOEmTNWSbSGLljK3BxZDjv4tOj4XbH lJsHe1/d4qiARktD0lLcjul429bJKCJhGFtAG8riyg1EWCvvRtDM0bVIHgZ5fIyR3TR1 ls5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=KbZDcJtijH2uPH+WfvAftdSZbw7zbTqCXIc7xQBR9Vg=; b=fFTfHcv0msXBthhjdCZAYfcPipkYOdzBVbsVnlhThM/Z/zcDZEaBSPQcXfX+A5C6Pq VmuHY3SwnutvGtJTTds27CTbQLEjW1nwXHEOMY6GqmcXyWmlAmfLMl/9O9EJs+Sh0R8G fazejd+g0HWyU2Ztzz9m6k1EWmRmaN+aB/lKy61K5PU/KGcda4J35AUy19GH5wYUtDXF YzHjiPlXXcW7PJ60VHLUjGPecVhwVg+IK4oQ4DyjOLp/Ta0+g+OmsOZvrm9rkqT1Yjdt VZysrhQMYYeYHMdmgt+kKFFHj/GPkrc5QWsK/VxW91QNNtRxqmiDZrSn6Ftznek/lWXE x3oA== X-Gm-Message-State: APt69E29vA0QvQRAb1g3CxfBrEzdAVRKKZrABte9JaK5sbxiDKcp2SyK kKIuVI1c6sQccCRY93GNMh4ueg3KJGNeuYy8fiI= X-Google-Smtp-Source: AAOMgpeky8WqzIJ24QOchU+hg9fBtW5ZLE0ToJ3qDWXaKBZVhWxK6dq7L3qj/mC9iPNMTZKIXueKRih6P3VMY31N2cE= X-Received: by 2002:a2e:8514:: with SMTP id j20-v6mr3871944lji.10.1530412652154; Sat, 30 Jun 2018 19:37:32 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab3:7208:0:0:0:0:0 with HTTP; Sat, 30 Jun 2018 19:37:31 -0700 (PDT) In-Reply-To: References: <6DF9A5E0-EFD5-4519-9889-BC0A7B9BD48E@darbyshire-bryant.me.uk> <1A8BA286-6B31-4581-86C9-6855AC28C245@heistp.net> <673EAD3F-AB09-4B90-88BB-5DCE0BD65534@heistp.net> From: Georgios Amanakis Date: Sat, 30 Jun 2018 22:37:31 -0400 Message-ID: To: Kevin Darbyshire-Bryant , Cake List Content-Type: text/plain; charset="UTF-8" Subject: [Cake] Fwd: Cake on openwrt - falling behind X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2018 02:37:33 -0000 The stats got mangled in by the email, in the terminal they are properly aligned. ---------- Forwarded message ---------- From: Georgios Amanakis Date: Sat, Jun 30, 2018 at 10:35 PM Subject: Re: [Cake] Cake on openwrt - falling behind To: Pete Heist 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@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@lede:/tmp# opkg list-installed | grep cake kmod-sched-cake - 4.14.50+2018-06-26-0520a6cb-1 root@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 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@LEDE:~# tc qdisc add dev eth0 root cake > root@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@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 >