From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.toke.dk (mail.toke.dk [52.28.52.200]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 80CC23B2A4 for ; Fri, 6 Jul 2018 07:48:50 -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=1530877727; bh=dgq9YYa9zD3o8uClmD379O/0K0m2gha+KMlVtOk2QPE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=pPA4gTpQFkP74/2Cum4PRSPSkLLNUYAZi3vdhIJLfmgEQekSIrWIxFTjRIWAlZVhG EIABxMWfvCc6y6d4YvVluH8nLY+9Hr1RaAPSpqoBbpWQnjDvyKckN92Dq3ywrdH/EG BHXRHSgoeKqgKKeLzSExkBELcf18WWML20M9XkUUm4Jh4bYshuGVtZ9xWnXwCuZF9c JPjFGCIMXkeRiIngu6noNUoLSVZ1e+9aN/RkkBGbYpTuBIJHJ/dPGpsA0YoHJmE4D6 LKJQh4G4aRKdyC7A5fBebiCuInDtnNg2XrbPZq8Ojyt+mg2K6K5J5u7a6LJCj4w/r8 dtjWkgvi3maWA== To: Jonathan Morton Cc: Pete Heist , Cake List In-Reply-To: <81AC0859-4467-47E4-B215-C2607B6B90F6@gmail.com> References: <871scligay.fsf@toke.dk> <2AE036E5-BD3D-4176-9476-9EC824EC1D18@darbyshire-bryant.me.uk> <87r2klh1fz.fsf@toke.dk> <87lgath01v.fsf@toke.dk> <52B2B44D-4382-404C-8F6D-03F12A72B11F@heistp.net> <31667353-48F2-4FAB-AC05-163680451719@toke.dk> <48ECB6C8-5D22-4785-A6CE-696D87EC5496@toke.dk> <73DD74AD-C2E7-4A12-AE49-C06D4486660E@gmail.com> <87fu10haw7.fsf@toke.dk> <8736wxco28.fsf@toke.dk> <87o9fkbtky.fsf@toke.dk> <87lgaobq0m.fsf@toke.dk> <87in5sbnuo.fsf@toke.dk> <81AC0859-4467-47E4-B215-C2607B6B90F6@gmail.com> Date: Fri, 06 Jul 2018 13:48:45 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87fu0wbn4y.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Cake] cake at 60gbit 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: Fri, 06 Jul 2018 11:48:50 -0000 Jonathan Morton writes: >> On 6 Jul, 2018, at 2:33 pm, Toke H=C3=B8iland-J=C3=B8rgensen wrote: >>=20 >> Now, to figure out what to do about it... > > Okay, if qlen can be manipulated outside Cake, that breaks an > assumption I made. Let me see what I can do about changing the > decisions involving it. Yup. The easy fix is to just add an internal counter; I just tried adding a tot_qlen to cake_sched_data that mirrors sch->q.qlen. This fixes the issue. But if you have a better idea, by all means go ahead :) -Toke