DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Tuning networking resources

Tuning STREAMS usage

For each data structure used, the important column is the fail column shown by netstat -m. If this is non-zero for the number of stream heads configured (shown as the value in the row labeled streams under the config column), increase the value of NSTREAM using configure(ADM) as described in ``Using configure to change kernel resources'' and ``STREAMS''.

The amount of memory currently in use by STREAMS, and the maximum amount used since the system was started are shown at the bottom of the output from netstat -m.

The figure for the total memory configured for use by STREAMS represents an upper limit to the amount of memory that can be dynamically allocated for use.

If there are several non-zero entries in the fail column and the amount of memory in use by STREAMS is almost the same as the total amount of memory configured for STREAMS, increase the value of NSTRPAGES. This parameter controls the number of 4KB pages of physical memory that can be dynamically allocated for use by STREAMS.


NOTE: In this release, memory used for STREAMS message headers, buffer headers, and buffers is dynamically allocated from memory. There is no need to tune the numbers of these resources individually.

The following table summarizes the commands that you can use to examine STREAMS usage:

Examining STREAMS performance

Command Field Description
netstat -m fail number of times a STREAMS resource was unavailable


Next topic: TCP/IP resources
Previous topic: Monitoring STREAMS performance

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003