HP-UX Directory Server 8.1 Performance Tuning and Sizing Guidelines
11
Figure 3: Performance based on percentage of database entries in the entry cache
nsslapd-cache-autosize
The nsslapd-cache-autosize parameter is described as follows in the
HP-UX Directory Server
configuration, command, and file reference.
nsslapd-cache-autosize
This performance tuning attribute, which is turned off by default, specifies the percentage of free
memory to use for all the combined caches. For example, if the value is set to 80, then 80 percent
of the remaining free memory is claimed for the cache. To run other servers on the machine, then
set the value lower. Setting the value to 0 turns off the cache autosizing and uses the normal
nsslapd-cachememsize and nsslapd-dbcachesize attributes.
Entry DN: cn=config,cn=ldbm database,cn=plugins,cn=config
Valid Range: 0 (turns cache autosizing off) to 100
Default Value: -1
Syntax: Integer
Example: nsslapd-cache-autosize: 80
If you set nsslapd-cache-autosize to a non-zero value between 0 and 100, HPDS will override
the nsslapd-cachememsize and nsslapd-dbcachesize parameters with a value calculated
based on the amount of free memory at the time HPDS starts up. This is often not preferable, as
free memory might fluctuate from time to time based on system usage.
Logging
HPDS provides three types of logs to help you better manage your directoryand tune performance.
These logs include:
0
2000
4000
6000
8000
10000
12000
14000
16000
18000
20000
0% 20% 40% 60% 80% 100% 120%
operations/sec
% of database entries in entrycache
500k