The following figure illustrates how Directory Server initializes a suffix by using the cache. Individual lines represent threads that access different levels of memory. Broken lines represent probable bottlenecks to minimize through effective tuning of Directory Server.
Directory Server initializes a suffix in the following stages:
Starts a thread to feed an entry cache, used as a buffer, from LDIF.
Starts a thread for each index affected and a thread to create entries in the import cache. These threads consume entries fed into the entry cache.
Reads from and writes to the database files when import cache runs out.
Directory Server can also write log messages during suffix initialization, but does not write to the transaction log.
Tools for suffix initialization delivered with Directory Server provide feedback on the cache hit rate and import throughput. If cache hit rate and import throughput drop together, it is possible that the import cache is too small.