Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp236627pxf; Wed, 10 Mar 2021 05:20:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJzW8+Y5KkHgJtv5OfGwNuouw/mRkOYRQfbL2+qQZdkOd7tIKErw/FOLdVa9FGYJ4M4XwGSH X-Received: by 2002:aa7:c916:: with SMTP id b22mr3278969edt.299.1615382443135; Wed, 10 Mar 2021 05:20:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615382443; cv=none; d=google.com; s=arc-20160816; b=DyQz44Lw3yIwUhi0o7JpeQLnXWIppSIbbZT9hgD9QGkFkhjyjLMnmLbF1YNj42aAJ1 Naa9GU83ve3QcBTWHfZnRysD3un0TvhdLGc2ECxoW05MktebjXvG2yDzghCZ/7XaP0R0 aqN5DE0i9jzmC8LKAC0cLM2qJhnrso9Lps+KgWWxFzakdnds6xK1s5OIpL307umOvD/5 8Hbij1/FmKnFEKAbPjoEoA2s2p1uiJB/aUki3mLi1OWid9s64ccu6IuY6mqgpWu1/agg o2ogdSokw7ck8Rx621ryGXzpqYf7eAeSvTcaFIRdEjZ5Ns3gfFN3H6cYRe/aM59L/wt/ 0T/g== 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=eis4+R44fvabYv/h8cyHmkDydX2d+usvNs4QgffIqJE=; b=IJI97OvjdD89t6GLGYtVgov/61SBp+ue/925NPHv6vkALTEzbw4wqDHT60ovm1gPX+ Mjq4K8ZM7siexbow5mRFQUisK8ZJHyUTvZl/SiIJ7DtHoyL8UK6VMyHnODPePsqFJvGu q89AyMcWMV49MKPkGWaySOQEcZmsrfvprGm69MjSWwFQYhRDCCjH0UaAwFNyU7bxh7Q+ 7S6PV3jJ015EX+V/FZGQHiCGPCBnwK4E0DIsNIkPGQJCnQdDeZDUVx3yYe98mYplOn+F NNFoLfMHQCfqrYQaBXbgciWJLCA7y4pKu4wRe2DraHi5ebopIgSMnKWk0tS42Q/tfhE6 rkBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=vb69C58E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bn5si11464170ejb.583.2021.03.10.05.20.19; Wed, 10 Mar 2021 05:20:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=vb69C58E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231880AbhCJNTN (ORCPT + 99 others); Wed, 10 Mar 2021 08:19:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230414AbhCJNSp (ORCPT ); Wed, 10 Mar 2021 08:18:45 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A00E2C061760 for ; Wed, 10 Mar 2021 05:18:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=eis4+R44fvabYv/h8cyHmkDydX2d+usvNs4QgffIqJE=; b=vb69C58Eyeg+N03Qb7GiBVKaYg vvgZFWsgoAihLoxPKehsyjABbBl0jUnlYgYh8Qhe1B7NcSVXKCc5mSlQxOloQPaXhAlfeD6bTacHv Enb5yfEtLYRfQ+wdpmqHHQTRjDhNhVFAqYVHmagGCYbQPILK2Xvp9oniyJyMf3lSs/hFSfBT6dGzE OLpcEC0Ni3BP0GD+FOiGMTDE10NQ2N05wv8TDD1F7f/Y/LpubFmk2Gi0dUKL7DqM5sjmWpYOJ5iws DXwhJKLp6SQm99oCad+v+XBNhiWU8/+K7OYVKDCOlOEGN9DOPV88pIvAoFWfnMFoBL29GzVtSsNX6 mnwkUCRQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lJyiZ-003Vkg-IK; Wed, 10 Mar 2021 13:17:50 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id AAEA9300455; Wed, 10 Mar 2021 14:17:27 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 7388D20541634; Wed, 10 Mar 2021 14:17:27 +0100 (CET) Date: Wed, 10 Mar 2021 14:17:27 +0100 From: Peter Zijlstra To: Huaixin Chang Cc: bsegall@google.com, dietmar.eggemann@arm.com, juri.lelli@redhat.com, khlebnikov@yandex-team.ru, linux-kernel@vger.kernel.org, mgorman@suse.de, mingo@redhat.com, pauld@redhead.com, pjt@google.com, rostedt@goodmis.org, shanpeic@linux.alibaba.com, vincent.guittot@linaro.org, xiyou.wangcong@gmail.com Subject: Re: [PATCH v3 4/4] sched/fair: Add document for burstable CFS bandwidth control Message-ID: References: <20210121110453.18899-1-changhuaixin@linux.alibaba.com> <20210121110453.18899-5-changhuaixin@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210121110453.18899-5-changhuaixin@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 21, 2021 at 07:04:53PM +0800, Huaixin Chang wrote: > Basic description of usage and effect for CFS Bandwidth Control Burst. > > Signed-off-by: Huaixin Chang > Signed-off-by: Shanpei Chen Guess :-) > +Sometimes users might want a group to burst without accumulation. This is > +tunable via:: > + /proc/sys/kernel/sched_cfs_bw_burst_onset_percent (default=0) > + > +Up to 100% runtime of cpu.cfs_burst_us might be given on setting bandwidth. Sometimes is a very crap reason for code to exist. Also, everything is in _us, why do we have this one thing as a percent?