tikv_alloc: Add per thread memory usage (#16255)#17005
tikv_alloc: Add per thread memory usage (#16255)#17005ti-chi-bot[bot] merged 3 commits intotikv:release-8.1from
Conversation
ref tikv#15927 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
[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. |
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
|
/merge |
|
@glorv: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger
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: a4c9797 |
|
@ti-chi-bot: Your PR was out of date, I have automatically updated it for you. 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. |
This is an automated cherry-pick of #16255
What is changed and how it works?
Issue Number: Ref #15927 #17006
What's Changed:
Jemalloc has mapped memory stats per arena. We can bind each thread with a dedicated arena, then we have per thread memory usage.
The total memory ~== block cache size + total of per thread footprint

Related changes
pingcap/docs/pingcap/docs-cn:Check List
Tests
Side effects
Release note