Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5589212iog; Thu, 23 Jun 2022 00:53:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v7xhuG1iSFlX3q0uIIiEd/6/pSrkNWHt6LlP+TpmgnYieH7PjSl1aTu7mIHtDm74QghWq2 X-Received: by 2002:a17:906:77c9:b0:722:ea38:9979 with SMTP id m9-20020a17090677c900b00722ea389979mr6860348ejn.95.1655970838045; Thu, 23 Jun 2022 00:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655970838; cv=none; d=google.com; s=arc-20160816; b=iQymCd3hbqIRLJ/5ftBxcb53uFK7g2us5uvT6P8zk2CbfGhKCpokqBNIBNJflsCDwu Prsn9VPr29KCPMxYl4ZxESv3eeQCcA0qjBURsOk88lwPsam8UGNLjA+I8IVCFA0ZVcdi Mq2WF3/8pp+vslCKJZrgnWOyrqcu5agL92VO3P5PsIUnncNYybWPoOiAtxrPAbRgPkvi 3wxczjrRKPqitu86tQl2YpJS3y9nEl0/4lq+qbH9K4j/y3ZoVJ40D7tjgSqYjJt+bBX4 J04aSkEV/T4PZCZ/grWCoVFTwdAZ1rdtskKztgVGgXE5JezHH8KcRKtMLuI3fMxT4wYj 0t+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=N/aCRSdhEB1a/0vv+am/2J2O6zh8qGqpd9QHXNhE6fQ=; b=Fum/3J+A8ji/G2g40n6H63LW/CHLcIv0gcqGrn6njLTAJnRMmk4tcSAwXmpxWLdC2t km9r0yUGCKN8sfjiCmxIPeV6K+TUkGPnZAp10kOyDf11vX3Wtl2K7L32vpTCSLtc1XE/ mGp+mLZII0eiYdeWIGgeYYwxs+3Ig5F+6oB3H+28RY6ipvN1EzYzBvqYJW7m+9HWVLmd oHotOELWjN7vnCYSXbfTTxn1lEcsX7LX4MGUze06ESW3wWyjW3SPg4JKUkEQDhG2pgeS gIVz4HkTvX9sS0/V0OfuMJMahMMWKvesoCEo2lRYDQ1HiZA+f7URQSPQn95hrTWOdOPi eqTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=uX9mixs8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e12-20020a170906648c00b00718ccb0a170si24598395ejm.87.2022.06.23.00.53.32; Thu, 23 Jun 2022 00:53:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=uX9mixs8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230163AbiFWHvO (ORCPT + 99 others); Thu, 23 Jun 2022 03:51:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230003AbiFWHvI (ORCPT ); Thu, 23 Jun 2022 03:51:08 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A99EE2CE0E; Thu, 23 Jun 2022 00:51:05 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 66A2B1FD45; Thu, 23 Jun 2022 07:51:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1655970664; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=N/aCRSdhEB1a/0vv+am/2J2O6zh8qGqpd9QHXNhE6fQ=; b=uX9mixs8DaMWvUWkJIlE5hYrzddV835XJc/pbvqs6zdl2ElMIt6vkjYE976CR/AFb8xzm5 AE+zJC+LE7CWeChJY9ZsZnarpVzWsKP9XyHYR6oZu4lbuY0C1Jif8xInDH2xQajcTkU+LH f+KGfRmCvrPYV5PW7x6Nq7DwZvzsuvw= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 045BE133A6; Thu, 23 Jun 2022 07:51:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 6/h0O2cbtGJubwAAMHmgww (envelope-from ); Thu, 23 Jun 2022 07:51:03 +0000 Date: Thu, 23 Jun 2022 09:51:02 +0200 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Chengming Zhou Cc: rdunlap@infradead.org, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, tj@kernel.org, lizefan.x@bytedance.com, hannes@cmpxchg.org, corbet@lwn.net, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [External] Re: [PATCH v2] sched: RT bandwidth interface for cgroup unified hierarchy Message-ID: <20220623075102.GJ27251@blackbody.suse.cz> References: <20220622015557.7497-1-zhouchengming@bytedance.com> <20220622173929.GA669@blackbody.suse.cz> <888b6885-5380-e21f-260f-eb1bb89679c3@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <888b6885-5380-e21f-260f-eb1bb89679c3@bytedance.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 23, 2022 at 10:23:26AM +0800, Chengming Zhou wrote: > I don't know why v2 differ from v1 in the RT bandwidth control.. Is there > some links of explanation? (CFS bandwidth control can work on v2 now.) You can see some ideas in [1] (the v1 API allows configurations that are not implemented). And I'd also say more generally, that applying throttling to an RT task is already a lost game (either it's a runaway meaning there's a bug elsewhere or the RT task won't have sufficient runtime which defeats its RTness). > If the problem can't be solved, we have to unset CONFIG_RT_GROUP_SCHED. AFAICT, this was enough so far (but RT group scheduling can still be (re)worked). HTH, Michal [1] https://www.kernel.org/doc/html/latest/scheduler/sched-rt-group.html