Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 68281 invoked from network); 13 Aug 2007 22:33:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Aug 2007 22:33:05 -0000 Received: (qmail 58813 invoked by uid 500); 13 Aug 2007 22:32:56 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 58775 invoked by uid 500); 13 Aug 2007 22:32:56 -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 58764 invoked by uid 99); 13 Aug 2007 22:32:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 15:32:56 -0700 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 karl.wettin@gmail.com designates 64.233.182.184 as permitted sender) Received: from [64.233.182.184] (HELO nf-out-0910.google.com) (64.233.182.184) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 22:32:53 +0000 Received: by nf-out-0910.google.com with SMTP id d3so598048nfc for ; Mon, 13 Aug 2007 15:32:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=nR9gwKb440Um4wffpIoQtO1TN/QlbxYtWcRb+VwvREKJ7kfWonfWL6Yt9GlzG+HeLN88b06pg19xSkab2sLE6e4CPpidMS1b5O14Czmr03n0OyLX3dldTVDRnj3kwQvpUXE4pwVkmHu0YXtwLXAwr8Fader/qJMdUkz5jnsAe28= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=R9lp8HPYaSMOg1b80k2CzYwNRKOMJD9g+WBK8pjv7O3sKmjPYTSmmWE8abICykkE26+2cA8pW1u0Vm0KdQFOygeVoYxi+3sDXjGEJ9/jqJTU/BKhOmcBan9jTLFMxCtfNNKkBrUKRBzOfJYdc81dGyyerkv+wnbknyq4M1TIIhU= Received: by 10.86.4.2 with SMTP id 2mr5010923fgd.1187044352244; Mon, 13 Aug 2007 15:32:32 -0700 (PDT) Received: from ?192.168.2.101? ( [83.249.118.113]) by mx.google.com with ESMTPS id v23sm1326943fkd.2007.08.13.15.32.30 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Aug 2007 15:32:31 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: References: <660294A7-84DF-4E1D-BFC6-C4E4CB659515@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <511CBBBA-1BE0-47E9-BB3A-C3A4F6FE7207@gmail.com> Content-Transfer-Encoding: 7bit From: karl wettin Subject: Re: Amount of RAM needed to support a growing lucene index? Date: Tue, 14 Aug 2007 00:27:36 +0200 To: java-user@lucene.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org 14 aug 2007 kl. 00.17 skrev lucene user: > What if my concern is more in terms of having a large number of > requests per > second? When should I start to be worried and start thinking about > more than > low end hardware? I have served one request every 10th millisecond, 24/7 on a single machine with a corpus similar to yours using Lucene, Solaris, dual core and 8GB RAM. If you follow the recommendations available on the Wiki you do not need to worry about Lucene. You might need to consider tweaking your JVM with some memory related parameters though. Heap per thread, et c. http://wiki.apache.org/lucene-java/BasicsOfPerformance -- karl > > Thanks! > > On 8/12/07, karl wettin wrote: >> >> >> 12 aug 2007 kl. 14.01 skrev lucene user: >> >>> 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? >> >> If the calculator in my head works you have 300k documents at 4k text >> each. >> >> I say your corpus is borderline small. >> >> >> -- >> karl >> >>> 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 >>>> >>>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-user-help@lucene.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org