Trying to figure out how to automatically detect if a Ryzen CPU have more than one CCD so if any one with such a model which includes all the 1xxxx Ryzens, 26xx and 27xx, 3100, 35xx, 36xx, 37xx, 38xx and 39xx, 59xx and 79xx models.
Hopefully that the needed info should be under /sys/devices/system/cpu/cpuX/topology/ so running say:
should provide a nice list of stuff to go over and hopefully find something useful to detect on.
Hopefully that the needed info should be under /sys/devices/system/cpu/cpuX/topology/ so running say:
Code:
for f in /sys/devices/system/cpu/cpu*/topology/* ; do echo $f; cat $f; done
Comment