Sun Java System Directory Server Enterprise Edition 6.2
Deployment Planning Guide  Top Tuning Tips  Basic
recommendations follow. These recommendations apply in most
situations. Although the recommendations presented here are in
general valid, avoid the temptation to apply the recommendations
without understanding the impact on the deployment at hand. This
section is intended as a checklist, not a cheat sheet.    1.
Adjust cache sizes.      Ideally, the server has enough
available physical memory to hold all caches used by Directory
Server. Furthermore, an appropriate amount of extra physical
memory is available to account for future growth. When plenty of
physical memory is available, set the entry cache size large
enough to hold all entries in the directory. Use the entry-
cache-size suffix property. Set the database cache size large
enough to hold all indexes with the db-cache-size property. Use
the dn-cache-size or dn-cache-count properties to control the
size of the DN cache.    2. Optimize indexing.