[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Proper values for threads and tool-threads
- To: openldap-technical@openldap.org
- Subject: Proper values for threads and tool-threads
- From: Mark <mah042@gmail.com>
- Date: Sun, 5 Jun 2011 17:41:33 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=iujlpONGl0PoVjVD7FKQfA9HsyCkPud18zN7vJd59ms=; b=gxGb5doVtE0UHp5I7AMLxppZGyBSBWjhqLSWpG8pLtlBWLwvPC/boFFkAXIvMK6769 L262CpUwYtppuh7Qjh5gmlPbIrBaLdu5D0T+YXQD8D9NkC1nPYuti0iqsmBvXySasixp 7ypsGgvYa23P9o1W8JJkONd+Ynk6WqY45YRLw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=JTO1U2YhIUCPZn74we/8PgIGgM258rOh25xQcV9FjE8eKs+A8mfkMpUsykCPFPgH2o sbz6O76LEPA6KO3ZIgf1L5ZVWTXeM6ActGDwyd5UUOCv62hw3crw2+pkADFbG4EDCCRa Yow3TxQtujHMYqA1LxhWJt0wTeTfi+I2eqMrk=
I'm setting up a new installation of OpenLDAP 2.4.25 on RHEL machines each with 128GB RAM and 4 Intel Xeon E7530 CPUs (6 cores each, each core supporting two threads). /proc/cpuinfo shows there are 48 processors. The backend hdb database will eventually have millions of records with thousands of concurrent readers and writers. Is there a good equation to use for determining a value for threads and tool-threads? I'd like to take advantage of the hardware available. I get a warning if I set threads higher than 32:
olcThreads: value #0: warning, threads=48 larger than twice the default (2*16=32); YMMV.
I shouldn't be slapcat'ing and slapadd'ing it very often, but like to set tool-threads to an appropriate value for the hardware.
Any suggestions?
Thank you,
Mark