What is this query like? if it does sorting or faceting for example this
could be the field data being invalidated and loaded again, and this will
point at low levels of free RAM. Phrase queries require loading term
position data that is also being cached but can get invalidated. Etc etc

Also, this new feature may be worth having a look at
https://github.com/elasticsearch/elasticsearch/blob/master/docs/reference/indices/benchmark.asciidoc

--

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, Apr 11, 2014 at 2:24 PM, Nikolas Everett <[email protected]> wrote:

> When I repeat the same search over and over again I get somewhat wild
> fluctuations in run time:  4ms, 4ms, 87ms, 17ms, 157ms, 4ms, 4ms, 4ms
>
> Any ideas what might cause this?  This only seems to happen on my
> production cluster so I'm not likely to be able to make full reproduction
> steps.  I causing it with a simple match query without any filters or
> anything.
>
> Normally I trace performance stuff by causing lots of traffic and looking
> at hot_threads but that these fluctuations don't feel like they'd be easy
> to catch that way.
>
> I have 16 nodes on real hardware with somewhat slow disks and 30GB heaps
> with 96GB total ram.  We write to the indexes constantly but slowly.  Maybe
> 2-3 updates (not new docs, changes to old docs) per second per shard.
>
> Any ideas would be great,
>
> 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/CAPmjWd2hR-CDOsOy-o1Opqc8V6GWJ5Z_qRxAOsi2yrc_5RGBmQ%40mail.gmail.com<https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2hR-CDOsOy-o1Opqc8V6GWJ5Z_qRxAOsi2yrc_5RGBmQ%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/CAHTr4Zvw1Nnuvh_B%3DkGm_4K7Rs97CgSOqzB3DFX1j1gz%2Bajg%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to