Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 36841 invoked from network); 24 Jan 2008 16:07:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jan 2008 16:07:00 -0000 Received: (qmail 74373 invoked by uid 500); 24 Jan 2008 16:06:50 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 74331 invoked by uid 500); 24 Jan 2008 16:06:50 -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 74320 invoked by uid 99); 24 Jan 2008 16:06:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2008 08:06:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 209.85.134.187 as permitted sender) Received: from [209.85.134.187] (HELO mu-out-0910.google.com) (209.85.134.187) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2008 16:06:22 +0000 Received: by mu-out-0910.google.com with SMTP id i2so161181mue.2 for ; Thu, 24 Jan 2008 08:06:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=KuiVK8awP6+gTHf1LkPxg94fey1UGmLviwuQupY1Z08=; b=vCzB2DtyGXU8KtFtwS/naAz9EqrlXtN7K9UX3/UWlCVs1SpDMhrieKrrasyfHCpkgv8j5ap1jdvpn8SNr530KRBYZjOoNthUz5MxS05Yw03bvqG/pDFg/kfFmCwC/OcnrqIuFsXo2fpNwT0MOCFMi30xOttwOsaFdATAr0sUr/g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=izJrtXkdznY32ZjKn4OYxdICUwlhFIwdXk+dmBKkM2JspfW6pMJbv7ae2yMbegkbJIZzNF1rIohhjN01POOJzykae/aJCeJ1CWyiKk1zC24GQHxddsNdL5QrBdk0eVT/FKaSWNFyfv/P/U3WxQy5I7XlTtlBj8QOxrWmFLx8qT4= Received: by 10.82.159.15 with SMTP id h15mr1481933bue.36.1201190787554; Thu, 24 Jan 2008 08:06:27 -0800 (PST) Received: from ?192.168.1.5? ( [82.245.116.110]) by mx.google.com with ESMTPS id f19sm1861999fka.18.2008.01.24.08.06.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Jan 2008 08:06:26 -0800 (PST) Message-ID: <4798B753.5020200@gmail.com> Date: Thu, 24 Jan 2008 17:05:39 +0100 From: Emmanuel Lecharny User-Agent: Thunderbird 1.5.0.14pre (X11/20071023) MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: Searching takes unrealistic time. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Siva Kumar wrote: > class="org.apache.directory.server.core.partition.impl.btree.MutableInde > xConfiguration"> > > > Considering you are using the uid attribute, with 40 000 entries in your base, the current cacheSize will hold 0,25% of the existing uid. That means you are roughly doing a disk access each time you search for an entry. Increase the cacheSize for each attribute your filters are using. Here, 40 000 will be ok. Be aware that you may have to increase the JVM memory size to avoid OOM exception too... Hope it helps -- -- cordialement, regards, Emmanuel L�charny www.iktek.com directory.apache.org