From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 333DBC433FE for ; Tue, 22 Nov 2022 10:42:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230123AbiKVKmi (ORCPT ); Tue, 22 Nov 2022 05:42:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232905AbiKVKlB (ORCPT ); Tue, 22 Nov 2022 05:41:01 -0500 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCD9F12086 for ; Tue, 22 Nov 2022 02:36:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=8OLuatTl8W8izZo3kIWs/5oNNlgbjdJ4XjFgVvDoHos=; b=PAyHUlk29zVOfscRvAt5He09Tx m+VxlviX8Gs6+uUv5YtZj6stERGA+6lGTKzfiT7LIVwIpyWgY30Mvx8wFESA4li6Q5Nae9kZ8h0ko JG9IO/wo7+SD0mE9FnYJdhEnER5mVQ3UUqmOVJmlNqvjwzNS4Fdg3MdnuHxFkBSxnxwI1avHvztZi 0IhxfE6yu+kCPE1qurmcO9GSxlJHxlJID/1KZIlizltAPv/kdUGt58TpCI5sHFFRWPkTOKMadmCK4 1Rn6L2WHkCBPDK84ZMoo4PgH9miYre90zMDnD4AeYCoPV9382N5c1B2lDOauUCIeFru7SVgidPu8C sPmCVCoA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxQd3-003Pcs-6x; Tue, 22 Nov 2022 10:35:49 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 90AAF300244; Tue, 22 Nov 2022 11:35:48 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 5055B2D66C42E; Tue, 22 Nov 2022 11:35:48 +0100 (CET) Date: Tue, 22 Nov 2022 11:35:48 +0100 From: Peter Zijlstra To: Josh Don Cc: Chengming Zhou , Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , linux-kernel@vger.kernel.org, Tejun Heo , Michal =?iso-8859-1?Q?Koutn=FD?= , Christian Brauner , Zefan Li Subject: Re: [PATCH v3] sched: async unthrottling for cfs bandwidth Message-ID: References: <20221117005418.3499691-1-joshdon@google.com> <094299a3-f039-04c1-d749-2bea0bc14246@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 21, 2022 at 11:37:14AM -0800, Josh Don wrote: > Yep, this tradeoff feels "best", but there are some edge cases where > this could potentially disrupt fairness. For example, if we have > non-trivial W, a lot of cpus to iterate through for dispatching remote > unthrottle, and quota is small. Doesn't help that the timer is pinned > so that this will continually hit the same cpu. We could -- if we wanted to -- manually rotate the timer around the relevant CPUs. Doing that sanely would require a bit of hrtimer surgery though I'm afraid.