How to Configure the Primary Domain With CPU Whole Cores

If the primary domain is configured to use CPU threads, you can change its configuration to use CPU whole cores.

  1. (Optional) Place the primary domain in delayed reconfiguration mode.

    You need to initiate a delayed reconfiguration only if you want to modify the max-cores property.

    primary# ldm start-reconf primary
  2. Set the number of CPU whole cores for the primary domain.
    primary# ldm set-core number-of-CPU-cores primary
  3. (Optional) Set the max-cores property for the primary domain.
    primary# ldm set-domain max-cores=max-number-of-CPU-cores primary
  4. (Optional) Reboot the primary domain.

    Use the appropriate procedure to reboot the primary domain depending on the system configuration. See Rebooting the Root Domain With PCIe Endpoints Configured.

    You need to reboot the domain only if you want to modify the max-cores property.

Example 15-5 Configuring the Control Domain With Two CPU Whole Cores

This example configures CPU whole cores on the primary domain. The first command initiates delayed reconfiguration mode on the primary domain. The second command configures the primary domain with two CPU whole cores. The third command sets the max-cores property to 2, and the fourth command reboots the primary domain.

primary# ldm start-reconf primary
primary# ldm set-core 2 primary
primary# ldm set-domain max-cores=2 primary
primary# shutdown -i 5

The optional Steps 1 and 4 are required only if you want to modify the max-cores property.