Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2374277rwa; Mon, 22 Aug 2022 06:49:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR4fbsXUfCpevwSIxIyPcZ1SS6gSESW4ENGn1iMpZcE1hdfW/UK/7LEfDU3SGqxb/VIruZsu X-Received: by 2002:a05:6402:501d:b0:443:1c7:ccb9 with SMTP id p29-20020a056402501d00b0044301c7ccb9mr16293385eda.101.1661176164389; Mon, 22 Aug 2022 06:49:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661176164; cv=pass; d=google.com; s=arc-20160816; b=XwZ3DNOXjbtth1qIIHKa5q3+sAqqXzBUqWAo2u9YubRH5CELYqp82DkcUH4pwdBhdn NUBB2B9paCWJubB4MrUFDFtIuvVtMT8++CPHU/jVs2+ft7fYHyW4r2//KTbA7sfr/lXd RPB+BMDHreHxDw95Bg2dUvKhbSiVJZcXeqr2pJ3eqV6J8qbPlNKreUCcj15czOuow/IV 5058AsQD6sJvlzFbPjaItmmT0iovTpXOAeku3IlR1Gba+dJNSPQJb2pDikV4pPoa9AMv Xn3xc+2ueJjP737RbL0Dha5fcUdj+L32BeB4n9fqUao31ttzJVwFi/hIjdFezT/cgeZG RPww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject:dkim-signature; bh=2mckrytaVq2bzb8pFP6ub3Ne6JltGzq7PI6oJB03wpc=; b=EIDNyr6lie0gJVuE8xK3KIVm+3OSVXNtDA0y9E+IihDZiqADS4v7MuPD6pGDVQju19 VHtLt/urjnOwzvwhrlwqCuBh3Mt1TXsLIiVKp+fYcH6lLe1mLVC5vdhr9Ez2gwEeemSx ca+2KbhRHrqB4EHweaELrpG+ySI9TG0jkH8cHiRDUikSOanFb5nvO+xdVzPBhiQmeu67 nYWlwmHEbxDKTPzqwaa28aOgesCSpBZdBMjJI6krpDaS6iqOIl+qQEOWV6LLB9oNODHQ mA+RN37jXGayhCMCsMLLNRaJCghrMmlMu9OpiydIKdsLVyoFjU2MXjtkUkJy2QQlitAj u/dg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=sxkTcMlA; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l25-20020aa7c319000000b00443dbda68c1si8058099edq.176.2022.08.22.06.48.53; Mon, 22 Aug 2022 06:49:24 -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=@amd.com header.s=selector1 header.b=sxkTcMlA; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235560AbiHVNqI (ORCPT + 99 others); Mon, 22 Aug 2022 09:46:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235404AbiHVNpa (ORCPT ); Mon, 22 Aug 2022 09:45:30 -0400 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2075.outbound.protection.outlook.com [40.107.100.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92974399C4; Mon, 22 Aug 2022 06:45:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=leEcWbKh9TFobmTlIWAoqYcd8UahdHn31DTe4oyhU7S75xiGQpunNU2528p/o5FSdLvLmFTO0REvYM4SEdFq3In68fuBBekLroavfjjP5X7iHV/gic5quGY06clfOz3jmx8tX8O/rlc03lx6nfYNnUsMz9fHh9yyedA102rI6ONAP4sPXZXC0vRt/bcmDCc21OOX3BU87UeufZAuqAIm38zD/Wfh3n1bSeF0EfCYosVJB/AwTonjhCmBPL5Mrivc4ISFtQU4UVELn9DwGqHcnr7HCts0R42B/SWb7KoezoOcYmoQyY3+vBMb5bF0WCWbyDlz3YKjMYAJlb0d0WkfGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2mckrytaVq2bzb8pFP6ub3Ne6JltGzq7PI6oJB03wpc=; b=Ykp8hI76i+kqUqzVonSzm3mufBn0xbXPlRQsLRnB4PWd3t4IFA6fuXBcESVhS9bC/vpQVPqlnFuUd9Lw7WiHm+UItt5UAPq7jdhiE1uodmiRNQlshfba/xae8kQl+uER5vDf9GTbhQWsa7xPr/k69cW2PHP1uTymVpE5WTrWSNwQsVRDmTyi5E2Z4lPhom1FYIaOV6vMGQOvETavlmGgLAEvh+gjwpHeaIIH2OEcDN1EwElwYbSOVMQmXEq8q+S9JvKTJt0/DodGvCqKArOIZmduU4d7r+RorU4v4crdmtgnYVRzKjFhCND2bF4bBv/omNw3DovIVH5ueeODT+LYtA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2mckrytaVq2bzb8pFP6ub3Ne6JltGzq7PI6oJB03wpc=; b=sxkTcMlAYcWRMgPcwW6revvRK117wv1ODSCcvmttOSK6AL9HbNzfDMZStjkxjZ5io74IPsfPb3h499uRDHCWIF8nGEsuNmEn7qYHWBU0o5k2rdWbh7U69i93JJvdoK+WUOjnO+SCLQNOXAR/iTOiIE18jv0OJU6exUD6mRPd65s= Received: from MW4PR03CA0349.namprd03.prod.outlook.com (2603:10b6:303:dc::24) by MW2PR12MB2489.namprd12.prod.outlook.com (2603:10b6:907:d::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.22; Mon, 22 Aug 2022 13:45:08 +0000 Received: from CO1NAM11FT079.eop-nam11.prod.protection.outlook.com (2603:10b6:303:dc:cafe::b2) by MW4PR03CA0349.outlook.office365.com (2603:10b6:303:dc::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.20 via Frontend Transport; Mon, 22 Aug 2022 13:45:08 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT079.mail.protection.outlook.com (10.13.175.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5546.7 via Frontend Transport; Mon, 22 Aug 2022 13:45:08 +0000 Received: from [127.0.1.1] (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Mon, 22 Aug 2022 08:45:06 -0500 Subject: [PATCH v3 10/10] Documentation/x86: Update resctrl_ui.rst for new features From: Babu Moger To: , , , , CC: , , , , , , , , Date: Mon, 22 Aug 2022 08:45:06 -0500 Message-ID: <166117590621.6695.11208770898633353328.stgit@bmoger-ubuntu> In-Reply-To: <166117559756.6695.16047463526634290701.stgit@bmoger-ubuntu> References: <166117559756.6695.16047463526634290701.stgit@bmoger-ubuntu> User-Agent: StGit/1.1.dev103+g5369f4c MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dc47a3d4-3790-429b-45aa-08da8444873c X-MS-TrafficTypeDiagnostic: MW2PR12MB2489:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3nbyLIux2HcrXsTwUt/CYA0ilEa+CA8lc515g0h8E+lUbtE4wjHqZkmRpVlja0iEI814DnezXus4y9khq/jxe7QQZl1lmUrhjQKQYZHoN4o8gSOC4iFYPO1ROIdYWWNnfh3k7uPd2/YC8WT+hDS3/MjTwLDa5EQ2LYhLxv2annfkuGaEns9354KsL+jA7Kq8mvWhT7ScFIROSON0PSRQ0CnFTc759/ZzgD/M4ajwybJVoH3VGqpY0kdWDB0cBhW40alErAPQrHJiSi8y+5+tAIA43fEOwb7uJzgT+PkmyhmhVryp+mJQYFnSPr/k/w/nOJi7tm21CiEVxeUhEj4521W3oyqBqG5ZsnvjtuY0ymLspc64wSjcLx2Ce7GLgna+iMiWiUwmn1PVmJvuB+qkCs5puBYrm4R93WRWCn/SM4Ru1aR6dyYnUBONsw6Ci4zIcj3w9JVPDbagG9SF4A2aYFmJMO419xsmNWuHyStSuRKp3U1rwU0utwvxSPXfYx6lWwhklti9gxRjwSZwD4oyUnuWrOlO4xrOmEToAldUTTroQ1UFYnpU1iVANMH8v5vXBB0Ey+LyczzyL9asmisdFJTfez/I4EtrGir+LNWVw5l2gr7OKdVCPHn+LObK6yeJYDHOE8Ldw8zce8Ssf5qhjJbeBqy9WCWgwDRniQDZcprKrcXNSvRoFXezFpLbK6XrlC94b3vfGhRuhvTGgH+w3ATegFgoQ6/q6wl/LiiFXtEsJIKFPc922+DBqf6X6qlb43fGO2EohUsp2ZLH5o2S3XLEa7Xxw0kjnTRms+g7+8ds9BGljKNVPYWI+5rT3FhYg3aVQc9A0lx6Eioptlbbxg== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(7916004)(4636009)(346002)(39860400002)(396003)(376002)(136003)(36840700001)(46966006)(40470700004)(81166007)(26005)(44832011)(5660300002)(7416002)(2906002)(103116003)(15650500001)(8936002)(9686003)(82310400005)(40460700003)(33716001)(36860700001)(16526019)(426003)(336012)(186003)(86362001)(356005)(83380400001)(40480700001)(47076005)(82740400003)(54906003)(110136005)(41300700001)(8676002)(4326008)(478600001)(70586007)(70206006)(16576012)(316002)(71626007)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Aug 2022 13:45:08.5988 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dc47a3d4-3790-429b-45aa-08da8444873c X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT079.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR12MB2489 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,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 Update the documentation for the new features:=0A= 1. Slow Memory Bandwidth allocation.=0A= With this feature, the QOS enforcement policies can be applied=0A= to the external slow memory connected to the host. QOS enforcement=0A= is accomplished by assigning a Class Of Service (COS) to a processor=0A= and specifying allocations or limits for that COS for each resource=0A= to be allocated.=0A= =0A= 2. Bandwidth Monitoring Event Configuration (BMEC).=0A= The bandwidth monitoring events mbm_total_bytes and mbm_local_bytes=0A= are set to count all the total and local reads/writes respectively.=0A= With the introduction of slow memory, the two counters are not=0A= enough to count all the different types are memory events. With the=0A= feature BMEC, the users have the option to configure mbm_total_bytes=0A= and mbm_local_bytes to count the specific type of events.=0A= =0A= Also add configuration instructions with examples.=0A= =0A= Signed-off-by: Babu Moger =0A= Reviewed-by: Ingo Molnar =0A= ---=0A= Documentation/x86/resctrl.rst | 126 +++++++++++++++++++++++++++++++++++++= ++++=0A= 1 file changed, 126 insertions(+)=0A= =0A= diff --git a/Documentation/x86/resctrl.rst b/Documentation/x86/resctrl.rst= =0A= index 71a531061e4e..871d0f031ab5 100644=0A= --- a/Documentation/x86/resctrl.rst=0A= +++ b/Documentation/x86/resctrl.rst=0A= @@ -167,6 +167,12 @@ with the following files:=0A= bytes) at which a previously used LLC_occupancy=0A= counter can be considered for re-use.=0A= =0A= +"mon_configurable":=0A= + Provides the information if the events mbm_total and=0A= + mbm_local are configurable. See the configuration=0A= + details for "mbm_total_config" and "mbm_local_config"=0A= + for more information.=0A= +=0A= Finally, in the top level of the "info" directory there is a file=0A= named "last_cmd_status". This is reset with every "command" issued=0A= via the file system (making new directories or writing to any of the=0A= @@ -264,6 +270,32 @@ When monitoring is enabled all MON groups will also co= ntain:=0A= the sum for all tasks in the CTRL_MON group and all tasks in=0A= MON groups. Please see example section for more details on usage.=0A= =0A= +"mbm_total_config", "mbm_local_config":=0A= + This contains the current event configuration for the events=0A= + mbm_total_bytes and mbm_local_bytes, respectively, when the=0A= + Bandwidth Monitoring Event Configuration (BMEC) feature is support= ed.=0A= + These files are organized by L3 domains under the subdirectories= =0A= + "mon_L3_00" and "mon_L3_01". When BMEC is supported, the events=0A= + mbm_local_bytes and mbm_total_bytes are configurable.=0A= +=0A= + Following are the types of events supported:=0A= +=0A= + =3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= + Bits Description=0A= + =3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= + 6 Dirty Victims from the QOS domain to all types of memory= =0A= + 5 Reads to slow memory in the non-local NUMA domain=0A= + 4 Reads to slow memory in the local NUMA domain=0A= + 3 Non-temporal writes to non-local NUMA domain=0A= + 2 Non-temporal writes to local NUMA domain=0A= + 1 Reads to memory in the non-local NUMA domain=0A= + 0 Reads to memory in the local NUMA domain=0A= + =3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= +=0A= + By default, the mbm_total_bytes configuration is set to 0x7F to co= unt=0A= + all the event types and the mbm_local_bytes configuration is set t= o=0A= + 0x15 to count all the local memory events.=0A= +=0A= Resource allocation rules=0A= -------------------------=0A= =0A= @@ -464,6 +496,14 @@ Memory bandwidth domain is L3 cache.=0A= =0A= MB:=3Dbw_MBps0;=3Dbw_MBps1;...=0A= =0A= +Slow Memory bandwidth Allocation (when supported)=0A= +-------------------------------------------------=0A= +=0A= +Slow Memory b/w domain is L3 cache.=0A= +::=0A= +=0A= + SB:=3Dbandwidth0;=3Dbandwidth1;...=0A= +=0A= Reading/writing the schemata file=0A= ---------------------------------=0A= Reading the schemata file will show the state of all resources=0A= @@ -479,6 +519,44 @@ which you wish to change. E.g.=0A= L3DATA:0=3Dfffff;1=3Dfffff;2=3D3c0;3=3Dfffff=0A= L3CODE:0=3Dfffff;1=3Dfffff;2=3Dfffff;3=3Dfffff=0A= =0A= +Reading/writing the schemata file (on AMD systems)=0A= +--------------------------------------------------=0A= +Reading the schemata file will show the state of all resources=0A= +on all domains. When writing the memory bandwidth allocation you=0A= +only need to specify those values in an absolute number expressed=0A= +in 1/8 GB/s increments. To allocate bandwidth limit of 2GB, you=0A= +need to specify the value 16 (16 * 1/8 =3D 2). E.g.=0A= +::=0A= +=0A= + # cat schemata=0A= + MB:0=3D2048;1=3D2048;2=3D2048;3=3D2048=0A= + L3:0=3Dffff;1=3Dffff;2=3Dffff;3=3Dffff=0A= +=0A= + # echo "MB:1=3D16" > schemata=0A= + # cat schemata=0A= + MB:0=3D2048;1=3D 16;2=3D2048;3=3D2048=0A= + L3:0=3Dffff;1=3Dffff;2=3Dffff;3=3Dffff=0A= +=0A= +Reading/writing the schemata file (on AMD systems) with slow memory=0A= +-------------------------------------------------------------------=0A= +Reading the schemata file will show the state of all resources=0A= +on all domains. When writing the memory bandwidth allocation you=0A= +only need to specify those values in an absolute number expressed=0A= +in 1/8 GB/s increments. To allocate bandwidth limit of 8GB, you=0A= +need to specify the value 64 (64 * 1/8 =3D 8). E.g.=0A= +::=0A= +=0A= + # cat schemata=0A= + SB:0=3D2048;1=3D2048;2=3D2048;3=3D2048=0A= + MB:0=3D2048;1=3D2048;2=3D2048;3=3D2048=0A= + L3:0=3Dffff;1=3Dffff;2=3Dffff;3=3Dffff=0A= +=0A= + # echo "SB:1=3D64" > schemata=0A= + # cat schemata=0A= + SB:0=3D2048;1=3D 64;2=3D2048;3=3D2048=0A= + MB:0=3D2048;1=3D2048;2=3D2048;3=3D2048=0A= + L3:0=3Dffff;1=3Dffff;2=3Dffff;3=3Dffff=0A= +=0A= Cache Pseudo-Locking=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= CAT enables a user to specify the amount of cache space that an=0A= @@ -1210,6 +1288,54 @@ View the llc occupancy snapshot::=0A= # cat /sys/fs/resctrl/p1/mon_data/mon_L3_00/llc_occupancy=0A= 11234000=0A= =0A= +Example 5 (Configure and Monitor specific event types)=0A= +------------------------------------------------------=0A= +=0A= +A single socket system which has real time tasks running on cores 0-4=0A= +and non real time tasks on other CPUs. We want to monitor the memory=0A= +bandwidth allocation for specific events.=0A= +::=0A= +=0A= + # mount -t resctrl resctrl /sys/fs/resctrl=0A= + # cd /sys/fs/resctrl=0A= + # mkdir p1=0A= +=0A= +Move the CPUs 0-4 over to p1::=0A= +=0A= + # echo 0xf > p1/cpus=0A= +=0A= +View the current mbm_local_bytes::=0A= +=0A= + # cat /sys/fs/resctrl/p1/mon_data/mon_L3_00/mbm_local_bytes=0A= + 112501=0A= +=0A= +Change the mbm_local_bytes to count mon-temporal writes to both local=0A= +and non-local NUMA domain. Refer to event supported bitmap under=0A= +mbm_local_config::=0A= +=0A= + # echo 0xc > /sys/fs/resctrl/p1/mon_data/mon_L3_00/mbm_local_config=0A= +=0A= +View the updated mbm_local_bytes::=0A= +=0A= + # cat /sys/fs/resctrl/p1/mon_data/mon_L3_00/mbm_local_bytes=0A= + 12601=0A= +=0A= +Similar experiment on mbm_total_bytes. First view the current mbm_total_by= tes::=0A= +=0A= + # cat /sys/fs/resctrl/p1/mon_data/mon_L3_00/mbm_total_bytes=0A= + 1532501=0A= +=0A= +Change the mbm_total_bytes to count only reads to slow memory on both loca= l=0A= +and non-local NUMA domain. Refer to event supported bitmap under=0A= +mbm_total_config::=0A= +=0A= + # echo 0x30 > /sys/fs/resctrl/p1/mon_data/mon_L3_00/mbm_total_config=0A= +=0A= +View the updated mbm_total_bytes::=0A= +=0A= + # cat /sys/fs/resctrl/p1/mon_data/mon_L3_00/mbm_total_bytes=0A= + 104562=0A= +=0A= Intel RDT Errata=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= =0A= =0A=