I think the answer is:
[{ "MAddDocs" AddDoc } : 5000] : 4

Is this the functional equivalent of doing:
{ "MAddDocs" AddDoc } : 20000

in parallel?

Thanks,
Grant

On Oct 17, 2007, at 10:42 AM, Grant Ingersoll wrote:

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to