selection of number of cpus