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

Re: what's the purpose?





--On Friday, February 21, 2003 12:09 PM +0900 ZhangPu <zhang@fjh.fujitsu.com> wrote:

Dear all

about servers/slapd/slap.h

****************************************************************
1.400 Mon Feb 17 16:36:01 2003 UTC; 3 days, 10 hours ago by kurt
CVS Tags: OPENLDAP_REL_ENG_2_1_MP, HEAD
Changed since 1.399: +2 -2 lines
Diffs to 1.399 (colored diff)
Lower SLAP_MAX_WORKER_THREAD to 16 (from 32)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
****************************************************************

Why change SLAP_MAX_WORKER_THREADS from 32 to 16 in slap.h?
# define SLAP_MAX_WORKER_THREADS                (32)
# define SLAP_MAX_WORKER_THREADS                (16)

Did anyone know the purpose?

Well, I just guessing, I would say it has to do with the fact that platforms seem to have a problem with large numbers of threads. At Stanford, we reduced our threads to 20 to get a stable system, and other people have found that they have to go to even lower numbers than 20 to get a stable system.


--Quanah


-- Quanah Gibson-Mount Senior Systems Administrator ITSS/TSS/Computing Systems Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html