Fix number of cpus used in process