Revise default background threads size#4723
Conversation
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
better to use the function |
Maybe it is better to use logical cpu numbers rather than physical cpu number? Usually one physical cpu have more than one cpu core, and there are hyper-threading in most cpus. |
|
/run-all-tests |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
Also, I think physical cpu is not a good idea in cloud environment. |
We planned to make But that PR is blocked since now @jiaqizho has no spare time to get that addressed and merged. Maybe @Lloyd-Pottiger take over that PR and continue to get it merged? |
The CPU limit of cgroup is CPU time and it is related to logical CPU. Physical CPU is not suitable too. I think @Lloyd-Pottiger can look into this PR and try to get it done. |
@JaySon-Huang @JinheLin OK, I will |
https://github.com/pingcap/tiflash/pull/3852/files a tip: This PR tested on |
thx, I will try |
… cores Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
|
/run-all-tests |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
|
/run-all-tests |
|
/run-all-tests |
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
Co-authored-by: JaySon <tshent@qq.com>
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
|
/run-all-tests |
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
|
/run-all-tests |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
JaySon-Huang
left a comment
There was a problem hiding this comment.
LGTM
And please update the description of this PR
|
/merge |
|
@Lloyd-Pottiger: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: e227778 |
|
@Lloyd-Pottiger: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
This reverts commit a79ad91.
This reverts commit a79ad91.
Signed-off-by: Lloyd-Pottiger yan1579196623@gmail.com
What problem does this PR solve?
Issue Number: close #4702
Problem Summary:
What is changed and how it works?
server_info.cpu_info.logical_cores.BackgroundProcessingPool.Check List
Tests
Side effects
Documentation
Release note