CPU Performance

In this section we consider ways of improving the effectiveness of CPUs by taking advantage of the Solaris scheduling classes and by binding processes to CPUs.

Process Binding

Just as processes can be bound to processor sets, processes can be bound to a single CPU with the pbind (1M) command. Once bound, a process can only run on that CPU, even if the CPU is busy and others are idle.

Binding is not usually recommended for optimal performance for the following reasons:

  • Binding is rigid and any given binding policy may not always be equally effective.

  • If more than one process is bound to each CPU, there may be periods when CPU load is not balanced.

Solaris has a sophisticated scheduler that is almost always able to do an excellent ...

Get Configuring and Tuning Databases on the Solaris™ Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.