From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.toke.dk (mail.toke.dk [45.145.95.4]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 635893B2A4 for ; Tue, 1 Sep 2020 14:45:16 -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=1598985912; bh=Ze3SM7rrq2eJlXrX0z2gc9h54NWeK5mBJ7l3OwF8uwE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=xpPtPBmoxZtmvcJ9qDm7/XIEEx8fBXTENTwmzJ5qwx3dZHayQj9ScUOghN//CQEGO pEmDuhOybM5nErKap138B4GoA4XIpfgHiJx955It6PIG66MEuEI9GgkPA5uYADOlP4 sciEyz5QDkecX1rPWJpZ7wqO+oCdWa0y4FyWPk/tg88VPzSUsAJY7KmWd+1uu29JIr 3Pw2ubbpZlhCuJ7oIZYKtyxMLU8WCZKCpD+8TkD7U+5aF5evFspmuwd8mvpqAGB4xF K5v9uxXL32+AJjvNNxJIP7+SS/YW4Y/F/AJk8SS0bCb/G1feEWZhy0t0mrYOSWqGmv Vayj2IQ6ZNjxQ== To: Sebastian Moeller Cc: Jonathan Foulkes , bloat@lists.bufferbloat.net In-Reply-To: References: <87mu2bjbf8.fsf@toke.dk> <5DBFB383-13E8-4587-BE49-1767471D7D59@jonathanfoulkes.com> <87r1rliiiw.fsf@toke.dk> Date: Tue, 01 Sep 2020 20:45:11 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87o8mpibew.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 18:45:16 -0000 Sebastian Moeller writes: > Hi Toke, > > >> On Sep 1, 2020, at 18:11, Toke H=C3=B8iland-J=C3=B8rgensen via Bloat wrote: >>=20 >> Jonathan Foulkes writes: >>=20 >>> Toke, that link returns a 404 for me. >>=20 >> Ah, seems an extra character snuck in at the end - try this: >>=20 >> https://github.com/dtaht/sch_cake/commit/3152477235c934022049fcddc063c45= d37ec10e6 >>=20 >>> For others, I=E2=80=99ve found that testing cake throughput with isolat= ion options enabled is tricky if there are many competing connections.=20 >>> Like I keep having to tell my customers, fairness algorithms mean no on= e device will ever gain 100% of the bandwidth so long as there are other op= en & active connections from other devices. >>>=20 >>> That said, I=E2=80=99d love to find options to increase throughput for >>> single-tin configs. >>=20 >> Yeah, doing something about this is on my list, one way or another. Not >> sure how much more we can do in terms of overhead, so we may have to go >> for multi-q (and multi-CPU) support. How many CPU cores does the >> IQrouter have? > > It might be worth looking how the typical two cake instances > distribute across the available CPUs, in some version of OpenWrt > all cake's and ethernet interupt processing crowed up on a > single CPU leading to "out of CPU" behaviour with 50% idle > remaining... I think that usinf a different RPS scheme might > work better. Well, many home routers don't have any functional RPS at all. Also, it doesn't help since CAKE takes the global qdisc lock. Both of those issues should be fixed, ideally :) -Toke