![](/images/backgrounds/286169/hp-hp-ux-red-hat-directory-server-software-white-paper-6697235x1.png)
Red Hat Directory Server 7.1 Performance Tuning and Sizing Guidelines
Operating System and System Parameter Tuning•PHKL_34032 and PHCO_33675 are installed. These two patches will improve the
•Two pthread tuning environment variables PERF_ENABLE and PTHREAD_FORCE_SCOPE_SYSTEM are set to 1 to force the 1x1 thread model. The default thread models are different on different
•Set malloc tuning environment variable _M_CACHE_OPTS=1024:32:0 to turn the thread local cache on. NOTE: You need to have enough memory to use this tuning variable; otherwise, the server may exit when it runs out of memory. 10% of the
•Set maxfiles_lim, the hard file limit per process, to at least 4096.
•Set max_thread_proc, the maximum number of threads per process, to 256.
•Set maxdsize_64bit, the maximum of
The following tuning recommendations apply to Red Hat Directory Server version 7.1 for optimal performance:
•Tune the cache size big enough to fully utilize the cache. There are two caches available: database cache and entry cache. Detailed information is provided in Section “Tuning Recommendations”
•Turn the access log off if you don’t need it. Access log contains information for all the operations. By default, the access log is turned on.
•Tune the number of operation threads down for directory servers who mainly serve search requests. Although, fewer threads may gave you better search performance, it may also become the bottleneck when the directory sever also serves some
•Utilize indexes to speed up searches. However RHDS provides an attribute, nsslapd- idlistscanlimit, to limit the number of IDs that are scanned per index key during a search operation. When the size of an individual ID list reaches this limit, the server will behave as if no index was
available for that type of search. For more information about
•Disable unneeded plugins such as referential integrity, UID uniqueness or schema checking, etc.
Other factors, such as if SSL, replication, or referral is configured, may also affect the performance. Complex or many ACIs (directory server access control instructions) will also affect performance. SSL performance data is also covered in Data Collection 6.
Page 2