Step 4: If the currententrycachecount is less than total number of entries in your database, and the maxentrycachesize has not reached the maximum value that is available from your system, increase
To estimate
Note: Even though the equation has been very reliable in performance tests when tuning nsslapd- cachememsize for different sizes of databases, you should always confirm the equation’s
Equation 2: Estimate Size of Entry Cache for Performance Testing:
average_space_each_entry_needs_in_the_entrycache
average_space_each_entry_needs_in_the_entrycache can be found by:
Step 1: Set
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
Note: For more information about attributes such as currententrycachesize and currententrycachecount, see the
Figure 3 shows performance results using the
10