Re: [patch V4 24/41] x86/cpu: Provide cpu_init/parse_topology()
From: K Prateek Nayak
Date: Mon Sep 18 2023 - 23:55:42 EST
Hello Arjan, Peter,
On 9/15/2023 7:34 PM, Arjan van de Ven wrote:
> On 9/15/2023 4:54 AM, Peter Zijlstra wrote:
>> On Tue, Aug 29, 2023 at 08:46:14AM +0530, K Prateek Nayak wrote:
>>> Hello Arjan,
>>>
>>> On 8/28/2023 8:04 PM, Arjan van de Ven wrote:
>>>> On 8/28/2023 7:28 AM, K Prateek Nayak wrote:
>>>>>> - Are these really different between AMD and Intel or is this some
>>>>>> naming convention issue which needs to be resolved?
>>>>> They do have different characteristics since, on Sapphire
>>>>> Rapids, the LLC is at a socket boundary despite having multiple
>>>>> tiles. (Please correct me if I'm wrong, I'm going off of
>>>>> llc_id shared in this report by Qiuxu Zhuo -
>>>>> https://lore.kernel.org/all/20230809161219.83084-1-qiuxu.zhuo@xxxxxxxxx/)
>>>>>
>>>>
>>>> Sapphire reports itself as 1 tile though (since logically it is) as far as I know
>>>>
>>>
>>> I believe there are some variants with multiple tiles, at least the
>>> following press-release suggests that:
>>>
>>> https://www.intc.com/news-events/press-releases/detail/1598/intel-launches-4th-gen-xeon-scalable-processors-max-series
>>>
>>> specifically "... combining up to four Intel 7-built tiles on a single
>>> package, connected using Intel EMIB ...". Perhaps the one from Qiuxu
>>> Zhuo's report does not contain multiple tiles.
>>
>> I think what Arjan was saying that despite them being build using
>> multipe physical tiles, they describe themselves, in the topology leave,
>> as being a single tile.
>
> and more than that -- from a software perspective, they truely act as if they are 1 tile
If possible, can you please elaborate on the "software perspective". Say
CPUID leaf 0x1f reports multiple tile, would the data access latency or
cache to cache latency see a noticeable difference?
I would like to understand what the characteristics of a "Tile" are and
whether they are similar to AMD's CCX instances discoverable by AMD's
extended CPUID leaf 0x80000026. That way, in future, when the generic
topology is used by other subsystems, the data from "TOPO_TILE_DOMAIN"
can be used generically for both Intel and AMD.
> (you can do SNC to break that sort of but that's not default and has its own list of downsides)
>
Thank you for giving the basic clarification of the Tile instances.
--
Thanks and Regards,
Prateek