Load-Time Parameters
The load-time parameters can only be set at initial STREAMS load time.
The strload command reads the parameter names and values
from the /etc/pse_tune.conf file. This file can be modified
by privileged users only. It contains parameter names and values in
the following format:
# Streams Tunable Parameters
#
# This file contains Streams tunable parameter values.
# The initial values are the same as the default values.
# To change any parameter, modify the parameter value and
# the next system reboot will make it effective.
# To change the run-time parameter, use the no command any time.
strmsgsz 0 # run-time parameter
strctlsz 1024 # run-time parameter
nstrpush 8 # load-time parameter
psetimers 20 # run-time parameter
psebufcalls 20 # run-time parameter
strturncnt 15 # run-time parameter
strthresh 85 # run-time parameter, 85% of "thewall"
lowthresh 90 # tun-time parameter, 90% of "thewall"
medthresh 95 # run-time parameter, 95% of "thewall"
pseintrstack 12288 # load-time parameter, (3 * 4096)
The initial values are the same as the default values. If the user changes any values, they are effective on the next system reboot. If this file is not present in the system or if it is empty, the strload command will not fail, and all the parameters are set to their default values.
The load-time parameters are as follows:
Item | Description |
---|---|
nstrpush | Indicates the maximum number of modules that can be pushed onto a single STREAM. The default value is 8. |
psetintrstack | Indicates the maximum number of the interrupt stack size allowed by STREAMS while running in the offlevel. Sometimes, when a process, running other than INTBASE level, enters a STREAM, it encounters stack overflow problems because of not enough interrupt stack size. Tuning this parameter properly reduces the chances of stack overflow problems. The default value is 0x3000 (decimal 12288). |