1999-10-01 00:57:45 +08:00
|
|
|
# $OpenLDAP$
|
2007-01-03 04:00:42 +08:00
|
|
|
# Copyright 1999-2007 The OpenLDAP Foundation, All Rights Reserved.
|
1999-04-24 07:41:45 +08:00
|
|
|
# COPYING RESTRICTIONS APPLY, see COPYRIGHT.
|
|
|
|
|
2007-07-06 23:38:00 +08:00
|
|
|
H1: Tuning
|
1999-04-24 07:00:44 +08:00
|
|
|
|
2007-07-06 23:38:00 +08:00
|
|
|
This is perhaps one of the most important chapters in the guide, because if
|
2007-07-06 23:45:33 +08:00
|
|
|
you have not tuned {{slapd}}(8) correctly or grasped how to design your
|
2007-07-06 23:38:00 +08:00
|
|
|
directory and environment, you can expect very poor performance.
|
2002-06-15 05:19:42 +08:00
|
|
|
|
2007-07-06 23:38:00 +08:00
|
|
|
Reading, understanding and experimenting using the instructions and information
|
|
|
|
in the following sections, will enable you to fully understand how to tailor
|
|
|
|
your directory server to your specific requirements.
|
|
|
|
|
|
|
|
Various factors can play a part in how your directory performs on your chosen
|
|
|
|
hardware and environment. We will attempt to discuss these here.
|
|
|
|
|
|
|
|
It should be noted that the following information has been collected over time
|
|
|
|
from our community based FAQ. So obviously the benefit of this real world experience
|
|
|
|
and advice should be of great value to the reader.
|
|
|
|
|
|
|
|
|
|
|
|
H2: Performance Factors
|
|
|
|
|
|
|
|
We will attempt to discuss how various parts of the environment in which your
|
|
|
|
directory runs can play a part in how well it performs.
|
|
|
|
|
|
|
|
|
|
|
|
H3: Memory
|
|
|
|
|
|
|
|
Scale your cache to use available memory and increase system memory if you can.
|
|
|
|
|
|
|
|
More info here.
|
|
|
|
|
|
|
|
|
|
|
|
H3: Disks
|
|
|
|
|
|
|
|
Use fast subsystems. Put each database and logs on separate disks.
|
|
|
|
|
|
|
|
Example showing config settings
|
|
|
|
|
|
|
|
|
|
|
|
H3: Network Topology
|
|
|
|
|
|
|
|
http://www.openldap.org/faq/data/cache/363.html
|
|
|
|
|
|
|
|
Drawing here.
|
|
|
|
|
|
|
|
|
|
|
|
H3: Directory Layout Design
|
|
|
|
|
|
|
|
Reference to other sections and good/bad drawing here.
|
|
|
|
|
|
|
|
|
|
|
|
H3: Expected Usage
|
|
|
|
|
|
|
|
Discussion.
|
|
|
|
|
|
|
|
|
|
|
|
H2: Indexes
|
|
|
|
|
|
|
|
http://www.openldap.org/faq/data/cache/42.html
|
2007-06-19 07:01:15 +08:00
|
|
|
http://www.connexitor.com/blog/pivot/entry.php?id=103#body
|
|
|
|
http://groups.google.com/group/comp.mail.sendmail/browse_frm/thread/17c5c0b94ad1fc58/f870758659375718?lnk=gst&q=hyc&rnum=12&hl=en#f870758659375718
|
1999-04-24 07:00:44 +08:00
|
|
|
|
2007-07-06 23:38:00 +08:00
|
|
|
|
|
|
|
H2: Tuning Logging
|
|
|
|
|
|
|
|
http://www.openldap.org/faq/data/cache/80.html
|
|
|
|
|
|
|
|
|
|
|
|
H2: BDB/HDB database cache size
|
|
|
|
|
|
|
|
http://www.openldap.org/faq/data/cache/1076.html
|
|
|
|
http://www.openldap.org/faq/data/cache/1075.html
|