Work out the number of cpus to use based on the request and the machine.
cpus: The number of cpus to use or a supported setting, “auto” or “all”.
The number of cpus to use.