]> git.sur5r.net Git - openldap/blob - doc/guide/admin/tuning.sdf
348572087671ceab0ac5c19c10426176591149bb
[openldap] / doc / guide / admin / tuning.sdf
1 # $OpenLDAP$
2 # Copyright 1999-2007 The OpenLDAP Foundation, All Rights Reserved.
3 # COPYING RESTRICTIONS APPLY, see COPYRIGHT.
4
5 H1: Tuning
6
7 This is perhaps one of the most important chapters in the guide, because if 
8 you have not tuned {{slapd}}(8) correctly or grasped how to design your
9 directory and environment, you can expect very poor performance.
10
11 Reading, understanding and experimenting using the instructions and information
12 in the following sections, will enable you to fully understand how to tailor 
13 your directory server to your specific requirements.
14
15 Various factors can play a part in how your directory performs on your chosen 
16 hardware and environment. We will attempt to discuss these here.
17
18 It should be noted that the following information has been collected over time
19 from our community based FAQ. So obviously the benefit of this real world experience
20 and advice should be of great value to the reader.
21
22
23 H2: Performance Factors
24
25 We will attempt to discuss how various parts of the environment in which your 
26 directory runs can play a part in how well it performs.
27
28
29 H3: Memory
30
31 Scale your cache to use available memory and increase system memory if you can.
32
33 More info here.
34
35
36 H3: Disks
37
38 Use fast subsystems. Put each database and logs on separate disks.
39
40 Example showing config settings
41
42
43 H3: Network Topology
44
45 http://www.openldap.org/faq/data/cache/363.html
46
47 Drawing here.
48
49
50 H3: Directory Layout Design
51
52 Reference to other sections and good/bad drawing here.
53
54
55 H3: Expected Usage
56
57 Discussion.
58
59
60 H2: Indexes
61
62 http://www.openldap.org/faq/data/cache/42.html
63 http://www.connexitor.com/blog/pivot/entry.php?id=103#body
64 http://groups.google.com/group/comp.mail.sendmail/browse_frm/thread/17c5c0b94ad1fc58/f870758659375718?lnk=gst&q=hyc&rnum=12&hl=en#f870758659375718
65
66
67 H2: Tuning Logging
68
69 http://www.openldap.org/faq/data/cache/80.html
70
71
72 H2: BDB/HDB database cache size
73
74 http://www.openldap.org/faq/data/cache/1076.html
75 http://www.openldap.org/faq/data/cache/1075.html