SunSolve Internal

Infodoc ID   Synopsis   Date
6329   tuning semaphore parameters in 2.x   23 Feb 1996

Description Top

The SunOS 2.x kernel modules are automatically loaded when needed.
This makes rebuilding the kernel unnecessary. There are parameters
for the kernel and kernel modules that can be tuned.  However, it
isn't necessary to change these parameters, exceptunder special
circumstances.

The module variables associated with semaphores are:

Parameter	 Default	Description
---------	 -------	-----------

seminfo_semmap	  10	  Number of entries in the semaphore map

seminfo_semmni	  10	  Number of semaphore identifiers

seminfo_semmns	  60	  Number of semaphores in the system

seminfo_semmnu	  30	  Number of undo structures in the system

seminfo_semmsl	  25	  Maximum number of semaphores, per id

seminfo_semopm	  10	  Maximum number of operations, per
			  semaphore call

seminfo_semume	  10	  Maximum number of undo entries, per 
			  process

seminfo_semvmx	  32767	  Semaphore maximum value

seminfo_semaem	  16384	  Adjust on exit maximum value


1. Enter a line in the /etc/system file, using the following 
    syntax:

set semsys:seminfo_variable=value

For example, to increase seminfo_semmap from the default of 10 to 20,
add the following line to the /etc/system file:

set semsys:seminfo_semmap=20

2. Reboot the system

   The kernel parses the /etc/system file during autoconfiguration
   and overrides the default value for the parameters specified
   in this file.

SOLUTION SUMMARY:
Bug ID n/a
Patch ID n/a
Product Area Kernel
Product IPC
OS Solaris 2.X
Release n/a
Hardware All

Top

SunWeb Home SunWeb Search SunSolve Home Simple Search

Sun Proprietary/Confidential: Internal Use Only
Feedback to SunSolve Team