On 08/20/2013 07:53 PM, Mirko Sertic wrote:
> I am using Lucene 4.4, and i am hitting cpu usage limitations on my
> core i7 windows 7 64bit box. Seems like the IO system(ssd) has still
> capacity, but when running 8 threads searching on the index in
> parallel, all logical cpu cores are at 100% usage.
>
> Is there a common way available to optimize query throughput and lower
> cpu usage? I am thinking index compression could be disabled for
> instance, as index size is not the problem.

Have you tried to profile code to rule out options?
Plain JVisualVM (free Java profiler that comes with JDK) should do the
trick. Just run profiler against Lucene and check which methods take
most of CPU time. Maybe some serialization outside lucene takes most of
the CPU time.


  Regards,
    Ivan Krišto

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to