SDMOPT parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Undo revision 103118 by DCameron (talk))
 
(3 intermediate revisions by the same user not shown)
Line 15: Line 15:


==Description==
==Description==
This User 0 system parameter is a bitmask parameter that affects sdaemon
This User 0 system parameter is a bitmask parameter that affects <var>[[Sdaemons|sdaemon]]</var>
processing.
processing.
The meaning of the bits are:
The meaning of the bits are:
Line 21: Line 21:
<dt>X'01'
<dt>X'01'
<dd>Server tables are not to be cleared at user login, logout, or
<dd>Server tables are not to be cleared at user login, logout, or
UTABLE commands.
<var>[[UTABLE_command|UTABLE]]</var> commands.
While clearing of user tables is &ldquo;nice&rdquo; in some sense,
While clearing of user tables is &ldquo;nice&rdquo; in some sense,
since daemons tend to do a lot of logging in and out and a lot of UTABLE
since daemons tend to do a lot of logging in and out and a lot of UTABLE
Line 29: Line 29:
<dt>X'02'
<dt>X'02'
<dd>Do optimized file and group opens and closes when entering or exiting a subsystem.
<dd>Do optimized file and group opens and closes when entering or exiting a subsystem.
Since daemons that use APSY subsystems have a high ratio of subsystem exit/entry
Since daemons that use <var>[[Application_Subsystem_development|APSY]]</var> subsystems have a high ratio of subsystem exit/entry
to subsystem processing, reducing this overhead can be a great CPU savings.
to subsystem processing, reducing this overhead can be a great CPU saving.
</dl>
</dl>
The default for SDMOPT of X'03' means that all the sdaemon optimizations
The default for SDMOPT of X'03' means that all the sdaemon optimizations

Latest revision as of 10:02, 25 May 2017

SDaemon options

Summary

Default value
X'03'
Parameter type
System
Where set
User 0 CCAIN parameters, or reset by a System Manager
Related products
All
Introduced
Sirius Mods 6.7

Description

This User 0 system parameter is a bitmask parameter that affects sdaemon processing. The meaning of the bits are:

X'01'
Server tables are not to be cleared at user login, logout, or UTABLE commands. While clearing of user tables is “nice” in some sense, since daemons tend to do a lot of logging in and out and a lot of UTABLE commands, this niceness can have a high CPU cost. Other than being “nice” there is little benefit to clearing all the server tables at these points.
X'02'
Do optimized file and group opens and closes when entering or exiting a subsystem. Since daemons that use APSY subsystems have a high ratio of subsystem exit/entry to subsystem processing, reducing this overhead can be a great CPU saving.

The default for SDMOPT of X'03' means that all the sdaemon optimizations are enabled. There should be no reason to disable any optimizations unless one is suspected of causing a bug.