Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 73015 invoked from network); 7 Mar 2010 12:02:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Mar 2010 12:02:46 -0000 Received: (qmail 30353 invoked by uid 500); 7 Mar 2010 12:02:26 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 30257 invoked by uid 500); 7 Mar 2010 12:02:26 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 30250 invoked by uid 99); 7 Mar 2010 12:02:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Mar 2010 12:02:25 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of akarasulu@gmail.com designates 209.85.220.221 as permitted sender) Received: from [209.85.220.221] (HELO mail-fx0-f221.google.com) (209.85.220.221) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Mar 2010 12:02:20 +0000 Received: by fxm21 with SMTP id 21so1013108fxm.25 for ; Sun, 07 Mar 2010 04:01:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=WevjtpiGl+SJnJm8GuwJMpBlPuqOigAYMyFJ8saOmCs=; b=nPi/s+7UIPFs76rVHjx9kA1QagWC06TWmz3qGjaljEF6sNKWb6Mf68Ava3LsGO8Lfh RcmZVqqqbAxzwgujrfYlKLW1TmMWyLkJ/pMkGStlwQZMdhbCXf5q1XylNyaHXupeZq1E rJuil8VCeZEF9LikMw7OzL+gjVdDrwAPVP6V4= 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=AmWahW332oHvDtMAJLOfV/qtvRbZxLdyLvdiSXb9zZzS1RUFb062+xUF2+vXScnGsC HRfUmjkffhaRtI9ACWNuspqek4wTWcCCGsVqF7/T2XWXNUonErQrOL4dkT0u/K6ZJ3Hx 05O4NO4lLV5Jf84v8aQ75JsX0JV8gfPTVoonA= MIME-Version: 1.0 Received: by 10.239.187.206 with SMTP id m14mr270628hbh.49.1267963318480; Sun, 07 Mar 2010 04:01:58 -0800 (PST) In-Reply-To: <4B9393F9.6030806@apache.org> References: <4B9393F9.6030806@apache.org> Date: Sun, 7 Mar 2010 14:01:58 +0200 Message-ID: Subject: Re: Search performance From: Alex Karasulu To: Apache Directory Developers List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Wow this is horrendous - what's the cause of this any idea? We were at 5000K searches per second before. On Sun, Mar 7, 2010 at 1:54 PM, Stefan Seelmann wrote: > Hi dev, > > for the ApacheDS 1.5.6 release I created the installers and tested the zip > archive. > > I injected an ou and 10000 inetOrgPerson entries [1]. When I run the > following ldapsearch command it takes approx. one second to get a result: > > ldapsearch -h localhost -p 10389 -D "uid=admin,ou=system" -w secret -b > "dc=example,dc=com" -s sub "(uid=user.9999)" > > I also used the searchrate tool from slamd and I only get 1 search per > second: > > ./searchrate.sh -h localhost -p 10389 -D "uid=admin,ou=system" -w secret -b > "dc=example,dc=com" -s sub -f "(uid=user.9999)" -t 1 > > > Then I tried to tune the server: I set -Xmx1024m to give it more Ram. And I > increased the cache size in server.xml [2]. However with searchrate I still > don't get more then 3 searches per second. > > > I hope that I just forgot some additional tuning parameter. > > > Kind Regards, > Stefan > > > [1] http://people.apache.org/~seelmann/com-example-10000.ldif.gz (1MB!) > [2] http://pastebin.com/xMjR9zrK > -- Alex Karasulu My Blog :: http://www.jroller.com/akarasulu/ Apache Directory Server :: http://directory.apache.org Apache MINA :: http://mina.apache.org