Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 22791 invoked from network); 17 Oct 2007 14:43:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Oct 2007 14:43:26 -0000 Received: (qmail 63507 invoked by uid 500); 17 Oct 2007 14:43:06 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 63488 invoked by uid 500); 17 Oct 2007 14:43:06 -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 63477 invoked by uid 99); 17 Oct 2007 14:43:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2007 07:43:06 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.97.132.207] (HELO spunkymail-a18.g.dreamhost.com) (208.97.132.207) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2007 14:43:06 +0000 Received: from [192.168.0.3] (adsl-074-229-189-244.sip.rmo.bellsouth.net [74.229.189.244]) by spunkymail-a18.g.dreamhost.com (Postfix) with ESMTP id EE1B75B536 for ; Wed, 17 Oct 2007 07:42:15 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: java-user@lucene.apache.org From: Grant Ingersoll Subject: contrib/benchmark Parallel tasks ? Date: Wed, 17 Oct 2007 10:42:01 -0400 X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am using the contrib/benchmarker to do some performance tests. I have a 4 core machine, so I would like to test using 4 threads for indexing. From the docs at http://lucene.zones.apache.org:8080/ hudson/job/Lucene-Nightly/javadoc/org/apache/lucene/benchmark/byTask/ package-summary.html I then want to modify the conf/standard.alg file to be just indexing, and to do that in a multithreaded way. I believe this means, I should change: { "MAddDocs" AddDoc } : 20000 to be: [ "MAddDocs" AddDoc ] : 20000 : 4 right? I guess I am confused a bit by the rate factor documentation in the docs given by the URL above, for instance, it says: "Example - [ AddDoc ] : 400 : 3 - would do 400 addDoc in parallel, starting up to 3 threads per second. " but, I think I want instead: start up 4 threads, and then have each split up the indexing of 20,000 documents. Thus, each thread would index 5K docs. Am I expressing this correctly? Something doesn't quite feel right about this. Thanks, Grant -------------------------- Grant Ingersoll http://lucene.grantingersoll.com Lucene Boot Camp Training: ApacheCon Atlanta, Nov. 12, 2007. Sign up now! http:// www.apachecon.com Lucene Helpful Hints: http://wiki.apache.org/lucene-java/BasicsOfPerformance http://wiki.apache.org/lucene-java/LuceneFAQ --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org