Our experience is, if the number of cores equal number of active
threads, then it performs optimal using single JVM.

Both on Windows XP and CentOS 5.2, with Lucene 2.3.2

Sincerely,
Sithu D Sudarsan

[EMAIL PROTECTED]
[EMAIL PROTECTED]

-----Original Message-----
From: Glen Newton [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 02, 2008 1:17 PM
To: java-user@lucene.apache.org
Subject: Merging indexes & multicore/multithreading

Let's say I have 8 indexes on a 4 core system and I want to merge them
(inside a single vm instance).
Is it better to do a single merge of all 8, or to in parallel threads
merge in pairs, until there is only a single index left? I guess the
question involves how multi-threaded merging is and if it will take
advantage of all cores.

thanks,

-glen

-- 

-

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to