Skip to main content

Semsperset

Set number of semaphores allocated per set.

Synopsis

[Debug]    semsperset=n

n is an integer. There is no maximum value. The default value is 0.

Description

Semsperset is the number of semaphores InterSystems IRIS® data platform should allocate per semaphore set. When this parameter is set to 0 (the default), InterSystems IRIS allocates the maximum number of semaphores to each set, which results in the minimum number of semaphore sets.

A larger value for semsperset results in fewer semaphore sets of a larger size. There may be a performance benefit to having fewer semaphores per set, particularly on Linux systems (for example, by setting semsperset equal to 250), although this has not been thoroughly tested.

For more information, see Semaphores in InterSystems Products.

Changing This Parameter

You can change semsperset by editing the CPF in a text editor (as described in the Editing the Active CPF section of the “Introduction to the Configuration Parameter File” chapter in this book). If the CPF does not already contain the [Debug] section, you must add it yourself. For example:

[ConfigFile]
...

[Debug]         // Add the debug section if necesary,
semsperset=250  // then specify a value for semsperset.

[Databases]
...
Feedback