Consultor Eletrônico



Kbase P114334: How to tune semaphore and/or shared-memory kernel settings on Solaris 10 ?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

GOAL:

How to find and change Solaris 10 kernel parameters ?

GOAL:

How to tune semaphore kernel settings on Solaris 10 ?

GOAL:

How to tune shared memory kernel settings on Solaris 10 ?

GOAL:

How to tune semaphore kernel settings on Solaris 10 ?

FACT(s) (Environment):

Solaris SPARC 10

FIX:

In Solaris versions before Solaris 10, kernel parameters were static, their value had to be specified in the /etc/system file, and a change to such parameters required a reboot of the machine for them to become active.
With Solaris 10, this has changed radically.
Many shared-memory and semaphore-related parameters have actually become obsolete (and their use in the /etc/system file is discouraged), while other parameters have stayed, but with increased default values; for example, the default value for shminfo_shmmax has been increased from 8Mb (insufficient for most applications) to 1/4 of the physical RAM installed on the machine (which should be high enough for most if not all systems). In addition to that, kernel parameters can now be tuned dynamically.
The fact that the kernel parameters can be tuned dynamically, together with the fact that those parameters have higher default values than with Solaris 9 and earlier, means that you don't have to tune kernel parameters unless your configuration has very special needs.
Should you receive messages suggesting that one of your kernel parameters is too low, it must increased by means of the Solaris system administration utilities; this operation won't require a system boot.