HP-UX Directory Server 8.1 Performance Tuning and Sizing Guidelines
17
3. No replication configured.
4. db-transaction-logging on (default)
5. db-durable-transaction: on (default)
6. db-checkpoint-interval: 60 (default)
7. nsslapd-lookthroughlimit: 5000 (default)
8. nsslapd-maxdescriptors: 4096 (default)
9. nsslapd-sizelimit: 2000 (default)
10. nsslapd-timelimit: 3600 (default)
11. nsslapd-idlistscanlimit: 4000 (default)
12. legacy replication plug-in: ON (default)
13. 7-bit check plug-in: on (default)
14. Schema checking: on (default).
Note: leave it on because it specifies whether the database schema will be enforced during
entry insertion or modification. When measuring performance data based on exact
searches, this core server configuration attribute does not affect performance.
Performance Monitoring Tools
sar (system activity reporter)
The sar tool periodically samples and averages performance information from the kernel, especially
useful for extracting CPU activity and compiling raw data on system performance. More information
about sar is available on HP-UX in the sar(1M) manpage.
HP Caliper
HP Caliper is a general-purpose performance analysis tool for applications on ItaniumĀ®-based HP
systems. HP Caliper allows you to understand the performance of your program and to identify ways
to improve its run-time performance. HP Caliper works with any ItaniumĀ®-based binary system and
does not require your applications to have any special preparation to enable performance
measurement.
With the aid of HP Caliper, we can determine what the system is doing when running a benchmark
test. More information about HP Caliper is available at:
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1174,00.html
Performance Data Creation
Test data generation
The data used for the performance testing is generated by dbgen.pl script, which is in the
/opt/dirsrv/bin directory of a system installed with HP-UX directory server product. This script
generates inetorgPerson entries with highly random attribute values. The dbgen script is used to
generate the data, and ldif2db is used to populate data to the directory server.
Search script generation
To perform search and other operations on the directory server, HP-UX DS provides the rsearch and
ldclt scripts. These scripts are located in the /opt/dirsrv/bin directory. Both scripts are used
for presentation of directory server performance results in this white paper.