set number of workers to number of CPUs