Service manual

Other Optimizations
Chapter 6 Tuning Cache Sizes 123
$ ldapsearch -D admin -w password \
-b cn=monitor,cn=database_name,cn=ldbm\ database,cn=plugins,cn=config
If database cache size is large enough and the cache is primed, then the hit ratio
(
dbcachehitratio)shouldbehigh,andnumberofpagesreadin(dbcachepagein)
and clean pages written out (
dbcacheroevict) should be low. Here, “high” and
“low” must be understood relative to the deployment constraints.
If entry cache for a suffix is large enough and the cache is primed, then the hit ratio
(
entrycachehitratio) should be high. The entry cache size
(
currententrycachesize) should be no more than 80 percent of the maximum
size (
maxentrycachesize). Finally, the size in entries (currententrycachecount)
should be either equal or very close to the total number of entries in the suffix.
Other Optimizations
Tuning cache sizes represent only one approach to improving search, update or
bulk load rates. As you tune the cache, performance bottlenecks from cache move
to other parts of the system. Refer to the other chapters in this guide for more
information.