Refresh latency


(Michalis A Anastasopoulos) #1

We are experiencing significant latency in the refresh operation. In some cases refresh takes up to one minute to complete.

Our index is about 150GB large and has 32 shards spread across 12 nodes.

The refresh interval is currently set to 15s.

My questions:

  • Would a lower refresh interval speed up refresh at the cost of lower indexing speed?
  • Would more nodes help to increase refresh performance?
  • Are there any other measures to be done for increasing refresh performance?

Thanks,
Michail


(Mark Walkom) #2

Possibly, to both.

What version are you on?
What sort of infrastructure?


(Michalis A Anastasopoulos) #3

We are using Elasticsearch 2.2.0.
We have 12 data nodes and 3 master nodes.
The data nodes have 24 GB RAM and 300 GB SSD capacity each.


(Mark Walkom) #4

What OS, what IO scheduler?


(Michalis A Anastasopoulos) #5

We have CentOS 7.3.1611
with the deadline scheduler


(Mark Walkom) #6

Try the noop scheduler and see if that helps.


(Michalis A Anastasopoulos) #7

It turns out that we don't have only SSDs. Our cluster is connected to various types of NAS including flash, SSDs and HDDs. Do you think that the NOOP scheduler would still help?


(system) #8

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.