possible_cpus - Limit the number of CPUs Linux can use

7.1 LPAR mode z/VM guest KVM guest

Use the possible_cpus= parameter to set an absolute limit for the number of CPUs that can be online at any one time. If the real or virtual hardware provides more than the specified maximum, the surplus number of CPUs must be offline. Alternatively, you can use the common code kernel parameter nr_cpus.

Use the maxcpus= parameter to limit the number of CPUs that are online initially after IPL (see maxcpus).

Format

Figure 1. possible_cpus syntax

1 possible_cpus=<number>

Examples

      possible_cpus=8