Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9716967rwd; Wed, 21 Jun 2023 10:51:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5cOPKJqcu8gj+KW35PGujw7ZXLpgC5FDHgZwdcf0/KbuV7k1p0d+fDeZKE01pQoybVRw30 X-Received: by 2002:a05:6a20:3cac:b0:122:550f:aad4 with SMTP id b44-20020a056a203cac00b00122550faad4mr7538361pzj.9.1687369912454; Wed, 21 Jun 2023 10:51:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687369912; cv=none; d=google.com; s=arc-20160816; b=ECzNBh+lWgDwc1+5n+4xkkS8n2DaXW7B+eMYS+ILAvBWAl6TtaK2ARUSGWQZvFnXEX D295/Sys5Cq/Uw0U81ptIifPsuMnLE+1CGg++FfUEpewfzCUqA1oO5tk+bkC5BzJCcgz ERtf/9AHudkot10IneSp414ezFNX1qobqDndRv+HVJ/1d/plgt1GO67t5FY0n9a7Y569 JSh+1uyBXtms19Uj7SXtfJJTcLa8vu1Q34tCPRvwEzIneFS+VK7Zd8L4MhUVX8TLshA6 tmFBD7uwbigtJz9EoVYBwFBTYfbIJSYouFA9G2ol6KiM0WdJ58zVleBSmZwhCUIk5ud9 FI9g== 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=gdJWrasxkRUSL2RDM06E86dVP6tjfx8eJS0RgdBpKpw=; b=Uk9epGjJxPtClNJ151BjwSmc5XSnKTYv3ZRAYhb7DFnfN7wTGmgjyc1F4xUZ2bsT5a YP9X3taKsAH46/ymJ0GI43GWpwWYCwRFPkbF3VenTAg0tTFc05ZbxQuEoIYCIPLQ4GPp SK6QX399wh0m9uWdARc+J99hlv3lm0wOyRlU88ny1gdC26Wa4Ol7QQ88xjkBVvR4YO6r FxzgnUjOLG3Dh7L+bLKO7Nk1qL9z9EPH++0wR2SXVR1YaxeeuuwK/Ij6iWllkQE3URKJ WV80rxvz/7HCGFzA0dyjGqebquCCcsn7v/L1xg/YlBbdmrFwr1U+r82O1tCXopTdRuyS o2bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DCoHPGXZ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f62-20020a625141000000b0064d56036aeasi4449668pfb.255.2023.06.21.10.51.39; Wed, 21 Jun 2023 10:51:52 -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; dkim=pass header.i=@intel.com header.s=Intel header.b=DCoHPGXZ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231429AbjFURk7 (ORCPT + 99 others); Wed, 21 Jun 2023 13:40:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230195AbjFURkm (ORCPT ); Wed, 21 Jun 2023 13:40:42 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB2A8F1; Wed, 21 Jun 2023 10:40:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687369241; x=1718905241; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=r5UMYKpVO7CH5T1tFztMST9Hrba8NtQtdvEfQNwuWZQ=; b=DCoHPGXZKn/ckg3zWJDtlg6os+RX5UYy5B/A1AGWMSwp4nYv+gaYJ72S 7Ly6gt5NwJjIp7HzE6wytPUHwOXcyB2Ang6XNeWsDgBEgcWPtR5QBL75+ 8mpdz5Rpu2wqyYX8GPoCJnoxBIw1WwicMmk6Os+gcPoqZvw0a6nbKX8Zu j7c7BoAnXqT+jmdwVeMDnduEoyiSKllEliJ+MJAZKaNC8mIz7gXFXxQ9Q U40XSWcOX4vmMHsQ2zNHq5YBaoJ9nv42NhlHx44LDGfSAtZvGqkUqgz0p EqUxluo9eMI2VqHsT3Y4mF414raPLV0wIm2ldKh6mmwdP/7OQbqtcusUU g==; X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="359120553" X-IronPort-AV: E=Sophos;i="6.00,261,1681196400"; d="scan'208";a="359120553" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2023 10:40:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="779921580" X-IronPort-AV: E=Sophos;i="6.00,261,1681196400"; d="scan'208";a="779921580" Received: from agluck-desk3.sc.intel.com ([172.25.222.74]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2023 10:40:17 -0700 From: Tony Luck To: Fenghua Yu , Reinette Chatre , Peter Newman , Jonathan Corbet , x86@kernel.org Cc: Shaopeng Tan , James Morse , Jamie Iles , Babu Moger , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, patches@lists.linux.dev, Tony Luck Subject: [PATCH v2 6/7] x86/resctrl: Update documentation with Sub-NUMA cluster changes Date: Wed, 21 Jun 2023 10:40:05 -0700 Message-Id: <20230621174006.42533-7-tony.luck@intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230621174006.42533-1-tony.luck@intel.com> References: <20230621174006.42533-1-tony.luck@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 With Sub-NUMA Cluster mode enabled the scope of monitoring resources is per-NODE instead of per-L3 cache. Suffixes of directories with "L3" in their name refer to Sub-NUMA nodes instead of L3 cache ids. Signed-off-by: Tony Luck --- Documentation/arch/x86/resctrl.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/arch/x86/resctrl.rst b/Documentation/arch/x86/resctrl.rst index cb05d90111b4..13fc9fa664fc 100644 --- a/Documentation/arch/x86/resctrl.rst +++ b/Documentation/arch/x86/resctrl.rst @@ -345,9 +345,13 @@ When control is enabled all CTRL_MON groups will also contain: When monitoring is enabled all MON groups will also contain: "mon_data": - This contains a set of files organized by L3 domain and by - RDT event. E.g. on a system with two L3 domains there will - be subdirectories "mon_L3_00" and "mon_L3_01". Each of these + This contains a set of files organized by L3 domain or by NUMA + node (depending on whether Sub-NUMA Cluster (SNC) mode is disabled + or enabled respectively) and by RDT event. E.g. on a system with + SNC mode disabled with two L3 domains there will be subdirectories + "mon_L3_00" and "mon_L3_01" the numerical suffix refers to the + L3 cache id. With SNC enabled the directory names are the same, + but the numerical suffix refers to the node id. Each of these directories have one file per event (e.g. "llc_occupancy", "mbm_total_bytes", and "mbm_local_bytes"). In a MON group these files provide a read out of the current value of the event for -- 2.40.1