Message ID | 20231128080033.288050-4-urezki@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3752013vqx; Tue, 28 Nov 2023 00:02:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGwgM+X6GjYRk+vIweyxGUifEelxk2bwU3FyDqKWMCbPoQHfQ7XlqxKztakFkkwnb47CC++ X-Received: by 2002:a17:902:b60e:b0:1cf:b3fe:4fd8 with SMTP id b14-20020a170902b60e00b001cfb3fe4fd8mr11114127pls.50.1701158535927; Tue, 28 Nov 2023 00:02:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701158535; cv=none; d=google.com; s=arc-20160816; b=lmTFsxHEIpsllC5zBIjgW4m0dT7+2at0SZfIij72DLw+rXpkXoJqiB3xIcdAa0QCiO C/AjfVVbl3YS5RDLCZKgym/26l3YiOdi0SuJmweLgRMIEu78yDlvPtipENt4zyXeCfl3 pc5ETIlztrOsv36caRHkHdJ8AD0goaIL6UVPtu2VXIZ8TrI3VbX4Hb+vUP9JFo5tX5rB xD1murDbWrkxNkhTCgYvywRawKV1/JmtTvZ0u4iEALNEvQRVt2vJSeDsqJlODkRVd9zt a+0OxP3FB3eVyBnfvMFHxtQlKE4+bzFw/+0XwXdyU3MtBwpwULA5H1LN4IbkHh1Xlvvj 5FtA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XhGfiMA+FxwDjc7t0nt/AcmpjpbgCOpq64Uuwhjmwcc=; fh=4iZcRCmzpaCZKgp7nvxh/m3AX3kfm//yPbGO/jIXleI=; b=ZHqz1XsedbRxWdGmS09K4Mivq0QYQFfL2JZZ38DiSZ15Kel/ceTERghj9is4UvLMdf F3fK5aVW37t4vPUOKwhrHEz+hHNU2g+ot1/xRETH4NwyA5IZX1GIifgK9D80eIovCrZa SpAc0oLlog6uTaMAyR6jnZ0MtcJdT3XaNGGVl30dzE4+C8SyhOuqRd+W+HmDG+LBpd0V bZkzuXznXbo4pqZkwDHPet89nN9onay6p2UCjsl+4Pfvm4rbawgA24qkQhftpA/F4c7L FSXwnuu3v7S06/aCwXEdd3ATSnlPI7F4P1wgHzygqgqhKa5Qb5OEfYHrPmuvwCl3iqyR FVqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=htrmT2Wz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id y17-20020a17090322d100b001cfb56f534bsi7375774plg.361.2023.11.28.00.02.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 00:02:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=htrmT2Wz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id EE9FD8060C8A; Tue, 28 Nov 2023 00:02:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344003AbjK1IAw (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Tue, 28 Nov 2023 03:00:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343959AbjK1IAe (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 28 Nov 2023 03:00:34 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC55419D; Tue, 28 Nov 2023 00:00:40 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50aaaf6e58fso7777336e87.2; Tue, 28 Nov 2023 00:00:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701158439; x=1701763239; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XhGfiMA+FxwDjc7t0nt/AcmpjpbgCOpq64Uuwhjmwcc=; b=htrmT2WzhWPg7YEYgl2rpQyaKIWN33ZAih/zXMGkVoQ91n4WxzTqefDewirCLxdu/U pB9fVtemOF/W3UYMQSiZT05DnY5J9RYlnga4ZPmbmhaV6azq4mvE6Vn6hmOWIYv3zVLV QfSobqiY9MM08TmnGgkwwVL3k/ezTdNg0TOio01f7GiHtACtnlu4AkZvh8IWQKPmdloY LwVvBtEchYnKbdZijLZod2RYmBKta17QPfqqKDeZc0xLcjyZ/ouc/LNXb02abBDi1fh2 CoQsN6xgYTIoZ0il+7+SlOkloPU2ZADGyn/evKjIQfwr8AFU4QSwOvtjnimAOx60rS5R y3uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701158439; x=1701763239; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XhGfiMA+FxwDjc7t0nt/AcmpjpbgCOpq64Uuwhjmwcc=; b=Dipc1XNKHsfAR/hrNghEilNB2AjbwYjTM9KVtqaLTQFus61IYFzWMp4ZKBSRQ67kDb 96p346e3ZtIF+Vv6CX/pAjFBuV3wGBLmZGh2s4keaZpQh06cq7p+7jwbJsKzXUMym/N5 G9Q1stEB5Qvsb/whdlRL0wbuh4vKBZCmONw14/daZZsxHhUgQgZAJX7sm+xYS0p7afpN YgiGYBlEA5qEtJ6hUEZ/hzqZqP1k/ZNg5+axihGFyTmsP7B8JD+iwOP8qbNJbmpynHKm SvN1bcze80pbtKM5ZJ95j/TPteKr4OztHmPj5Ad6jW4VwrP49jp+A+L8RBRQper8OxkF GTqQ== X-Gm-Message-State: AOJu0Ywt3Ay4HQGPoeYzs0xPMLN8cKQa3lKaMBmBS+SLuUUm10y0skr1 q8E6QpRiRPo7vVOLmDnbDOc7Hu7jtWs= X-Received: by 2002:ac2:563b:0:b0:509:145c:6a49 with SMTP id b27-20020ac2563b000000b00509145c6a49mr8953744lff.42.1701158438666; Tue, 28 Nov 2023 00:00:38 -0800 (PST) Received: from pc638.lan ([155.137.26.201]) by smtp.gmail.com with ESMTPSA id o16-20020ac24bd0000000b004fe202a5c7csm1765501lfq.135.2023.11.28.00.00.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 00:00:38 -0800 (PST) From: "Uladzislau Rezki (Sony)" <urezki@gmail.com> To: "Paul E . McKenney" <paulmck@kernel.org> Cc: RCU <rcu@vger.kernel.org>, Neeraj upadhyay <Neeraj.Upadhyay@amd.com>, Boqun Feng <boqun.feng@gmail.com>, Hillf Danton <hdanton@sina.com>, Joel Fernandes <joel@joelfernandes.org>, LKML <linux-kernel@vger.kernel.org>, Uladzislau Rezki <urezki@gmail.com>, Oleksiy Avramchenko <oleksiy.avramchenko@sony.com>, Frederic Weisbecker <frederic@kernel.org> Subject: [PATCH v3 3/7] doc: Add rcutree.rcu_normal_wake_from_gp to kernel-parameters.txt Date: Tue, 28 Nov 2023 09:00:29 +0100 Message-Id: <20231128080033.288050-4-urezki@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231128080033.288050-1-urezki@gmail.com> References: <20231128080033.288050-1-urezki@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 28 Nov 2023 00:02:13 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783794013025149204 X-GMAIL-MSGID: 1783794013025149204 |
Series |
Reduce synchronize_rcu() latency(V3)
|
|
Commit Message
Uladzislau Rezki
Nov. 28, 2023, 8 a.m. UTC
This commit adds rcutree.rcu_normal_wake_from_gp description
to the kernel-parameters.txt file.
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
---
Documentation/admin-guide/kernel-parameters.txt | 14 ++++++++++++++
1 file changed, 14 insertions(+)
Comments
On Tue, Nov 28, 2023 at 09:00:29AM +0100, Uladzislau Rezki (Sony) wrote: > This commit adds rcutree.rcu_normal_wake_from_gp description > to the kernel-parameters.txt file. > > Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com> Very good, but could you please fold this into the first patch, which is the one that adds this kernel parameter? Thanx, Paul > --- > Documentation/admin-guide/kernel-parameters.txt | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index 0a1731a0f0ef..65bfbfb09522 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -4944,6 +4944,20 @@ > this kernel boot parameter, forcibly setting it > to zero. > > + rcutree.rcu_normal_wake_from_gp= [KNL] > + Reduces a latency of synchronize_rcu() call. This approach > + maintains its own track of synchronize_rcu() callers, so it > + does not interact with regular callbacks because it does not > + use a call_rcu[_hurry]() path. Please note, this is for a > + normal grace period. > + > + How to enable it: > + > + echo 1 > /sys/module/rcutree/parameters/rcu_normal_wake_from_gp > + or pass a boot parameter "rcutree.rcu_normal_wake_from_gp=1" > + > + Default is 0. > + > rcuscale.gp_async= [KNL] > Measure performance of asynchronous > grace-period primitives such as call_rcu(). > -- > 2.39.2 >
On Tue, Dec 19, 2023 at 05:17:19PM -0800, Paul E. McKenney wrote: > On Tue, Nov 28, 2023 at 09:00:29AM +0100, Uladzislau Rezki (Sony) wrote: > > This commit adds rcutree.rcu_normal_wake_from_gp description > > to the kernel-parameters.txt file. > > > > Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com> > > Very good, but could you please fold this into the first patch, which > is the one that adds this kernel parameter? > No problem :) -- Uladzislau Rezki
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 0a1731a0f0ef..65bfbfb09522 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -4944,6 +4944,20 @@ this kernel boot parameter, forcibly setting it to zero. + rcutree.rcu_normal_wake_from_gp= [KNL] + Reduces a latency of synchronize_rcu() call. This approach + maintains its own track of synchronize_rcu() callers, so it + does not interact with regular callbacks because it does not + use a call_rcu[_hurry]() path. Please note, this is for a + normal grace period. + + How to enable it: + + echo 1 > /sys/module/rcutree/parameters/rcu_normal_wake_from_gp + or pass a boot parameter "rcutree.rcu_normal_wake_from_gp=1" + + Default is 0. + rcuscale.gp_async= [KNL] Measure performance of asynchronous grace-period primitives such as call_rcu().