From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=198.175.65.20 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796240831; b=JjpdhVCwlnyRWQqlzq1RB3SozTkyaIg3EzTvgFLt276tlJKcMPzivrWP2W5Q9tOinrSK YVwzXd+MEtdUV/bMu9sQGYGLR1QgTalMeED2Gp5sBV+jjDv2Mrl81vUTr2EAbbLlc24rh i4nZzNynz6RVPr4tpIEGqCWPH4y7Ik3Yq5m8yH/vlTozu0WJ/1LQneFs3jiQAAdm+VVKM uQwSYbrBGNH36DaB312iYi9cJkb+529kS1+V3POeBJVvFVPmjMa4usDVCgvLg4i5t5g0g DCRuYXU8FZ/lhHHHwX/CajwgZlAYAxUMin3TX+mqxuqmdh4heU7TUcs2JgZPWkU6l1g== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796240831; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Received: Received:Received:Received:Message-ID:Date:User-Agent:Subject:To:CC: References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-ClientProxiedBy:MIME-Version: X-MS-PublicTrafficType:X-MS-TrafficTypeDiagnostic: X-MS-Office365-Filtering-Correlation-Id:X-MS-Exchange-SenderADCheck: X-MS-Exchange-AntiSpam-Relay:X-Microsoft-Antispam: X-Microsoft-Antispam-Message-Info:X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-Exchange-RoutingPolicyChecked: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-MailboxType: X-MS-Exchange-CrossTenant-UserPrincipalName: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; bh=X1iTA6/4uFZqJZkO2sxT9gVHLbzLIIPHgwBTp7xYvGU=; b=lXwP1pCXmg5HF3n3C8OzHMc4b6hkSaghgLuFdzwsM2yxR/r9e0l2PswfOsJ6rl7R465D RyDZpu30XBGHirC6YmubBtXMu747tQm/sN4TOf3wBGAgBWHAxcBJJt1Hq5VkYWAYlskNn TJLEatuy7P27yR7+8VlFxhgnPdDPLGJRgUmxgv8J1hhc9fruugbhXOyOkhKrJtNF+3bIj 1wRDsoVllaBeYQGs4RdwAVXhTa3H3ieWhXLM9x1um4iog82rDXPYVTKYI++TTOQ+BMuw5 iNF0VelVL4sQnuGsVhiCG39TLJPm6qgZG/5GOays98W6WKPeMSiJ5GrW/QqOQsvq28A== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=XzerX9Rm; arc=pass header.oldest-pass=0 smtp.remote-ip=198.175.65.20 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A5655606A322 for ; Wed, 2 Dec 2026 19:47:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A5655606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=XzerX9Rm DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796240830; x=1827776830; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=X1iTA6/4uFZqJZkO2sxT9gVHLbzLIIPHgwBTp7xYvGU=; b=XzerX9RmjIjU9Mo9WnIJXaeRVXb7kDmNYOOmIfKeNeXg9vm2mcgiX9+t oqE1SaGEntrRj16AEQsMy4iikVniAdYLCs3E7UkqUy/28Rp+bth01D3zL FOsMiRas4nWQyXpXf6dWi1FKKfqjECyj5GSbODy6epaK9e+eDQ3RSh9C6 ksHSJ9BTSYkOEhRDSSusGrqq7oJLWRPJf383MzDDSMI40ejp7k651S+5c S5bscSEMwl42ONbikZzj3h1epKSPTIXi4WT6KpCWTMp1BkAX1YmswfBIJ Wlb47FA1TokNTvkvDZ5pGtO6kpSnjRds2ivIvaOBqmEw4HW5Ww4DuZtXX Q==; X-CSE-ConnectionGUID: 5IS9mfYdTuah09vzrGW7Xw== X-CSE-MsgGUID: fm+jYfWLSoqcUt7PiaViYw== X-IronPort-AV: E=McAfee;i="6800,10657,11984"; a="5219456" X-IronPort-AV: E=Sophos;i="6.27,247,1787036400"; d="scan'208";a="5219456" Received: from fmviesa012.fm.intel.com ([10.60.135.152]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2026 11:13:41 -0800 X-CSE-ConnectionGUID: R7y74q43RfKeiK1qeKEkBA== X-CSE-MsgGUID: ND57+261RymDZ1F91++/Dw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,247,1787036400"; d="scan'208";a="15243105" Received: from orsmsx903.amr.corp.intel.com ([10.22.229.25]) by fmviesa012.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2026 11:13:40 -0800 Received: from ORSMSX901.amr.corp.intel.com (10.22.229.23) by ORSMSX903.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Wed, 2 Dec 2026 11:13:39 -0800 Received: from ORSEDG903.ED.cps.intel.com (10.7.248.13) by ORSMSX901.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57 via Frontend Transport; Wed, 2 Dec 2026 11:13:39 -0800 Received: from PH8PR06CU001.outbound.protection.outlook.com (40.107.209.37) by edgegateway.intel.com (134.134.137.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Wed, 2 Dec 2026 11:13:39 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=n2oUh7l67+YTJq2DmKhf7cClC5BRIxUEcGpTomMY43qHJ+jbLNO7oEVh6lGd+JzDD/GXNwfxdSzsOm9tT/nwlE+Nivfp71TCDWlWl3NI3w+f+Zcl8eT5i87OFKQd8Ni/5ITzZGq4NK9SMBp+E9mC2G/w9UcbCcBUHCOu6sHSKXuxqpn9OasIXEAbz1i50xKR5b3Hb2nJErvgWDQnWD4BQnY4PhA+mZeLfgHq/Z8SxdRB/lRpU2Twpkgmj+8jxo2DjWb65fhDEEzawknR9DR+vvZO9J0L9hfSBwQNAdeLwDAkj5MQ3ZmX56MEGePBcL8Bjo0AL5hHXfnjN+4IZDLrDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=X1iTA6/4uFZqJZkO2sxT9gVHLbzLIIPHgwBTp7xYvGU=; b=UvnP4BxJ9L1xWMz1ciUgQFVjMcRa5KbftNoEPdIlMW4ZX/k/yiASUC8XHuBaRWDzKW4zOldoYreCsWTyr3pUQTp1B1+csMSqZgZ8+GFC5fKRWHI1Jgg1GMy1axxLo+l3G67382VvBP8sq8sCrJWsCKztgR/Zf/IxJBmMV/tvEzsbNdl1zb7TopAJ+2rts2LrWKUJL7bOGz2OBDA0a+oxSVG3CHgOFfQPqHF8JfnmRKdTuAOKoiuW2lBy4XKlqle5g8QwZDqnh45oZVVJHxSzKFnyTIod281SciogOggMAtv4NpnD9GKWr7HEWJwXaevdznivOfKegGe9MX2uBarkXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from SJ2PR11MB8370.namprd11.prod.outlook.com (2603:10b6:a03:540::20) by PH3PPFE26A71A1E.namprd11.prod.outlook.com (2603:10b6:518:1::d58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.13; Wed, 2 Dec 2026 19:13:30 +0000 Received: from SJ2PR11MB8370.namprd11.prod.outlook.com ([fe80::b6cf:ce77:3cdf:7cc]) by SJ2PR11MB8370.namprd11.prod.outlook.com ([fe80::b6cf:ce77:3cdf:7cc%7]) with mapi id 15.21.0688.009; Wed, 2 Dec 2026 19:13:28 +0000 Message-ID: <691041de-3936-46cd-ab1b-7754e8a80328@intel.com> Date: Wed, 2 Dec 2026 11:13:25 -0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v10 11/12] x86/resctrl: Add the ERDT CMT scale To: Chen Yu CC: Chen Yu , , , , , , , , , , , References: <051539a40e662d6cf0a9f0fd35204f23571137da.1793864720.git.yu.c.chen@intel.com> Content-Language: en-US From: Reinette Chatre In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MW4PR04CA0218.namprd04.prod.outlook.com (2603:10b6:303:87::13) To SJ2PR11MB8370.namprd11.prod.outlook.com (2603:10b6:a03:540::20) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR11MB8370:EE_|PH3PPFE26A71A1E:EE_ X-MS-Office365-Filtering-Correlation-Id: c1f16443-7b39-44a7-6098-08df50a85870 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|23010399003|1800799024|366016|4143699003|11063799006|6133799003|261009223027099003|22082099003|18002099003|56012099006|261026121527099003|261026140227099003|10067099003|261021121427099003|261102123227099003|261022105027099003|261028144727099003; X-Microsoft-Antispam-Message-Info: TxGi5R0PkJpm0xYC7Ec+VkLWU+lQxx8ozyK86oY8LNl2F9EYLeSTlUuX0ZsbTW/xaMdFHNo/PViHigqkHYF0Kf/O2Tjv3hXLcSw2vBXxrz7CYpkTa59FazPJD97aLogD2ANXPcQH+XTOiLnOWL8q39BqObPDVJsYcOJ3CSWK8AJO6JKmH9FJ3XEyWskEBWXGYWH6xzQGNv2+Bm5T3e/wpZL6cSW/7X5viZ1xmE1virAK3PVbj8o4UHCBQGrrGSYcHM/7tJPYyxcbr4wfAxNwTfrebIaSULOkCru7zHsKk/Bjt4A55k+DQBG5B4D3auQqHyBBUaFl8Ax8DAOUA/fsUTHItt+CNnFOIZrguR7Yzjoe0T2EofxG6P2REbjHcz9tEv6PpEQvrTZSuBBNnqiAwadwrBgGq1OpHu0KAhIFxPVdtEmKedtMeTbC3C8Bz1N8LWt9P4fO3EcVmlwhm4iRTKI/31hyxA9eHZ2CFv+gMaKN9A7P/z+MsUw/IDqIqJ2qQeO4Tfw7suRHMkL8hEA/YBRkapUlS06WlKG+8p3/cufaMHyk78Wdc7Bd9c3UQSnraPVQs0Fj/ohi5V9+xaxdJ9zBVKz7ZxlxVr4ZCR70R7XO/cCumyvQfwcYrbRnCm5QEhTAJ9YarbE9GSnOD3WhHBO4H/i7sE8rKPE7tDw0RdA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ2PR11MB8370.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(376014)(23010399003)(1800799024)(366016)(4143699003)(11063799006)(6133799003)(261009223027099003)(22082099003)(18002099003)(56012099006)(261026121527099003)(261026140227099003)(10067099003)(261021121427099003)(261102123227099003)(261022105027099003)(261028144727099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dFlYMWhyUC9YOCtVZTZGYi9xdWxYSXpjTDIxVkt0ajhMVVdxTDRIampuOG9m?= =?utf-8?B?emQ5THVwMFJsQWpybDVpbG9oWmc0NXJuWlFEUWJXTVR0Sm5OY2RDMXd6Tm15?= =?utf-8?B?UE82cGZFMUhlYWppNFgza2xtSWpYZnBWUk9DRTNwTHZRd2RWM0ZOcjBWUEJv?= =?utf-8?B?QzYxUXlYUlQ4bnRqaXlWYzl4YXNYQ3hyRDlkeWlYWVdZd2dSelJvbFVEbEpL?= =?utf-8?B?cTlLMHErMDErcFRzSWQrdmRlSzNiWVFNMzJBWVdQS2UxcklXR2tyMWYvT0t5?= =?utf-8?B?WnBRejQvS2RHMXFwaEJtR0FoaEFUNVFDTEQxU2h4T1R6dEFPa1ZrR2lSeUlI?= =?utf-8?B?Q0JDS3ZwdHBwb2llSlpQUnc3UXVYc1pwbVpOWmhBaE5ZbmhZNm0ySTVUak5y?= =?utf-8?B?ZzlEMWdJcmJ5WHhIb3F1Y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XNMY0xI?= =?utf-8?B?OGJrcUVZVmV6S2JEbmFBZzdNZGErU2hUY0ZUS09EaDRqWjZGcGxFODRlc1B6?= =?utf-8?B?cUJOTFhxNndWSmo2YVF0YklZYktuTG8xazAzRHF4VVh0dWVjSUQ5S0EraStB?= =?utf-8?Q?DCExJtq5eTvZf928=3D?= X-Exchange-RoutingPolicyChecked: l/ibJCMLZo7TGUlg7046oeFlUGXymwXFrFjKJFbKzyXCpR8t9YbGXFmaSsUgf1NouC5N8rsgqVb08hZZi3QyPVccWvGMYcz7317Pxb85z/JZaXme9u5zsKmARCgFAyswm3Whf5IYvjWkgGTDWxpCt134+n2bWekYBCmV1CMvNj/4jIfvmL0mQgTirrUpSIh9TsP8U6Cq7IkJTLVjKDCyf5wJ48Y6kq5190f8kT+YgW1BPBdBDeZT2k0a28BE4ed5zDGTcq+XcNMBXeeUiMMc787qrmxHb+kelW/En4RnatZ/TeujGkYcqpAZ8kOuiRlKPuUSOp8ESKlEOcqHJnV/Wg== X-MS-Exchange-CrossTenant-Network-Message-Id: c1f16443-7b39-44a7-6098-08df50a85870 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR11MB8370.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2026 19:13:28.3140 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: beslbMXVbTB+H2ADUlV4S0WiaMzbYjTFRWd/wV03bstYZl5C8z/UC/+pB//9dclnasBVH0C9hUTHLRjvkHpqrExn3KbKej5sYDNSQyyO9fo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH3PPFE26A71A1E X-OriginatorOrg: intel.com Hi Chenyu, On 11/29/26 3:56 AM, Chen Yu wrote: > On Wed, Nov 25, 2026 at 11:12:42AM -0800, Reinette Chatre wrote: >> On 11/5/26 2:09 AM, Chen Yu wrote: >>> The limbo handler polls the LLC occupancy of limbo RMIDs and makes an RMID >>> available for reuse once its occupancy drops below >>> resctrl_rmid_realloc_threshold. User space sets this threshold in bytes by >>> writing to the "max_threshold_occupancy" file. The occupancy counter only has >>> the granularity of its scale, the number of bytes one counter unit represents, >>> so resctrl_arch_round_mon_val() rounds the written byte value down to a multiple >>> of that scale before it is stored in resctrl_rmid_realloc_threshold. >>> >>> resctrl_arch_round_mon_val() uses the CPUID-provided scale. LLC occupancy read >>> via ERDT is instead scaled by the CMRC up_scale of each ERDT domain. >>> resctrl_rmid_realloc_threshold is a single global value, so one scale has to be >>> derived from the per-domain values. >>> >>> Add erdt_cmt_scale to hold the largest CMRC up_scale among all ERDT domains. Use >>> the largest because rounding is a floor: a larger scale yields a slightly lower >>> threshold, i.e. an RMID has to drop to a slightly lower occupancy before it is >> >> Regarding "a larger scale yields a slightly lower threshold". I do not think this >> is universally true. >> >> resctrl_arch_round_mon_val() computes threshold using >> threshold = (val / scale) * scale >> >> With an input of val=100 and a sample of scale values the threshold could vary: >> scale = 30 -> threshold = 90 >> scale = 40 -> threshold = 80 >> scale = 60 -> threshold = 60 >> scale = 100 -> threshold = 100 >> >> Above shows that it is not guaranteed that a larger scale automatically yields a >> lower threshold so perhaps there are some built-in assumptions in this implementation? >> > > You are right, previously I thought the larger the scale(denominator) is, the smaller > the final value would be - and that is not be the case according to your example. > >> If all domains actually have the same up_scale, then that could just be enforced >> directly instead of routed through a max that is not actually a maximum? >> >> If, instead, the maximum scale is a multiple of all the possible scale values, >> which is the only scenario under which the changelog statement is accurate, >> then that should be stated clearly? >> >> If, instead, as the changelog implies, scale values can be arbitrary, >> then using the max does not seem justified. >> > > There is no description in the spec saying whether each CMRC could have a > different up_scale value. Let me check with the silicon team whether each > domain should have the same up_scale in the CMRC table. If yes, let me change > the max() into a sanity check. If there is no answer on whether each domain > must have the same up_scale, can we use the first up_scale detected, just as > the current code does in the legacy MSR-based path, using the boot CPU's > boot_cpu_data.x86_cache_occ_scale and print a warning? Let's start with what you learn from the team on what software can expect the relationship between the different up_scale values to be. Reinette