Re: Revisiting XFD-based AMX and heterogenous systems

From: Andy Lutomirski
Date: Mon Nov 15 2021 - 19:22:34 EST




On Mon, Nov 15, 2021, at 12:11 PM, Arjan van de Ven wrote:
> On 11/15/2021 11:59 AM, Andy Lutomirski wrote:
>> [resend -- first try was HTML. oops.]
>>
>> Hi all-
>>
>> I just learned that current Alder Lake review samples are actually heterogenous, at least physically. The performance cores have AVX-512 and the efficiency cores don't have AVX-512. Since no OS supports actual runtime ISA heterogeneity, this feature seems to be hidden in that one must choose, per boot, whether one wants AVX-512 or efficiency cores, but the CPU is physically heterogenous.
>>
>> All the earlier discussions about Linux AMX architecture happened under the assumption that xfeature-heterogenous systems would never happen, and my grudging acceptance of the XFD model was predicated on that. But now we have obviously heterogenous hardware that is apparently actually shipping at least to reviewers, and I think we should revisit this before we merge AMX support.
>>
>
> Alderlake is not heterogenous.
> This is not just an "OS can deal with it" thing... it's throughout
> everything from low lower power delivery through bios through ...

Sure, but I bet the demand will be there. The desktop gamer types will flip off E cores and flip on AVX512 and call it a day. But the ones who want battery life will be annoyed, and I bet someone at Intel is contemplating how to switch it at runtime.