Filter cache size

You must determine the optimum filter cache size to resolve maximum filters in the memory.

To determine the size for the filter cache, run the workload with the cache set to different values and measure the differences in operations per second. For example, the figure shows varying number of operations per second based on different filter cache sizes.

Figure 1. Varying the size of the filter cache

Varying the size of the filter cache and measuring operations per second

For the workload, a filter cache large enough to hold 55,000 entries results in the best performance. There is no benefit in configuring the filter cache larger than the value that result in best performance. For more information about setting the filter cache size, see LDAP cache configuration variables.