It would also depends on the caching abilities and that the currently
paralelized threads are not sharing a resource. In the end, like with all
Computer Science stuff, the answer is "it depends" :)

--

Itamar Syn-Hershko
http://code972.com | @synhershko <https://twitter.com/synhershko>
Freelance Developer & Consultant
Author of RavenDB in Action <http://manning.com/synhershko/>


On Fri, Jul 18, 2014 at 11:34 PM, [email protected] <
[email protected]> wrote:

> Always.
>
> Elasticsearch makes heavy use of threading. A Java thread must be mapped
> to an execution pipeline in the CPU. The more Java threads an application
> creates, the more resources the CPU must provide. The "hyperthreading"
> feature of Intel CPUs is a core with two execution pipelines instead of
> one. So, for thread pooling, it helps to manage Java threading more
> efficiently. (In reality, it also depends on the compiler that was used for
> building the JVM, if the compiler can not exploit the power of CPU features
> like hyperthreading, it is useless for Java)
>
> Jörg
>
>
> On Fri, Jul 18, 2014 at 9:57 PM, Nikolas Everett <[email protected]>
> wrote:
>
>> Does hyper threading help Elasticsearch/Lucene?  I'm looking for an
>> answer like:
>> Never
>> Always
>> Depends on workload
>> Doesn't hurt
>>
>> Thanks!
>>
>> Nik
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "elasticsearch" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/elasticsearch/CAPmjWd05Rf6_fJfz8YohXRvJNmREtCx6wGwikYdgHobqJMfKPA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/elasticsearch/CAPmjWd05Rf6_fJfz8YohXRvJNmREtCx6wGwikYdgHobqJMfKPA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFX26bXqRbTEK6mQ%2BLLuB1ELkGNSTO5O9cXfUrXc9UBNQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFX26bXqRbTEK6mQ%2BLLuB1ELkGNSTO5O9cXfUrXc9UBNQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZuE0QsaGOcwvUS13%2B_nZfk%2BD6Y%2BeQcnC6%3D-YMo3x8v5Qw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to