Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2943633rwe; Mon, 29 Aug 2022 03:11:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR4xgm0eGTk2WBkoCw/sIKObfmtKiDE2hxua6z3pCLjKu5DZkU9Hf1wC4kpRNTqrAB6RNIxC X-Received: by 2002:a63:c59:0:b0:42b:c924:cde4 with SMTP id 25-20020a630c59000000b0042bc924cde4mr6871534pgm.279.1661767862349; Mon, 29 Aug 2022 03:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661767862; cv=none; d=google.com; s=arc-20160816; b=oA+Ny1ClrcNN6yT2JVlCeHHaRyDSdT+x5nXnqxRxXdQPk9J+tvuIIOCivCkaqJEDoI 3WL7ZmtDC2YbbgvoKpjDKs/lkNgH0Dev28tdyH31ncLo/xIl7uPskMnqwfSpLTQ30hTX C2Zg1Ta37yvG9FJ4ZrE4Jb7zFibS4+9rpcjVzQvLtAwKb5t7xDxgdDaFmkNdOscgey/v zxzBtit9ZOVzZw3GZMEKpIUNwkW/RcElcURIcDFlASqL9TcQdGfCyr4nzFuN9Pu0Hphi DIAkO/wTvR05JzTYAW7VdAZav+BLUoO3yR9JyiFdjkNRn3iq26D85zU/TEbwQ3Zd03WF Egqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=llmelcoJ4klCgLdk2fz8FROsPA4FmhSkNnSZbG+aOic=; b=c02kH02fJ1KAgrsXZ9Xfac9vjRjXe3p4x01elkKQZLjkpB7Wrv+iwx4JR2Tehx50g5 jnhrdbKbSNMiSD29pc/00nasa9RlnTHjJ1tabs+QFLxDrqTL0ulzfc9nVS0N+gMkay2b l0WzMK/Hr3w7dn/GAim3K/1iTsJjGHSLKDAPa36QXPGQg8izeOv4HchyokCcpJsN42L0 oz23jggIHu2tn5+Khrtd2aL91i3srqnIdG3BtIiSY2M/KCQiTeoZKWhw8Fj8TxdBxs8v GChJc1azWLRxKHxCmVTIWXzrd2K46pG6OUbizsC2kWZ7Ho3e7hWRLlngJaq4IKDAu12/ RPzw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e7-20020a17090301c700b0016c009d3ca2si10067737plh.7.2022.08.29.03.10.50; Mon, 29 Aug 2022 03:11:02 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229772AbiH2KAA (ORCPT + 99 others); Mon, 29 Aug 2022 06:00:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229844AbiH2J75 (ORCPT ); Mon, 29 Aug 2022 05:59:57 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0895D5F84; Mon, 29 Aug 2022 02:59:53 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 00B3A23A; Mon, 29 Aug 2022 02:59:59 -0700 (PDT) Received: from [10.57.14.18] (unknown [10.57.14.18]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C2A483F882; Mon, 29 Aug 2022 02:59:51 -0700 (PDT) Message-ID: <9fc3d98c-9262-e737-3bfa-ffd2c913428f@arm.com> Date: Mon, 29 Aug 2022 10:59:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH] docs: scheduler: Update new path for the sysctl knobs Content-Language: en-US To: corbet@lwn.net Cc: siyanteng@loongson.cn, alexs@kernel.org, peterz@infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220816121907.841-1-lukasz.luba@arm.com> From: Lukasz Luba In-Reply-To: <20220816121907.841-1-lukasz.luba@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_50,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE,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 Hi Jonathan, On 8/16/22 13:19, Lukasz Luba wrote: > Add missing update for the documentation bit of some scheduler knob. > The knobs have been moved to /debug/sched/ location (with adjusted names). > > Signed-off-by: Lukasz Luba > --- > Documentation/scheduler/sched-design-CFS.rst | 2 +- > Documentation/translations/zh_CN/scheduler/sched-design-CFS.rst | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/scheduler/sched-design-CFS.rst b/Documentation/scheduler/sched-design-CFS.rst > index 59b2d1fb4dc4..03db55504515 100644 > --- a/Documentation/scheduler/sched-design-CFS.rst > +++ b/Documentation/scheduler/sched-design-CFS.rst > @@ -94,7 +94,7 @@ other HZ detail. Thus the CFS scheduler has no notion of "timeslices" in the > way the previous scheduler had, and has no heuristics whatsoever. There is > only one central tunable (you have to switch on CONFIG_SCHED_DEBUG): > > - /proc/sys/kernel/sched_min_granularity_ns > + /sys/kernel/debug/sched/min_granularity_ns > > which can be used to tune the scheduler from "desktop" (i.e., low latencies) to > "server" (i.e., good batching) workloads. It defaults to a setting suitable > diff --git a/Documentation/translations/zh_CN/scheduler/sched-design-CFS.rst b/Documentation/translations/zh_CN/scheduler/sched-design-CFS.rst > index 26b0f36f793d..3076402406c4 100644 > --- a/Documentation/translations/zh_CN/scheduler/sched-design-CFS.rst > +++ b/Documentation/translations/zh_CN/scheduler/sched-design-CFS.rst > @@ -80,7 +80,7 @@ p->se.vruntime。一旦p->se.vruntime变得足够大,其它的任务将成为 > CFS使用纳秒粒度的计时,不依赖于任何jiffies或HZ的细节。因此CFS并不像之前的调度器那样 > 有“时间片”的概念,也没有任何启发式的设计。唯一可调的参数(你需要打开CONFIG_SCHED_DEBUG)是: > > - /proc/sys/kernel/sched_min_granularity_ns > + /sys/kernel/debug/sched/min_granularity_ns > > 它可以用来将调度器从“桌面”模式(也就是低时延)调节为“服务器”(也就是高批处理)模式。 > 它的默认设置是适合桌面的工作负载。SCHED_BATCH也被CFS调度器模块处理。 Gentle ping. Could you take this patch, please? Regards, Lukasz