Kbase P100233: How are the semaphore parameters adjusted on Compaq TRU64?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  20/01/2005 |
|
Status: Unverified
GOAL:
How are the semaphore parameters adjusted on Compaq TRU64?
GOAL:
What parameters can be adjusted on Compaq Tru64 that affect semaphores?
FIX:
This is a UNIX administration issue and Compaq should be contacted to determine which parameters should be adjusted and how. Compaq will also be able to determine which terms they use for semaphores and which of their parameters would relate to the Traditional terms used by Progress in the Installation and Configuration Guide for UNIX.
Progress lists the following parameters for Shared Memory and Semaphores in Table 6-6 in the Progress Installation and Configuration Guide for UNIX:
SHMMNI - Maximum number of shared memory (SHM) identifiers.
SHMSEG - Maximum number of SHM segments a single process can attach.
SHMALL - Maximum number of in-use SHM segments.
SHMMAX - Maximum SHM segment size.
SHMMNI - Number of semaphore (SEM) IDs; each represents an array of SEMs.
SEMMSL Maximum number of semaphores per SEM ID.
For guidelines on changing kernel subsystem attributes see the System Configuration and Tuning manual for Compaq Tru64.
The attribute settings can have complex interrelationships with one another, and may require careful manipulation of an entire set of attributes rather than only one. These changes should be made by an administrator acting on instructions from Compaq TRU64 support personnel. The majority of the kernel subsystems have sets of attributes whose values control different aspects of subsystem configuration. These attributes reside in /etc/sysconfigtab. You can examine the names, current settings, and if desirable the minimum, and maximum settings of attributes for a particular subsystem by using the "/sbin/sysconfig -q ipc" or "/sbin/sysconfig -Q ipc" command.
The dxkernel-tuner application, in the Common Desktop Environment (CDE), can also be run to get the same information.
Examples of output from running the sysconfig command:
Example of sysconfig -q ipc
/sbin/sysconfig -q ipc
ipc:
msg-max = 8192
msg-mnb = 16384
msg-mni = 64
msg-tql = 40
shm-max = 67108864
shm-min = 1
shm-mni = 2048
shm-seg = 256
sem-mni = 1024
sem-msl = 500
sem-opm = 10
sem-ume = 1000
sem-vmx = 32767
sem-aem = 16384
num-of-sems = 10000
max-kernel-ports = 93911
port-hash-max-num = 4695550
port-reserved-max-num = 93911
set-max-num = 24837
ssm-threshold = 8388608
ssm-enable-core-dump = 1
Example of sysconfig -Q ipc
/sbin/sysconfig -Q ipc
ipc:
msg-max - type=INT op=CQ min_val=0 max_val=2147483647
msg-mnb - type=INT op=CQ min_val=0 max_val=2147483647
msg-mni - type=INT op=CQ min_val=0 max_val=2147483647
msg-tql - type=INT op=CQ min_val=0 max_val=2147483647
shm-max - type=INT op=CQ min_val=0 max_val=2147483647
shm-min - type=INT op=CQ min_val=0 max_val=2147483647
shm-mni - type=INT op=CQ min_val=0 max_val=2147483647
shm-seg - type=INT op=CQ min_val=0 max_val=2147483647
sem-mni - type=INT op=CQ min_val=0 max_val=2147483647
sem-msl - type=INT op=CQ min_val=0 max_val=2147483647
sem-opm - &nb.sp; type=INT op=CQ min_val=0 max_val=2147483647
sem-ume - type=INT op=CQ min_val=0 max_val=2147483647
sem-vmx - type=INT op=CQ min_val=0 max_val=2147483647
sem-aem - type=INT op=CQ min_val=0 max_val=2147483647
num-of-sems - type=INT op=CQ min_val=0 max_val=2147483647
max-kernel-ports - type=INT op=CQ min_val=0 max_val=2147483647
port-hash-max-num - type=INT op=CQ min_val=0 max_val=2147483647
port-reserved-max-num - type=INT op=CQ min_val=0 max_val=2147483647
set-max-num - type=INT op=CQ min_val=0 max_val=2147483647
ssm-threshold - type=ULONG op=CRQ min_val=0 max_val=18446744073709551615
ssm-enable-core-dump - type=INT op=CRQ min_val=0 max_val=1.