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. For more options, visit https://groups.google.com/d/optout.
