From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 78D1F330320 for ; Wed, 25 Feb 2026 22:30:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.92.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772058638; cv=none; b=eVvSSDMWMHsAa3PJ4WuuU9i3nwoI5Fhp/ExDGX0qcILZwITZRayfJYCOig2ojR7A1aMuagPDSjfe6120OzU/V2T45IiRmNlDagvFSFQXxaKVg0ITpEEehZcj3Iy5oddU0x4hJqD/lUkboLohW0028Rnaoi8BDopvfPcmxHl8rZM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772058638; c=relaxed/simple; bh=R9MJNVa8UFYxYdyWormP8//YU/0S7wPqbYRVw0S6ph4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=j1fGYV06cn2dGltmOqHFl4vqSMMsAAcyJP62Qy+Cz/upiY9REjQXzQBV42/ANN+DsAac093X6is0DC5CU3w+bQC5bRv4FaiRI3Gyo9icBGyvq6qcKSg+GYlbk5hsr3YrMIRKHKcQESprorhN2vcF6Ce9cUM5G6uPuYFALydoUog= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=TBJSx9zC; arc=none smtp.client-ip=90.155.92.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="TBJSx9zC" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=iPyFt+2zBiF0WwN0HwtDRtEL121hfNLvL+gYd/wmKL8=; b=TBJSx9zC3IwYLv+78Qf4yAhWNM 6h7lpK1tiDCk66eRM8fWV5S6mO0pFnV57uwyBohTWF74wd7npfebMNA3t7UlBY5H73HLX29tcf0cm h9CYdDP1A+hBVXaeAsSCP4Jyb0Nlc6iKjHwRctiMqziEIQCLL6gVikWsVebsS8jzubmaomhH2Hq+J ysU+DqdoqdzH4goB4QiCKiKSqIGx85f0Ga73nxyVUxPfcGs3Ob/2DmulIkZsx8a0JVGZatMJzP9Pp cbrz4tdHDhyJ2bubQjuJ00upOu8WAd//KlVsPG7tWmMIuC60imR5NvTrdWKwUmwq1w+5PerK3v8xt +vTNrbEA==; Received: from 77-249-17-252.cable.dynamic.v4.ziggo.nl ([77.249.17.252] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1vvNOj-00000009vnX-2cfV; Wed, 25 Feb 2026 22:30:25 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 5BD2D30095A; Wed, 25 Feb 2026 23:30:24 +0100 (CET) Date: Wed, 25 Feb 2026 23:30:24 +0100 From: Peter Zijlstra To: Tim Chen Cc: "Chen, Yu C" , Kyle Meyer , bp@alien8.de, dave.hansen@linux.intel.com, mingo@redhat.com, tglx@kernel.org, vinicius.gomes@intel.com, brgerst@gmail.com, hpa@zytor.com, kprateek.nayak@amd.com, linux-kernel@vger.kernel.org, patryk.wlazlyn@linux.intel.com, rafael.j.wysocki@intel.com, russ.anderson@hpe.com, x86@kernel.org, zhao1.liu@intel.com Subject: Re: [PATCH v2] sched/topology: Check average distances to remote packages Message-ID: <20260225223024.GA606826@noisy.programming.kicks-ass.net> References: <20260223170314.GU1395266@noisy.programming.kicks-ass.net> <20260225123052.GN3016024@noisy.programming.kicks-ass.net> <20260225154409.GD1282955@noisy.programming.kicks-ass.net> <20260225163246.GX1395416@noisy.programming.kicks-ass.net> <62f610811c1b1cba7e282b6e855baba11f7f49a6.camel@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <62f610811c1b1cba7e282b6e855baba11f7f49a6.camel@linux.intel.com> On Wed, Feb 25, 2026 at 01:37:11PM -0800, Tim Chen wrote: > On Wed, 2026-02-25 at 17:32 +0100, Peter Zijlstra wrote: > > On Wed, Feb 25, 2026 at 04:44:09PM +0100, Peter Zijlstra wrote: > > > > > Yes, so this assumes that all u sized clusters on the trace are similar > > > and 'sane' without verification. > > > > That gave me an idea; how's this then? > > Sorry I was sick for a few days. Just catching up on this > thread here. I think your patch takes care of both GNR SNC-3  > with 3 compute dies (with non-symmetric remote > distances) and generic SNC-2 with 2 dies (symmetric > distances) very well. > > Minor suggestion below for the patch. > > Will ask the original GNR teams with the problem to try > it out. Since HPE can obviously have a sane SLIT table; why can't we simply claim the SLIT table they had is broken and needs fixing? Also, is there really no enumeration of the SNC mode available; must we really divinate?