gianm opened a new pull request, #18493: URL: https://github.com/apache/druid/pull/18493
Generally, the new formula leads to much fewer threads at small processor counts, and similar numbers of threads at large processor counts. The purpose of this change is to avoid issues due to having too-large worker thread counts on small machines, such as OutOfMemoryError for too many threads or not enough direct memory. Comparison table | cpus | old | new | |---|-----|-----| | 1 | 40 | 2 | | 2 | 40 | 4 | | 3 | 40 | 5 | | 4 | 40 | 7 | | 5 | 40 | 8 | | 6 | 40 | 10 | | 7 | 40 | 11 | | 8 | 40 | 13 | | 16 | 49 | 25 | | 24 | 57 | 37 | | 32 | 66 | 49 | | 48 | 83 | 73 | | 64 | 100 | 97 | | 96 | 134 | 145 | -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
