Query latency increases with multiple shards #30994
Labels
:Data Management/Indices APIs
APIs to create and manage indices and templates
>non-issue
v7.0.0-beta1
Description of the problem including expected versus actual behavior:
With #30783 we have reduced the number of maximum concurrent shard requests to the number of nodes but at most 256. Previously this was dependent on the number of nodes and old default number of shards (5).
In our benchmarks we see an increase of query latency for benchmarks which explicitly set the number of shards to 5 (e.g. geonames or geopoints). For example, the 50th percentile latency for the polygon query in geopoints has increased from 59 ms to 153 ms. Similary, for the painless_static query in geonames the 50th percentile service time has increased from 504 ms to 1488 ms (the system is completely saturated in the latter case and it makes no sense to look at latency that's why I mentioned service time here).
Steps to reproduce:
The problem can be reproduced with the following Rally benchmarks:
Unfortunately you have to manually revert the work introduced in #30783 because we had yet another regression in between that caused Elasticsearch to OOM (which was fixed by #30820).
The text was updated successfully, but these errors were encountered: