From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp80.iad3b.emailsrvr.com (smtp80.iad3b.emailsrvr.com [146.20.161.80]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 964AA3B2A4 for ; Tue, 1 Sep 2020 11:41:48 -0400 (EDT) X-Auth-ID: jf@jonathanfoulkes.com Received: by smtp19.relay.iad3b.emailsrvr.com (Authenticated sender: jf-AT-jonathanfoulkes.com) with ESMTPSA id 17B18400D0; Tue, 1 Sep 2020 11:41:48 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) From: Jonathan Foulkes In-Reply-To: <87mu2bjbf8.fsf@toke.dk> Date: Tue, 1 Sep 2020 11:41:47 -0400 Cc: Mikael Abrahamsson , bloat@lists.bufferbloat.net Content-Transfer-Encoding: quoted-printable Message-Id: <5DBFB383-13E8-4587-BE49-1767471D7D59@jonathanfoulkes.com> References: <87mu2bjbf8.fsf@toke.dk> To: =?utf-8?Q?Toke_H=C3=B8iland-J=C3=B8rgensen?= X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Classification-ID: 97e3183f-0425-455f-bc49-73982fad46ab-1-1 Subject: Re: [Bloat] CAKE in openwrt high CPU X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 15:41:48 -0000 Toke, that link returns a 404 for me. For others, I=E2=80=99ve found that testing cake throughput with = isolation options enabled is tricky if there are many competing = connections.=20 Like I keep having to tell my customers, fairness algorithms mean no one = device will ever gain 100% of the bandwidth so long as there are other = open & active connections from other devices. That said, I=E2=80=99d love to find options to increase throughput for = single-tin configs. Cheers, Jonathan > On Aug 31, 2020, at 7:35 AM, Toke H=C3=B8iland-J=C3=B8rgensen via = Bloat wrote: >=20 > Mikael Abrahamsson via Bloat writes: >=20 >> Hi, >>=20 >> I migrated to an APU2 (https://www.pcengines.ch/apu2.htm) as = residential=20 >> router, from my previous WRT1200AC (marvell armada 385). >>=20 >> I was running OpenWrt 18.06 on that one, now I am running latest = 19.07.3=20 >> on the APU2. >>=20 >> Before I had 500/100 and I had to use FQ_CODEL because CAKE took too = much=20 >> CPU to be able to do 500/100 on the WRT1200AC. Now I upgraded to = 1000/1000=20 >> and tried it again, and even the APU2 can only do CAKE up to ~300=20 >> megabit/s. With FQ_CODEL I get full speed (configure 900/900 in SQM = in=20 >> OpenWrt). >>=20 >> Looking in top, I see sirq% sitting at 50% pegged. This is typical = what I=20 >> see when CPU based forwarding is maxed out. =46rom my recollection of=20= >> running CAKE on earlier versions of openwrt (17.x) I don't remember = CAKE=20 >> using more CPU than FQ_CODEL. >>=20 >> Anyone know what's up? I'm fine running FQ_CODEL, it solves any=20 >> bufferbloat but... I thought CAKE supposedly should use less CPU, not=20= >> more? >=20 > Hmm, you say CAKE and FQ-Codel - so you're not enabling the shaper = (that > would be FQ-CoDel+HTB)? An exact config might be useful (or just the > output of tc -s qdisc). >=20 > If you are indeed not shaping, maybe you're hitting the issue fixed by = this commit? >=20 > = https://github.com/dtaht/sch_cake/commit/3152477235c934022049fcddc063c45d3= 7ec10e6n >=20 > -Toke > _______________________________________________ > Bloat mailing list > Bloat@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/bloat