Service manual

Chapter 3 Top Tuning Tips 75
This chapter lists basic recommendations that apply almost every time you tune a
Directory Server instance. Although the recommendations presented here are in
general valid, avoid the temptation to apply them without understanding how
they impact the specific deployment at hand. This chapter is intended as a
checklist, not a cheat sheet.
1. Adjust cache sizes.
Ideally, the server has enough available physical memory to holdall caches
used by Directory Server. In that case, set the entry cache size large enough to
hold allentries in thedirectory, and setthedatabasecachesizelargeenough to
hold all indexes.
Refer to Chapter 6, “Tuning Cache Sizes,” for more information.
2. Optimize indexing.
Profile and monitor Profile and monitor the behavior of Directory Server after
applying the potential modifications. Collect measurements
of all relative behavior.
Plot and analyze Plot and analyze the behavior observed while profiling and
monitoring. Attempt to find evidence and patterns that
suggest further tests.
You may need to go back to the profiling and monitoring
phase to collect more data.
Tweak and tune Apply further potential optimizations suggested by your
analysis of measurements.
Return to the phase of performing tests.
Document results Once the optimizationsapplied reach the goals defined at the
outset of the process, document them well so they can be
easily reproduced.
Table 3-1 Tuning Process (Continued)
Phase Description