HP-UX 11i June 2001 Release Notes

Programming
HP DCE/9000 (new at 11i original release)
Chapter 13250
RPC_SUPPORTED_PROTSEQS: This variable helps in restricting the
protocol sequence. For example, setting this variable to
ncacn_ip_tcp will enable only connection-oriented communication.
RPC_DISABLE_PRIVATE: The datagram protocol opens up one socket
for each network address family supported on a host. Once opened,
these sockets are kept in a pool for use whenever the process needs to
make another RPC over that particular address family. If concurrent
calls are made over the same address family, the calls share a single
socket from thepool. However, this is inefficient for those applications
that don’t require this degree of concurrency.
To remedy this situation, along with the usual shared sockets in the
socket pool, there are 1 or 2 sockets that are tagged as “private”. You
can disable this setting by exporting RPC_DISABLE_PRIVATE=1. The
default behavior is for private socket to be enabled.
RPC_DISABLE_LOCAL: For a RPC server and client on same host,
UNIX domain sockets are used by default to reduce the overhead.
This can be disabled by exporting RPC_DISABLE_LOCAL=1.
HPDCE_CLIENT_DISC_TIME: An environment variable provided in the
DCE RPC runtime with which the idle association termination time
can be tuned to be a lesser value than the architecture-provided value
of 5 minutes. With this environment variable, the idle association
termination can be tuned to any value in the range of 1 to 300
seconds. Note: This variable is applicable only for connection-oriented
protocol.
SCTE_UNCACHE_TIME : This variable is applicable for datagram only
and is used toreduce the server connection table (SCT) elements to be
uncached sooner than the default value. The default time is 300
seconds. This would allow more SCT entries to be added to the SCT
without resulting in cache exhausting heap.
DMS_FORCEON: DCE Measurement Service (DMS) provides
performance instrumentation for DCE servers and for the server side
of applications that use DCE RPCs. When DMS is enabled, it collects
data about RPCs that execute in the target process. The collected
data is actually displayed using HP GlancePlus. By default, DMS is
disabled. DMS can be enabled exporting DMS_FORCEON=1.
Also, CMA threads are being obsoleted. It is recommended that all
applications using CMA threads should start migrating to kernel
threads and use libdcekt. See “Kernel Threads vs. CMA Threads (new
at 11i original release)” on page 162 for additional information.