Previous Contents Index Next |
iPlanet Directory Server Resource Kit 5.1 Tools Reference |
Chapter 8 idsktune
The default operating system and network settings on many platforms are not suitable for high performance directory services. Tuning is the process of modifying these settings for optimal performance of both directory clients and directory servers.The idsktune tool helps automate this task by checking for necessary patches and suggesting the optimal kernel and TCP/IP settings for running iPlanet Directory Server. This tool does not modify the system; it only provides suggested settings for the system administrator to make these changes manually.
You should run idsktune and apply its guidelines even before installing iPlanet Directory Server. Also, in order to get accurate measurements from performance tests, you should use idsktune to configure all machines involved in the tests.
This chapter contains the following sections:
System Tuning
System Tuning
The idsktune tool gathers information about the operating system, kernel, and TCP stack in order to make tuning recommendations. Because of system differences, most of the tuning parameters in the following sections are for Solaris and UNIX systems only. On Windows platforms, the idsktune tool verifies operating system compatibility and service patch level.
OS and Kernel Settings
The tool displays current OS version numbers and patch information, along with any further recommended patches. It also verifies disk and memory availability and warns you of any deficiencies.Specifically, idsktune verifies and reports on the following settings:
Up-to-date OS and Kernel versions:
Sufficient memory and disk space:
Scheduler settings:
TCP Settings
The idsktune tool reads the current settings of your system's TCP module and makes recommendations for changes. The tool does not perform any of these modifications. Instead, it displays the command line for the ndd tool, which the system administrator should use to set the parameter. The ndd tool is available on the Solaris platform: use an equivalent tool if you are tuning a different platform.The system administrator should consider the local network conditions and other application needs when modifying TCP settings. In general, however, the recommendations will optimize performance whether the machine is dedicated to the directory server or shared with other applications.
The idsktune tool verifies and makes recommendations on the following settings:
Listen backlog queue size
The idsktune tool verifies all of the settings for the Solaris 2.6 and Solaris 8 operating systems that are described in the "TCP Tuning" section in Chapter 2 of the iPlanet Directory Server Installation Guide.tcbhashsize,tcbhashnum and tcp_msl (OSF/1)
tcp_close_wait_interval and tcp_time_wait_interval
tcp_conn_req_max_q and tcp_conn_req_max_q0
net.inet.ip.portrange.hifirst (Linux) and tcp_smallest_anon_port
net.inet.tcp.delayed_ack (Linux) and tcp_deferred_ack_interval
Further Information
Basic and advanced information about tuning your system is available through the following books and websites:
Sun Performance and Tuning: Java and the Internet (ISBN 0-13-095249-4)
Solaris Performance Administration (ISBN 0-07-011768-3)
"Solaris 2.x - Tuning Your TCP/IP Stack and More" (http://www.sean.de/Solaris/tune.html)
"Solaris Tunable Parameters Reference Manual" (http://docs.sun.com:80/ab2/coll.709.2/SOLTUNEPARAMREF/)
"Tuning Tru64 UNIX for Internet Servers" (http://www.tru64unix.compaq.com/faqs/publications/internet/TITLE.HTM)
sys-check tool for Tru64 (OSF/1) UNIX (http://www.tru64unix.compaq.com/sys_check/sys_check.html)
Command Usage
Although this command should be run as root to get a full report on all settings, most settings are verified when it is run as any user. However, you must be root if you wish to modify any of the OS, kernel, or TCP settings based on the idsktune recommendations.
Syntax
The idsktune command has the following syntax:
- idsktune [-v | -D | -q | -c | -\?]
Options
The following table describes the command-line options:
Sample Output
The following output is an example of running idsktune on an untuned Solaris 8 system. This is the default output displayed when no options are used.
Previous Contents Index Next
Copyright 2002 Sun Microsystems, Inc.. All rights reserved.Last Updated April 15, 2002