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 a buffer from LDIF.
Starts a thread for each index affected and other working threads to update the indexes. These threads use the import cache.
Reads from and writes to the database files when import cache runs out.
Directory Server also writes 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.