Red Hat Directory Server 7.1 Performance Tuning and Sizing Guidelines

average_space_each_entry_needs_in_the_entrycache can be found by:

Step 1: set nsslapd-cachememsizeto some guessed value that is big enough to give a good sample and set nsslapd-cachesizeto –1.

Step 2: prime the server by executing ldapsearch command 1

Step 3: find out the value of currententrycachesize and currententrycachecount by executing ldapsearch command 3.

Step 4: average_space_each_entry_needs_in_the_entrycache = currententrycachesize / currententrycachecount

Please note: for detailed information about attributes like currententrycachesize, currententrycachecount, please refer to the Red Hat Directory Server 7.1 Administrator’s Guide”

Performance with different % database entries in entrycache

operations / sec

14000

12000

10000

8000

6000

4000

2000

0

0%

20%

40%

60%

80%

100%

120%

% of database entries in entrycache

250K

Figure 4: Performance with different percentage of database entries in entrycache. Measured on specific Montecito-based test configuration with 8 CPUs@1.6GHz

nsslapd-cache-autosize

nsslapd-cache-autosize

This performance tuning related 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 would be claimed for the cache. If you plan to run other servers on the machine, then the value will be

Page 10