Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4320973rwb; Tue, 16 Aug 2022 19:54:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR4mpD9wZzd0E7wga3IExpSdb28FaUBGwXbG0fmW2YkADZWlLaYWnRoA2GcHcLJTNda8Msqv X-Received: by 2002:a65:41ca:0:b0:41d:17df:1d0e with SMTP id b10-20020a6541ca000000b0041d17df1d0emr20799245pgq.112.1660704884931; Tue, 16 Aug 2022 19:54:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660704884; cv=none; d=google.com; s=arc-20160816; b=QNLOMWSpZpMFqbbf1wkNhJcnPRQESOEwRCih04G1MA9soPIrEM/Pd0MlKblPYZc44r EVbMd8Ha7PxC68RY4cLfS5/IDuWCwbOYlIjmY5Ajy0terDl4XGDbRd/MiwAU8yOheudU IfJ0I70adjr8llNhcGNFZktvkJwFm9abmjl6wt0mYPE65KMw9skwdZku/+oFRP0dn7J/ PDIixVTQIqZZD2j8UX2z6fCvvOSeQYBivOEA5VvMsNn/5NKDhO5hf+7e7yDsL55jn8wW WCjCa/GHkCJBcvrrMmn5pFf2C/cko6ODJcTliZuGXk6AUn0YHz8Ao6fLsyONXSiaxnVC 1+zw== 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:subject:user-agent:mime-version:date:message-id; bh=wQqhqyOA5xyUW9ukLtFjcv2QHwMvIciQmkijVW6VT/E=; b=viKoRwHXQpmjXtajZ42NmcpJd7nxUk6lqMtw9ByQNR5LWdNXpIuWQ603MRkGwabyg6 3uv/04MQawwEiQtN/EORVRqHzEDCv30gG8Z17vHB1gbtuwsq4ELc3+8et2ugkU20yi6p OhDrYeJav3DI1wEY8uwgIlcqlqXq/s4eiAUjk0OwOdKI2A4tpw6dr3rJpzTUcZkxye+E txRbRqdqL3RTlk4azOH8+KtRMi88qSigDhfGMEKvXl9J5vdue7J6MTIe+NzHk3lDS+5y ocCh9+ZucHhCN8eEycUF/qhzGfUOxECMkLcGG+AHDb3Anb3seN0gHMYCr9sGsCeK0z3W wDYg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id me10-20020a17090b17ca00b001f2332335c2si770747pjb.133.2022.08.16.19.54.33; Tue, 16 Aug 2022 19:54:44 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235578AbiHQCXq (ORCPT + 99 others); Tue, 16 Aug 2022 22:23:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229911AbiHQCXn (ORCPT ); Tue, 16 Aug 2022 22:23:43 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4549A3E758; Tue, 16 Aug 2022 19:23:41 -0700 (PDT) Received: from [192.168.100.8] (unknown [112.20.110.237]) by localhost.localdomain (Coremail) with SMTP id AQAAf8DxvmslUfxizwQDAA--.3916S3; Wed, 17 Aug 2022 10:23:34 +0800 (CST) Message-ID: <325e126b-14e7-79fa-1348-53d71fd98728@loongson.cn> Date: Wed, 17 Aug 2022 10:23:34 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH] docs: scheduler: Update new path for the sysctl knobs To: Lukasz Luba , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: alexs@kernel.org, corbet@lwn.net, peterz@infradead.org, Tang Yizhou References: <20220816121907.841-1-lukasz.luba@arm.com> From: YanTeng Si In-Reply-To: <20220816121907.841-1-lukasz.luba@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8DxvmslUfxizwQDAA--.3916S3 X-Coremail-Antispam: 1UD129KBjvJXoWxXr1fGr1kGrWDCw45JFykGrg_yoW5JFWDpa 4qgr4xA3ZrAr90kw18Cw1rGFWrWFW7C3y3Gr1qk3W8WFyvqaySyr1Ut3y3WF4qqry0yFW5 XFZag343Zw1jvaUanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUvSb7Iv0xC_tr1lb4IE77IF4wAFF20E14v26r4j6ryUM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Cr0_Gr1UM28EF7xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4 vEx4A2jsIEc7CjxVAFwI0_Gr1j6F4UJwAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40E FcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr 0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI48JMxk0xIA0c2IEe2xFo4CEbIxv r21lc2xSY4AK67AK6r4UMxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI 8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AK xVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI 8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280 aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43 ZEXa7IU8xWrJUUUUU== X-CM-SenderInfo: pvl1t0pwhqwqxorr0wxvrqhubq/ X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,NICE_REPLY_A, SPF_HELO_PASS,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 在 2022/8/16 20:19, Lukasz Luba 写道: > 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 Tested-by: Yanteng Si CC Yizhou Thanks, Yanteng > --- > 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调度器模块处理。