Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3578676rwb; Tue, 16 Aug 2022 05:40:20 -0700 (PDT) X-Google-Smtp-Source: AA6agR4CtSLnIiwMpMpPkzc5ioftoisUjoZFrCRcHj1N4JX3ttQBSWpg9U7nHEc17/pY9TLZo0r8 X-Received: by 2002:a05:6402:50c9:b0:43e:42b0:f84a with SMTP id h9-20020a05640250c900b0043e42b0f84amr18659063edb.72.1660653619769; Tue, 16 Aug 2022 05:40:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660653619; cv=none; d=google.com; s=arc-20160816; b=PoRIhx5cZ/afvyQKQ9rSl/ABynYsbHLzw3Rtes27Fp8pJRhiEcvt4RrwvOr+JjmH3O 6+DUGzlHg0Fu+XQQUO/sqBZXyvvm/RNKHKYDj21Pz/ANPSVDOY4KjxVPTGrdaGgNwxUO fbUY3yQnrKPgRrAIUBaz1q5PhSb44WMIOwqw94jPZrJ14GCOUaTajrDVqSinohOG7qgz aW3ZW4BgEPoNC8tpbBqgDEsLgQyCl4BcUfescu3Ikhck4t/NKAHSLftv21bte21m2Ztt h14nHNB4VR3WlfAzACLV2mc49d3sua5ArvqNUqoGr0Ti5/M0rUssqnKz2joirMvootZe hlYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=wllPOv66PZ9OCwe1KqsGTZlXDql2p3duu3AlcMoQb/Q=; b=FtuFXsj7ms4j6lQR2tqCKxRhPsQXQlxpMAYNtLXbQswgmvCLoQXXQ48bavxzl/VL/s PMW9jH2sf5sjdUIJTYDuU5NCwlU9KYYN66LhsjhPbfZrhqMAn3DYN3wUrmL7ty8e48ZD QC1QNppwYOBZPZ7DGxCgiOAPtwiJxpzNI4IDJ1XR4dHjw/si5H5bVbr6bgiV2yYDg7hX arNdWVYHh4rUgPWjbaKdEVBgFxsA+R7HLyEtj8jRIp7p7eIyDFt2SYdl4qk6KAXqXAm1 wmU6isWYkRdRahbWNSOBWcXf20kGC/odmJY+9VzT/XT55Uz1O+FX57SvmkTK8CYojOi3 Vf7Q== 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 ne28-20020a1709077b9c00b0072b8009c081si10940680ejc.245.2022.08.16.05.39.53; Tue, 16 Aug 2022 05:40:19 -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 S235323AbiHPMUD (ORCPT + 99 others); Tue, 16 Aug 2022 08:20:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235485AbiHPMTs (ORCPT ); Tue, 16 Aug 2022 08:19:48 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F0B76C1C; Tue, 16 Aug 2022 05:19:41 -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 9225C113E; Tue, 16 Aug 2022 05:19:42 -0700 (PDT) Received: from e123648.arm.com (unknown [10.57.14.225]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 550183F66F; Tue, 16 Aug 2022 05:19:40 -0700 (PDT) From: Lukasz Luba To: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: lukasz.luba@arm.com, siyanteng@loongson.cn, alexs@kernel.org, corbet@lwn.net, peterz@infradead.org Subject: [PATCH] docs: scheduler: Update new path for the sysctl knobs Date: Tue, 16 Aug 2022 13:19:07 +0100 Message-Id: <20220816121907.841-1-lukasz.luba@arm.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_50,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 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调度器模块处理。 -- 2.17.1