[Date Prev][Date Next]
Re: Proper values for threads and tool-threads
- To: firstname.lastname@example.org
- Subject: Re: Proper values for threads and tool-threads
- From: Mark <email@example.com>
- Date: Sun, 5 Jun 2011 21:55:49 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=RVeG+Vf6A2/F4WlroLFvY/KILuL7pQrzZNbJJUmQFO8=; b=HA7jT7IL3Qs9uwYICwMHIcLx930aMA330c2y3D6V0p13uVzZQQORniXWxF0v0nLufY 6CSrkaf0EI9m8vCwbNiGL2DJQ4D0vdIforN2LacNjiCTUAw57POC3jBUVM+XVQInkYai Kk/HIgNQjnR3sYuekiYaTHFUY5WTX/mz7yOP8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=kjcGSvO4l4iDV6T5kfzGIplpB6PBxlzoha4Rs9mFsfSLXIdUwrpB7ougOIYjhCTZRg t4sOIKwWYvNGWI940Ma9NznlGBqg4WRQP+2ctdIJ+W6Id6XWibcuLQQFIjnTwK0Y5WFT LokJQ9IzdE01o6uGLoajMT6JdhZjS+N0fqnjE=
- In-reply-to: <C67C9B4CF0720F25D68929CD@192.168.1.2>
- References: <BANLkTimpvqk79thvSzGX5Kg5iMTRo9w7TA@mail.gmail.com> <C67C9B4CF0720F25D68929CD@192.168.1.2>
Does IIRC mean If I Remember Correctly?
Each machine has 4 physical CPUs. Each CPU has 6 cores. (http://ark.intel.com/Product.aspx?id=46491) So that's 24 real cores, correct?. So if I'm understanding you're suggestion:
tool-threads = 24
threads <= 96
If I set threads above 32 I get the warning mentioned earlier (I assume YMMV means: Your Mileage May Vary). Should I be concerned?
Thank you for replying on a weekend.
On Sun, Jun 5, 2011 at 8:26 PM, Quanah Gibson-Mount <firstname.lastname@example.org>
How many real cores do you have?
--On Sunday, June 05, 2011 5:41 PM -0500 Mark <email@example.com
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
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.
Generally tool-threads should be set to that number.
Generally threads should be set to no more than 4 threads per real core IIRC (8 is generally good for 1 or 2 cores, 16 for 4 cores, etc).
Sr. Member of Technical Staff
A Division of VMware, Inc.
Zimbra :: Âthe leader in open source messaging and collaboration