Kbase P81715: Is there a direct correlation between wait on semaphore and the value of-semsets?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  26/10/2004 |
|
Status: Unverified
GOAL:
Is there a direct correlation between "wait on semaphore" and the value of -semsets?
FIX:
No, there isn't.
The number of semaphore operations has nothing to do with how the seamphores are allocated.
On UNIX and Linux, semaphores are organized into sets (arrays).
Each database connection requires one semaphore, and we use a few others for login processing.
The -semsets parameter controls the number of semaphore arrays we use.
The default is 1. On some systems, using multiple smaller semaphore sets is more efficient than using one big semaphore set.
That speeds up the semaphore operations but does not have any effect on the number of operations or on what the semaphores are used for.