-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Understand/Improve the performance of numeric range queries #9541
Comments
After digging further into the code for readInts24, I noticed that there are multiple calls to readLong. Added logic for reading all the longs together to reduce the syscall overhead. Saw about ~15% improvement in the query latency: Before:
After:
|
Lucene changes made:
|
Anything around 10% improvement is very hard to conclude with just one run. |
I have been looking at understanding and improving the performance of numeric range queries in Opensearch. For this purpose, I have setup single node cluster, and ingested nyc_taxis dataset.
While running single range query request in loop, I collected the following cpu flamegraph:
Trying to understand how can we reduce the cost of readInts for this query
The text was updated successfully, but these errors were encountered: