Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1005984lqz; Sun, 31 Mar 2024 09:06:28 -0700 (PDT) X-Forwarded-Encrypted: i=4; AJvYcCVBZs2MHm/rrr73x0d3G3eUjInaR5IEYPtwPi1NaunVDPa+Pfyd2cREPb/H5DeSv2JwZkDWtMQfuIADeHcS/7H1uSaSvS+9y/nZ1/vpcw== X-Google-Smtp-Source: AGHT+IGzMrBWiduwh2P8p2qRgQxea+c6q13DB7zKl0dWDmvrtcMlhmkL7xTNOF/cq4PARpspaA2s X-Received: by 2002:a17:907:980d:b0:a4e:37e1:62f4 with SMTP id ji13-20020a170907980d00b00a4e37e162f4mr5232746ejc.18.1711901187983; Sun, 31 Mar 2024 09:06:27 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1711901187; cv=pass; d=google.com; s=arc-20160816; b=l8ZPsTURyk0OogtEoc3Ba98xBa8sphg8HoqrOTFs960C9E+g5LNkQqjTmCxTcAjEvU 1nfntEyA3NO78yAiLyznaHgsRXInLZHOA4zDt/TzvHq2aLLP82LcckMmLdDLbDlXG4D9 K8wIoDvAUrv5sj+lg5WmiPGJH0T/4HW4o5Me9rGU8n15zFUpz9kgaF/pPYlw/SQGa/3f dhvsSXqWDL3qOK54iDswLdSdWYA2L8AaWkjapJ9NswLAJ7SVlOO6xTzVWMuTE9zksXsR LfE1kLuIt9T3f29gHdwWySn/Qo/hVFzMJe/2nTnoC/PIjGCp+XuWEE3SPm/+d5d4Y65r iAoA== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature:delivered-to; bh=dFZ+Th39mFALLRRNFXdhDn/IaGd1DyCaJm+9g0YLcTE=; fh=SotPdUFMeEEyMi/Tle40x0qcsTe88+U78qIS3skPpMM=; b=pKN63P8oHNkeOsLPQPlQJceULSC3sHgkTMREy7eZE10brypkqSG3mnfrWgAdOvrfba 3S8BTs6DcStDrnCIZRq3CL1GAm/0oiowEsdhhW7F7VaLjnWlIlwq0ysGFncW2re0/slB sBmqFyn2ia7y8/SR+aMKcc72oamiMz5S+Zy+KGRhVeYTplp0Z2fSI3clXraTt9ApYtvg +7j+5xifgmX+iBfLSi6xbAQ12y6fM3WVLsUpliNQzWedUe+VocjfgZY7Yij01/4KJGt6 T5AJJiw2kCrQnoY+/zbMy3nkhI4BVLMA4Kb7xQzajpFhQ/vEEguBG6MWB2F+WgxV3qLI 8Ggg==; dara=google.com ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@bursov.com header.s=zoho header.b=uchmRoTk; arc=pass (i=2 spf=pass spfdomain=bursov.com dkim=pass dkdomain=bursov.com); spf=pass (google.com: domain of linux-kernel+bounces-126115-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126115-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id nc16-20020a1709071c1000b00a4e2916f6d0si3328054ejc.512.2024.03.31.09.06.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Mar 2024 09:06:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126115-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bursov.com header.s=zoho header.b=uchmRoTk; arc=pass (i=2 spf=pass spfdomain=bursov.com dkim=pass dkdomain=bursov.com); spf=pass (google.com: domain of linux-kernel+bounces-126115-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126115-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B24AA1F2281E for ; Sun, 31 Mar 2024 16:06:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD8F2148FEA; Sun, 31 Mar 2024 16:02:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=bursov.com header.i=vitaly@bursov.com header.b="uchmRoTk" Received: from sender-of-o51.zoho.eu (sender-of-o51.zoho.eu [136.143.169.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D1F8B148FF5 for ; Sun, 31 Mar 2024 16:02:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=136.143.169.51 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711900954; cv=pass; b=T9FamtZOJXTiAliY59sR5XIAOa5QNwaXlDWuu99P4JbxXBXrjYAj9H8qXypuMIhVpngBlLvP63xDQGoR2QQE4U2sNXzZiLD/iu3q92EsBadESxU4EyDs6XLn3rEodPFuCi7jSZO5/4ZBoQYHUbq4OqTi544k8Sh9g4OjzemNHoE= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711900954; c=relaxed/simple; bh=avuhYgLWVdEz3QPjIiNeZFxgxLHoyXJgRiOZcBkekdw=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=jtPdSNpfA82MVn2HKdC/11tNo8r3jglt8FZmlKZZZqqjqolLaBi7tuIUdFvLK9P8mhBOjQ2WE50EPT2aj0YFfNMuJzy4H7oU5FwPe5Tc8TygQAezVXsuGMjebmMp7jnTyFCcpVCO55ETn+BLOXxSbgb3sy8u9JGyTIa14F49u+8= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bursov.com; spf=pass smtp.mailfrom=bursov.com; dkim=pass (1024-bit key) header.d=bursov.com header.i=vitaly@bursov.com header.b=uchmRoTk; arc=pass smtp.client-ip=136.143.169.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bursov.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bursov.com Delivered-To: vitaly@bursov.com ARC-Seal: i=1; a=rsa-sha256; t=1711900922; cv=none; d=zohomail.eu; s=zohoarc; b=PsvDzgAZjqv/CGOdUo7+sNE76xXHYRqnRVS2yZF/m5tTlKa0ZDz1nEQl4ikI7hvfixnXO3zg13zcp+twDOgw1fpmpbjFhDpz3TcFjFQj/b7EDSfLzj6/Ed7lf7+MnfjRL8BcSWbbizkOrN9Okb5GbN/p7nlXIHVvrI8Xa0Ng7N0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1711900922; h=Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=dFZ+Th39mFALLRRNFXdhDn/IaGd1DyCaJm+9g0YLcTE=; b=ATRz63owEmLA2j5An83ZBB8Ie2qE+YpTEJZ2rxuyN1RjLM/VIjtyIiSF3jBJIq8GDe49Rl2JKkw1AqAR8Q1asLfuEtIkXeZNdho94piVknOz2rOE2B4GOYMuGjurT6qgeiaFq1kTARwckIOSYTU3JKb7JKQ2MjncYrWlj2ZHc1U= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=bursov.com; spf=pass smtp.mailfrom=vitaly@bursov.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1711900922; s=zoho; d=bursov.com; i=vitaly@bursov.com; h=From:From:To:To:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Reply-To:Cc; bh=dFZ+Th39mFALLRRNFXdhDn/IaGd1DyCaJm+9g0YLcTE=; b=uchmRoTkP9LYdMA/S+sP/onU+WdnM2ASKLPkH5aCJgTmaiui0CWY7OsjXVPEW52u 8fnogrOj15IRRfNUNX102nsqYKTu35wHyglaQgjiOTgqa5XpA1hvhdaFUqI2jmPCBEz 0YSWeBn3XLNdK3gTa0OfUTvGM9Hs06qk/u2AFKlI= Received: from localhost.localdomain (217.20.170.230 [217.20.170.230]) by mx.zoho.eu with SMTPS id 1711900922174361.44191369435737; Sun, 31 Mar 2024 18:02:02 +0200 (CEST) From: Vitalii Bursov To: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , linux-kernel@vger.kernel.org, Vitalii Bursov Subject: [PATCH v2 3/3] docs: cgroup-v1: clarify that domain levels are system-specific Date: Sun, 31 Mar 2024 19:01:49 +0300 Message-Id: X-Mailer: git-send-email 2.39.2 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External Add a clarification that domain levels are system-specific and where to check for system details. Add CPU clusters to the scheduler domain levels table. Signed-off-by: Vitalii Bursov --- Documentation/admin-guide/cgroup-v1/cpusets.rst | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Documentation/admin-guide/cgroup-v1/cpusets.rst b/Documentation/admin-guide/cgroup-v1/cpusets.rst index 7d3415eea..d16a3967d 100644 --- a/Documentation/admin-guide/cgroup-v1/cpusets.rst +++ b/Documentation/admin-guide/cgroup-v1/cpusets.rst @@ -568,19 +568,25 @@ on the next tick. For some applications in special situation, waiting The 'cpuset.sched_relax_domain_level' file allows you to request changing this searching range as you like. This file takes int value which -indicates size of searching range in levels ideally as follows, +indicates size of searching range in levels approximately as follows, otherwise initial value -1 that indicates the cpuset has no request. ====== =========================================================== -1 no request. use system default or follow request of others. 0 no search. 1 search siblings (hyperthreads in a core). - 2 search cores in a package. - 3 search cpus in a node [= system wide on non-NUMA system] - 4 search nodes in a chunk of node [on NUMA system] - 5 search system wide [on NUMA system] + 2 search cpu clusters + 3 search cores in a package. + 4 search cpus in a node [= system wide on non-NUMA system] + 5 search nodes in a chunk of node [on NUMA system] + 6 search system wide [on NUMA system] ====== =========================================================== +Not all levels can be present and values can change depending on the +system architecture and kernel configuration. Check +/sys/kernel/debug/sched/domains/cpu*/domain*/ for system-specific +details. + The system default is architecture dependent. The system default can be changed using the relax_domain_level= boot parameter. -- 2.20.1