Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 16175 invoked from network); 12 Aug 2007 12:01:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Aug 2007 12:01:58 -0000 Received: (qmail 48777 invoked by uid 500); 12 Aug 2007 12:01:51 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 48732 invoked by uid 500); 12 Aug 2007 12:01:51 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 48721 invoked by uid 99); 12 Aug 2007 12:01:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Aug 2007 05:01:51 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of luz290@gmail.com designates 209.85.132.248 as permitted sender) Received: from [209.85.132.248] (HELO an-out-0708.google.com) (209.85.132.248) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Aug 2007 12:01:49 +0000 Received: by an-out-0708.google.com with SMTP id c5so215637anc for ; Sun, 12 Aug 2007 05:01:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=EKKlpwsf+vv2C0w36sbmzMl/nWGwa8gs7Fk0VcfaJDSBe9Vs59d2wdXdq73+XyMmbpTwLffgkZ95Zrjy5QOIL0OpOpd8hBOStlZp1XtmMgI6nNwJbOfw5+3WDYxoSCbjU2TWWIGCa1hJh02wirUwILmhTV/u6JHBqTBrLk35jv0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=gP5NdPkNQt9QNNdhO4/Ir2R7MHOWrqjiPSa4XcAf1PbBQDmtfRK1KOo4WX5a0YnkFAZlnENyqF6nwZBufo/qqsVGglOFBnwKJKht3CsSz+l3+5yBv9QTSZ4nAlhuOcvPAHk7yHBkKtVzI6UKtectT4WSCFzqxT1S8TCSYEpqcFA= Received: by 10.100.196.3 with SMTP id t3mr3226856anf.1186920088273; Sun, 12 Aug 2007 05:01:28 -0700 (PDT) Received: by 10.100.33.20 with HTTP; Sun, 12 Aug 2007 05:01:28 -0700 (PDT) Message-ID: Date: Sun, 12 Aug 2007 08:01:28 -0400 From: "lucene user" To: java-user@lucene.apache.org Subject: Re: Amount of RAM needed to support a growing lucene index? In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_34187_26954178.1186920088246" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_34187_26954178.1186920088246 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks, Karl. Do you know if 290k articles and 234 million words is a large lucene index or a medium one? Do people build them this big all the time? Thanks! On 8/12/07, karl wettin wrote: > > > 12 aug 2007 kl. 09.03 skrev lucene user: > > > If I have an index with 111k articles and 90 million words indexed, > > how much > > RAM should I have to get really fast access speeds? > > > > If I have an index with 290k articles and 234 million words > > indexed, how > > much RAM should I have to get really fast access speeds? > > Define really fast. > > I say you need 1.3x as much RAM as the size of your FSDirectory to > ensure that the file system cache is never flushed out. But it also > depends on user load. Each thread consumes RAM and CPU. > > In order to really find out, setup the benchmarker to run on your > index, and limit the amount of memory your file system chache and JVM > is allowed. > > > Any other advice about sizing a server? > > What other info do you need to have to help size the server? > > Sizing? > > > Does it matter if the server has a 64 bit processor? > > In a 64 bit environment a reference to an instance consumes twice as > much RAM as in a 32 bit environment. It should not affect a file > centric Lucene store (Directory), Your OS and your application that > use Lucene might be consuming some more resources though. Again, > benchmark. > > > Speed of processor important? > > Yes. > > > Speed of disks? > > May or may not be intersting depending on how much RAM you have. > > > > -- > karl > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > ------=_Part_34187_26954178.1186920088246--