Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2208851rdf; Mon, 6 Nov 2023 07:41:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IGTRnJKZJPZAliJJa9mCl16L/hAORmKB+3E/q+dDjUs23uZmrNs3Sg9aDmZlQNauiEgq0eg X-Received: by 2002:a05:6a00:9398:b0:68c:44ed:fb6 with SMTP id ka24-20020a056a00939800b0068c44ed0fb6mr15647753pfb.16.1699285282000; Mon, 06 Nov 2023 07:41:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699285281; cv=none; d=google.com; s=arc-20160816; b=J1SoeSSw/+tiF2wURNFJe5+EEylnv6mL3MFNH8Dx6KQynrxS6NYMWWxRtgeDPG0I0+ XNEjYa27aMNUsOE6H/EvC8vqBTF0PTaQ+EW7OA2ry/Qz+rO53DRjk2gydM3UHsC3Zk7p PEvL/sVAEmCONDRTxSJ9k0TobaS7h3/EfZJku60cRS+w2UZMFp58MZZxxa9OWvXp6RRH hI2LZoH4SgX3UJxp5Kkx2ktc5+2ZsGgAlBCHIMOlZtsSkAKgsXYj/aX1oaZEmeL7/uVe Uv8RnuDVh3M6+32GXnPrQxNauikWjtJMuoUCiexEc+3YalsR3lknzaNFZHUxNwxBjEb5 qUtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0sLFl/gOCp/k4uldMb79ASnHcAWXHfWhEZa7PC6AlPY=; fh=TqUufSrsSTunWvlKWl6WsuSIqHx0uhxZWTQpn6Im9mg=; b=IN1T9QLChXYsSNVZ9z+PtxSyk0QL/TbyQVO/l4vzRjb3BBmDwpebtv8vI6fROq4Wzp 1g+Yofk5j6YUYX4wBrAHuxlyxvZy6NMefkT2BRgyw3fyFLiW+FS1LausKOeOWQGDx2xe 4ZVx7/pTPyMXFO5F54QIhwbJvULpTBC3o3hpOCwZhZxhiCWoRbKA9IacwGebg44KrO7O /cVUIYnJ6MOjN9nN4XYCFJ+4RvydsxHas87Jp10sMy+M41vhaa84WXr3bWVZNsUSelwI IspoHSUEARUSylZGidIrEsyKzLacM56TEY2cE9ASaAr3ZgfjX9GVML4aT2pZG5+tXcDS +6fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=Tv5V2Q4j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id y17-20020a056a00191100b006be0f482c0fsi8545727pfi.63.2023.11.06.07.41.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 07:41:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=Tv5V2Q4j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 6E2E280B1F89; Mon, 6 Nov 2023 07:41:18 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231827AbjKFPlF (ORCPT + 99 others); Mon, 6 Nov 2023 10:41:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231750AbjKFPlE (ORCPT ); Mon, 6 Nov 2023 10:41:04 -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 A8237107 for ; Mon, 6 Nov 2023 07:41:01 -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=0sLFl/gOCp/k4uldMb79ASnHcAWXHfWhEZa7PC6AlPY=; b=Tv5V2Q4jAr7eTAYLYAlk34WPj0 nPH5728iDsCHUVQtbjCzLr0Y26ZvKSaogCvnuJygqJDkFcSVtqvLfO0nDPoTynZ610iKAmsqhqbI4 3+9Ye44uNMN/1J9uo7gWmiy9ZU8yefnfJcrPKUS2YDZiwH9XFnvVyYoZJLMVtOJeF4Gq0On5MoQse xFkXJhhgufTDLSawgoP9DUrVhG6d4+Re6VIetLReRU64ax76sf0gRHPdXduwm0tU2AenF7MkJsnxY cnQB6Z7BMCVzVIuafGIdAC+e3nMJlwZBDBiwjdBVCNnyQ42sdZtf5xhkEKUdpW3SeK3mN/3/FAPX7 0vLlu9xw==; 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.96 #2 (Red Hat Linux)) id 1r01iU-00AcO8-2l; Mon, 06 Nov 2023 15:40:42 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 82A2230049D; Mon, 6 Nov 2023 16:40:42 +0100 (CET) Date: Mon, 6 Nov 2023 16:40:42 +0100 From: Peter Zijlstra To: Daniel Bristot de Oliveira Cc: 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, Luca Abeni , Tommaso Cucinotta , Thomas Gleixner , Joel Fernandes , Vineeth Pillai , Shuah Khan , Phil Auld Subject: Re: [PATCH v5 7/7] sched/fair: Fair server interface Message-ID: <20231106154042.GH3818@noisy.programming.kicks-ass.net> References: <26adad2378c8b15533e4f6216c2863341e587f57.1699095159.git.bristot@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <26adad2378c8b15533e4f6216c2863341e587f57.1699095159.git.bristot@kernel.org> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 06 Nov 2023 07:41:18 -0800 (PST) On Sat, Nov 04, 2023 at 11:59:24AM +0100, Daniel Bristot de Oliveira wrote: > Add an interface for fair server setup on debugfs. > > Each rq have three files under /sys/kernel/debug/sched/rq/CPU{ID}: > > - fair_server_runtime: set runtime in ns > - fair_server_period: set period in ns > - fair_server_defer: on/off for the defer mechanism > This then leaves /proc/sys/kernel/sched_rt_{period,runtime}_us to be the total available bandwidth control, right? But then shouldn've we also rip out the throttle thingy right quick?