X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fguide%2Fadmin%2Ftuning.sdf;h=0890c3b13f209c2ac21959fe28b36dd0b245a759;hb=ad79308d5a9fbd480279e62f4dd04769553e4fd1;hp=03b866b3e59a9839bc7fe5e0e62c9b609b60d4f5;hpb=e76299c196bb93fd2e3ca7972260aa55f9c1a796;p=openldap diff --git a/doc/guide/admin/tuning.sdf b/doc/guide/admin/tuning.sdf index 03b866b3e5..0890c3b13f 100644 --- a/doc/guide/admin/tuning.sdf +++ b/doc/guide/admin/tuning.sdf @@ -1,5 +1,5 @@ # $OpenLDAP$ -# Copyright 1999-2011 The OpenLDAP Foundation, All Rights Reserved. +# Copyright 1999-2012 The OpenLDAP Foundation, All Rights Reserved. # COPYING RESTRICTIONS APPLY, see COPYRIGHT. H1: Tuning @@ -27,13 +27,20 @@ H3: Memory Scale your cache to use available memory and increase system memory if you can. -See {{SECT:Caching}} +See {{SECT:Caching}} for BDB cache tuning hints. +Note that MDB uses no cache of its own and has no tuning options, so the Caching +section can be ignored when using MDB. H3: Disks -Use fast subsystems. Put each database and logs on separate disks configurable -via {{DB_CONFIG}}: +Use fast filesystems, and conduct your own testing to see which filesystem +types perform best with your workload. (On our own Linux testing, EXT2 and JFS +tend to provide better write performance than everything else, including +newer filesystems like EXT4, BTRFS, etc.) + +Use fast subsystems. Put each database and logs on separate disks +(for BDB this is configurable via {{DB_CONFIG}}): > # Data Directory > set_data_dir /data/db @@ -315,9 +322,9 @@ it is generally recommended to be 3x"cachesize". {NOTE: The idlcachesize setting directly affects search performance} -H3: {{slapd}}(8) Threads +H2: {{slapd}}(8) Threads -{{slapd}}(8) can process requests via a configurable number of thread, which +{{slapd}}(8) can process requests via a configurable number of threads, which in turn affects the in/out rate of connections. This value should generally be a function of the number of "real" cores on