From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.toke.dk (mail.toke.dk [IPv6:2a0c:4d80:42:2001::664]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 231713B29E for ; Mon, 31 Aug 2020 07:35:13 -0400 (EDT) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1598873707; bh=bMahb9lHjUP9rl7t+oxc1iXD7uKHe7IUVC43fSZEhD8=; h=From:To:Subject:In-Reply-To:References:Date:From; b=VfwZc2SE0kEdXfPFBVEkUj1yFQrJeWViNWCOBEp4gsjTDRqjhfYz4zxl5fhY3ExGd nN5CWgFtXYGy60QVlOBhJ+p8fCX1XJtH4zXk50FHHA06qwtlSnQmije1dxpW8fZYzh 1RqjKWJndog6rBuszj1SMcPLk59QLULl3y/xCeG7j677cXM30bDzlKluKgFgnDtEkI sPMi+GDkkGX/UhKy+sMxCqm+zQcvDXB/0lP8qD2ubckX6tL1R/7KFPLMsL3396bSH+ IFHZr461tAnFWWwyHetC27x26hUVQZ4SwtI3iQeDO3fRylbEdLpmj89jmftQ1n+ItK 4iKIxOw5E5USA== To: Mikael Abrahamsson , bloat@lists.bufferbloat.net In-Reply-To: References: Date: Mon, 31 Aug 2020 13:35:07 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87mu2bjbf8.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain 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: Mon, 31 Aug 2020 11:35:13 -0000 Mikael Abrahamsson via Bloat writes: > Hi, > > I migrated to an APU2 (https://www.pcengines.ch/apu2.htm) as residential > router, from my previous WRT1200AC (marvell armada 385). > > I was running OpenWrt 18.06 on that one, now I am running latest 19.07.3 > on the APU2. > > Before I had 500/100 and I had to use FQ_CODEL because CAKE took too much > CPU to be able to do 500/100 on the WRT1200AC. Now I upgraded to 1000/1000 > and tried it again, and even the APU2 can only do CAKE up to ~300 > megabit/s. With FQ_CODEL I get full speed (configure 900/900 in SQM in > OpenWrt). > > Looking in top, I see sirq% sitting at 50% pegged. This is typical what I > see when CPU based forwarding is maxed out. From my recollection of > running CAKE on earlier versions of openwrt (17.x) I don't remember CAKE > using more CPU than FQ_CODEL. > > Anyone know what's up? I'm fine running FQ_CODEL, it solves any > bufferbloat but... I thought CAKE supposedly should use less CPU, not > more? 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). If you are indeed not shaping, maybe you're hitting the issue fixed by this commit? https://github.com/dtaht/sch_cake/commit/3152477235c934022049fcddc063c45d37ec10e6n -Toke