[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Maximum size of the primary thread pool





--On Thursday, February 08, 2007 11:34 AM -0800 Rajarshi Chaudhuri <rajarshi@genesyslab.com> wrote:



Hi,



Maximum size of the primary thread pool - the default is 16. Is it
recommended to increase this value to higher ones like 32/64 etc. Is
there any loose relation between the RAM and OS and the thread pool size
that I need to consider.



Simply, is there any guideline on this thread pool size and it's
implications?

All testing I've done of OpenLDAP has generally indicated the best performance occurs at a maximum of 8 threads. How slapd behaves in your environment may be different, and the best way to know is to test how the server behaves for you with different thread settings. Some servers (like the Sun Niagra systems) do reasonable well with 16 or 32 threads.


--Quanah



--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html