Oracle® Solaris Cluster System Administration Guide

Exit Print View

Updated: October 2015
 
 

Introduction to CPU Control

Oracle Solaris Cluster software enables you to control the usage of CPU.

The CPU control facility builds on the functionality available in the Oracle Solaris OS. For information about zones, projects, resource pools, processor sets, and scheduling classes, see Introduction to Oracle Solaris Zones .

On the Oracle Solaris OS, you can do the following:

  • Assign CPU shares to resource groups

  • Assign processors to resource groups

You can also use the Oracle Solaris Cluster Manager GUI to view the configuration of a zone-cluster. For GUI log-in instructions, see How to Access Oracle Solaris Cluster Manager.

Choosing a Scenario

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 10–1 provides a description of the different configuration scenarios available.

Table 10-1  CPU Control Scenarios
Description
Instructions
Resource group runs in the global-cluster node.
Assign CPU shares to resource groups, providing values for project.cpu-shares and zone.cpu-shares.

Fair Share Scheduler

The first step in the procedures to assign CPU shares to resource groups is to set the scheduler for the system to be the fair share scheduler (FSS). By default, the scheduling class for the Oracle Solaris OS is timesharing schedule (TS). Set the scheduler to be FSS to have the shares configuration take effect.

You can create a dedicated processor set regardless of the scheduler class you choose.