From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; dkim=none; arc=none (Message is not ARC signed); dmarc=fail (Used From Domain Record) header.from=toke.dk policy.dmarc=none From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: ooonea Cc: Jamal Hadi Salim , Jiri Pirko , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , cake@lists.bufferbloat.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260816012109.2865223-1-ooonea@gmail.com> References: <20260816012109.2865223-1-ooonea@gmail.com> Date: Wed, 19 Aug 2026 12:08:52 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87qzjufmmj.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: MKVZSYDCWTGTVHFS43UEI6CVQVYIV7ZM X-Message-ID-Hash: MKVZSYDCWTGTVHFS43UEI6CVQVYIV7ZM X-MailFrom: toke@toke.dk X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Subject: [Cake] Re: [PATCH net] net/sched: sch_cake: fix autorate reconfiguration throttling List-Id: Cake - FQ_codel the next generation Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: ooonea writes: > CAKE's autorate-ingress path intends to limit shaper reconfiguration to > once per 250 ms, but last_reconfig_time is only checked and never updated. > Since the field stays zero, every qualifying capacity-estimate window can > call cake_reconfigure(), causing avoidable rate churn and scheduler work > under bursty traffic. > > Store the current timestamp when autorate actually reconfigures the qdisc > so the guard enforces the intended interval. > > Fixes: 7298de9cd725 ("sch_cake: Add ingress mode") > Assisted-by: Codex:gpt-5.5 > Signed-off-by: ooonea Acked-by: Toke H=C3=B8iland-J=C3=B8rgensen