In SMP config get the number of cores from sysconf.