There is a performance penalty if an application runs on cores that are on e.g. two distant CCDs I reckon they also call them chiplets.
I am looking at AMD Milan 7543 32-core model. I reckon it comprises of 4x 8-core CCDs.
In the BIOS you can make all on a single NUMA0 or 2 or 4 NUMA...