You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/12/17 01:55:00 UTC
[jira] [Commented] (GEODE-8799) Increase default
OperationExecutors#MAX_THREADS and MAX_PR_THREADS
[ https://issues.apache.org/jira/browse/GEODE-8799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17250729#comment-17250729 ]
ASF GitHub Bot commented on GEODE-8799:
---------------------------------------
DonalEvans opened a new pull request #5862:
URL: https://github.com/apache/geode/pull/5862
- OperationExecutors.MAX_THREADS new default is 300
- ClusterOperationExecutors.MAX_PR_THREADS new default is
Math.max(Runtime.getRuntime().availableProcessors() * 32, 200))
- Removed unit test case for setting system property, since it cannot be
cleared afterwards without unloading the class
Authored-by: Donal Evans <do...@vmware.com>
Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
### For all changes:
- [x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?
- [x] Has your PR been rebased against the latest commit within the target branch (typically `develop`)?
- [x] Is your initial contribution a single, squashed commit?
- [x] Does `gradlew build` run cleanly?
- [x] Have you written or updated unit tests to verify your changes?
- [N/A] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?
### Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to dev@geode.apache.org.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
> Increase default OperationExecutors#MAX_THREADS and MAX_PR_THREADS
> ------------------------------------------------------------------
>
> Key: GEODE-8799
> URL: https://issues.apache.org/jira/browse/GEODE-8799
> Project: Geode
> Issue Type: Improvement
> Affects Versions: 1.14.0
> Reporter: Donal Evans
> Assignee: Donal Evans
> Priority: Major
>
> Similar to GEODE-8780, the default maximum number of pooled message processor and partitioned region message processor threads are low enough that they can cause performance degradation and should be increased.
> The current default value for {{MAX_THREADS}} is 100, and the current default value for {{MAX_PR_THREADS}} is
> {{Math.max(Runtime.getRuntime().availableProcessors() * 4, 16)}}
> The proposed new values are 300 and
> {{Math.max(Runtime.getRuntime().availableProcessors() * 32, 200)}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)