Depending on the configuration choices you make and version of the operating system you choose, you can have different levels of CPU control. All aspects of CPU control described in this chapter are dependent on the resource group property RG_SLM_TYPE being set to automated.
Table 9–1 provides a description of the different configuration scenarios available.
Table 9–1 CPU Control Scenarios
Description |
Instructions |
---|---|
SPARC: Resource group runs on the Solaris 9 OS Assign CPU shares to a resource group, providing a value for project.cpu-shares | |
Resource group runs in the global zone on the Solaris 10 OS Assign CPU shares to resource groups and zones, providing values for project.cpu-shares and zone.cpu-shares You can perform this procedure whether or not non-global zones are configured. | |
Resource group runs in a non-global zone by using the default processor set Assign CPU shares to resource groups and zones, providing values for project.cpu-shares and zone.cpu-shares Perform this procedure if you do not need to control the size of the processor set. |
How to Control CPU Usage in a Non-Global Zone With the Default Processor Set |
Resource group runs in a non-global zone with a dedicated processor set Assign CPU shares to resource groups, providing values for project.cpu-shares, zone.cpu-shares, and maximum number of processors in a dedicated processor set Set the minimum number of processor sets in a dedicated processor set. Perform this procedure if you want to control CPU shares and the size of a processor set. You can exercise this control only in a non-global zone, by using a dedicated processor set. |
How to Control CPU Usage in a Non-Global Zone With a Dedicated Processor Set |