Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP 9000 Networking: Advanced Server/9000 Administrator's Guide > Chapter 6 Logging and Tuning

Guidelines for Tuning HP-UX Kernel Parameters

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The following guidelines are provided for tuning HP-UX kernel parameters for the Advanced Server/9000. For more information on changing kernel tuning parameters for HP-UX, refer to the HP-UX System Administration Tasks manual.

For determining HP-UX kernel tuning parameters values that use the number of lmx.srv processes in their calculations, use the largest number of processes that you may expect to exist on your system.

The number of lmx.srv processes that can exist simultaneously on your system is based on the number of active Advanced Server/9000 users and the registry value: VCdistribution.

  • maxfiles: Soft Limit on Number of Files a Process May Open. This parameter should be at least as large as the number of active Advanced Server/9000 users.

  • nfile: Max Number of Open Files. this parameter should reflect non-Advanced Server/9000 usage plus at least 10 times the number of lmx.srv processes plus 1.3 times the number of active clients:nfile = non-Advanced Server/9000_usage + (10 * no._lmx.srv_procs.) + (1.3 * no._active_clients)

    This parameter should be increased if your usage of Advanced Server/9000 involves extensive file access by clients.

  • nflocks: Maximum Number of File Locks. Advanced Server/9000 only puts HP-UX locks on files if the registry value UseUnixLocks is set to 1.

    If UseUnixLocks is set to 1, set nflocks to the number of locks that are expected to be used simultaneously on the system.

  • ninode: Maximum Number of Open Inodes. It is suggested that this parameter be set equal to nfile.

  • nproc: Maximum Number of Processes. This parameter should reflect non-Advanced Server/9000 usage plus the number of lmx.srv processes plus 10:nproc = non-Advanced Server/9000_usage + no._ lmx.srv_procs. + 10

  • semnu: Number of Semaphore Undo Structures on the System. This parameter should reflect non-Advanced Server/9000 usage plus the number of lmx.srv processes on your system.

The following HP-UX kernel tuning parameter values are suggested for proper operation of the Advanced Server/9000. The default values for these parameters as shipped with HP-UX releases are usually adequate.

  • semmni: Number of Semaphore Identifiers. This parameter should be increased by one (1) if your system is currently operating at this parameter's limit.

  • semmns: Maximum Number of Semaphores. Increase this parameter by three (3) if your system is currently operating at this parameter's limit.

  • semume: Semaphore Undo Entries per Process. Set this parameter to at least three (3) for Advanced Server/9000.

  • shmmax: Maximum Shared Memory Segment (bytes). For Advanced Server/9000, this parameter should be at least five (5) megabytes. The system default is usually more than adequate.

  • shmmni: Number of Shared Memory Identifiers. Increase this parameter by two (2) if your system is currently operating at this parameter's limit.

  • shmseg: Shared Memory Segments per process. for Advanced Server/9000, this parameter must be set to at least two (2).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1997 Hewlett-Packard Development Company, L.P.