-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Increase force_merge threadpool size #87082
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
Increase force_merge threadpool size #87082
Conversation
Changes the default size used for the force_merge threadpool to 1/8 of the allocated processors, with a minimum value of 1. Closes elastic#84943
4303027
to
ad45ff5
Compare
Hi @pxsalehi, I've created a changelog YAML for you. |
|
@elasticmachine update branch |
The idea was to also include an integration(-like) test that would pass the number of allocated processors (rather than being limited to what the Runtime returns) to the I spent some time on this, using a package private constructor to pass So it seems to me that there needs to be more changes, to make that kind of test possible. I'm not sure, if it is worth it or not. @henningandersen WDYT? |
Pinging @elastic/es-distributed (Team:Distributed) |
@elasticmachine run elasticsearch-ci/part-1 |
I think we should shortcut that then but at least validate that within the bounds of |
Done. Please check 2aa5501. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with two small changes (provided CI passes). Thanks Pooya.
server/src/main/java/org/elasticsearch/threadpool/ThreadPool.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/elasticsearch/threadpool/ThreadPoolTests.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/elasticsearch/threadpool/ThreadPoolTests.java
Outdated
Show resolved
Hide resolved
Thanks, Henning! |
Changes the default size used for the force_merge threadpool to 1/8 of the allocated processors, with a minimum value of 1. Closes elastic#84943
Changes the default size used for the force_merge threadpool to 1/8 of
the allocated processors, with a minimum value of 1.
Closes #84943