HP-UX 11i December 2003 Release Notes
Programming
Miscellaneous
Chapter 15
296
• RPC_DISABLE_PRIVATE: This variable disables the “private” setting of a socket.
Specifically, 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 the pool. However, this is inefficient for those applications that
don’t require this degree of concurrency.
To remedy this situation, 1 or 2 sockets are tagged as “private,” along with the usual
shared sockets in the socket pool. 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: With this variable (provided in the DCE RPC runtime),
the idle association termination time can be tuned to be a value less than the
architecture-provided value of 5 minutes (namely, any value ranging from 1 to 300
seconds). Please note that this variable is applicable only for connection-oriented
protocol.
• SCTE_UNCACHE_TIME: This variable is applicable for datagram only and is used to
reduce 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, since CMA threads are being obsoleted, it is recommended that all applications
using CMA threads start migrating to kernel threads and use libdcekt. (See “Kernel
Threads vs. CMA Threads” on page 203 for additional information.)
Compatibility Issues
All applications using the 64-bit library libdcekt may need to include
/usr/include/dce/dce64.h.
DCE server products are not supported on workstations (Series 700 machines).
Documentation
The site http://devresource.hp.com/STK contains 64-bit porting concepts and 64-bit
compiler and linker changes needed to port the application to 64-bit.
Extensions to pstat()
This extension provides new functionality to the pstat() system call, enabling various
system management and measurement tools to eliminate their dependency on the
/dev/kmem pseudo-driver.
Today, many system management and measurement tools read kernel data structures
through unsupported interfaces, such as the /dev/kmem pseudo-driver, to get
information about open files, resource usage, process activity, and so on. Because kernel