lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulf Dittmer <>
Subject Re: Binding lucene instance/threads to a particular processor(or core)
Date Mon, 21 Apr 2008 07:34:22 GMT
This sounds odd. Why would restricting it to a single
core improve performance? The point of using multiple
cores (and multiple threads) is to improve performance
isn't it? I'd leave thread scheduling decisions to the
JVM. Plus, I don't think there is anything in Java to
facilitate this (short of using JNI).

Are you talking about indexing or searching? You may
be able to use multiple parallel threads to improve
indexing performance. I don't think Lucene uses
multi-threading for searching; not unless you have
multiple indices, anyway.


--- Anshum <> wrote:

> Hi,
> I have been trying to bind my lucene instance (JVM -
> Sun Hotspot*) to a
> particular core so as to improve the performance. Is
> there a way to do so or
> is there support in lucene to explicitly control the
> thread - processor
> linkup?
> -- 
> --
> The facts expressed here belong to everybody, the
> opinions to me.
> The distinction is yours to draw............

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message