Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp1402550rwo; Sat, 22 Jul 2023 12:38:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlG73F+5tDIniACodUmzfs6ARlTg0tve6S6TmoxSWhcHiyAqGir/rXfcCpv74ecpUG02Yyg+ X-Received: by 2002:a05:6a00:180e:b0:67a:8fc7:1b61 with SMTP id y14-20020a056a00180e00b0067a8fc71b61mr6111597pfa.11.1690054706342; Sat, 22 Jul 2023 12:38:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690054706; cv=none; d=google.com; s=arc-20160816; b=wlxbfQIQnTbzn4KTBqZhpc3jsEubT+lYid0PTxTyE4bUnAqasj6KQCD+DwdYNufsBR eG979wpfjg29OyeswhAgPmj4YHy+9dW6WU1nS7bynjalJ3ZD8qgf39CseSbylVR7DKyT QJ39Yy6Dtf8icityi7tsp2VCEqxZtdrpO/afcVTpRMAKhIaANb3b0LeklghrXLUK9iIN 8PUFfG/8f6c9+OhLF9SDGXIldEDqxep1TVWAqP/8jBDKlhdBvHhQkU4ZKpQBhZMRASdU 2CwNOlJSpUB4jXzSi9WFo51QlPU966j3c5HtJ4ADUu6Qz3h1Cm+sEs+k0dLqySt/D9KS iOSA== 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=QQjLYRmKwK1imv3QwZELahWl4Cjr40BDo6X99SAzhuQ=; fh=g0WKEVDdB8sQamShH39vSa8SoB8TDPrv8hO7zbxV08s=; b=AyGGjQGuipvae+xUih87B47H3pwpRZp5mfcbYmFDpqgTLOKR+Rn6FJeswMdmYWmh6H 5cw7oOxbRJ5gCba1c4SV1sjqrtmZFKKggTUhAg5T+jDNZVhIA2X2qpshlTXAPG8DiY1e EtZcBY64fZlx9vL+jp6oiIhoIJkpIlxnP9urwqEUqEnM6y+CX7yS02Owz9UUm7+Nil/E gq9An3o5kAwoY71lwkOAWRivzEBC/mxOwe+nIR/PPGakAxG9Y5gBEAsTxgY4atW16+0o TJwjJtdyAi07lLcVHf0Vf4U0+KTs1ms9DCIsnz/vmChhPubmdgn/lt7wP4T4e/xgDuo7 PR8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TJkcugbI; 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 y2-20020a056a001c8200b00682850547a9si5423624pfw.201.2023.07.22.12.38.13; Sat, 22 Jul 2023 12:38:26 -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=TJkcugbI; 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 S229865AbjGVTIG (ORCPT + 99 others); Sat, 22 Jul 2023 15:08:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229756AbjGVTHz (ORCPT ); Sat, 22 Jul 2023 15:07:55 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3F1510CF; Sat, 22 Jul 2023 12:07:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690052874; x=1721588874; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cXpDt+dnuqr6w3vRcORF5earUb+5d5AO1lTx5qdXM8g=; b=TJkcugbIlU6SW7BFbbI7TzRRQme8SxTm7tWXjjSWLRhTxeIfREoUE9v8 QgQ8Dl2UIiijJDIaphe4eY3Th78WdL6Qnm5Fy6K0FEbjYLuWc+hKwhxHI FUS0XxdKxFgjD3gFfbUaRtHf2JrzI+maQ2p6FFpmJFgk9B2Azel1Em8Vj 7ELSDhjt5rDtXcEE7JQ83wVJPmfjZpRVg4dWmXxOnlfx0Wv/E21Riqn1/ puTZ0Ymzbj0KZtJJPKyM/Z8jz/kkNNmRhHxKoTLvKqZmx2pNTJJtFSey+ 8/5RjPYkbqsLrJmibUeWe7G4wpxQwCgrMsFNtQjRazFiMuo0ikrZGninE g==; X-IronPort-AV: E=McAfee;i="6600,9927,10779"; a="346823988" X-IronPort-AV: E=Sophos;i="6.01,224,1684825200"; d="scan'208";a="346823988" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2023 12:07:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10779"; a="815368094" X-IronPort-AV: E=Sophos;i="6.01,224,1684825200"; d="scan'208";a="815368094" Received: from agluck-desk3.sc.intel.com ([172.25.222.74]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2023 12:07:52 -0700 From: Tony Luck To: Fenghua Yu , Reinette Chatre , Peter Newman , Jonathan Corbet , Shuah Khan , x86@kernel.org Cc: Shaopeng Tan , James Morse , Jamie Iles , Babu Moger , Randy Dunlap , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, patches@lists.linux.dev, Tony Luck Subject: [PATCH v4 6/7] x86/resctrl: Update documentation with Sub-NUMA cluster changes Date: Sat, 22 Jul 2023 12:07:39 -0700 Message-Id: <20230722190740.326190-7-tony.luck@intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230722190740.326190-1-tony.luck@intel.com> References: <20230713163207.219710-1-tony.luck@intel.com> <20230722190740.326190-1-tony.luck@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,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 Reviewed-by: Peter Newman --- 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..4d9ddb91751d 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