Skip to content
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

[pick](branch-3.0) pick #38185 #42059 #45092

Merged
merged 2 commits into from
Dec 25, 2024

Conversation

xinyiZzz
Copy link
Contributor

@xinyiZzz xinyiZzz commented Dec 6, 2024

What problem does this PR solve?

pick
opt Modify thedefault JEMALLOC_CONF and support flush Jemalloc tcache #38185
opt Support Jemalloc heap profile start at runtime and automatically generate dot #42059

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@xinyiZzz
Copy link
Contributor Author

xinyiZzz commented Dec 6, 2024

run buildall

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

…loc tcache (apache#38185)

1. Modify thedefault JEMALLOC_CONF, reduce `muzzy_decay_ms` and
`dirty_decay_ms`, and modify the parameters of the regular dump heap
profile for better understanding.
2. support flush Jemalloc tcache, when process memory exceed limit and
tcache is larger than 1G, the limit of `tcache` is the number of pages,
not the total number of page bytes.
@xinyiZzz xinyiZzz force-pushed the branch-3.0_20241204_pick5 branch from 2bb3c1d to a3810f6 Compare December 16, 2024 03:39
@xinyiZzz xinyiZzz changed the title branch-3.0: [opt](memory) Support Jemalloc heap profile start at runtime and automatically generate dot #42059 [pick](branch-3.0) pick #38185 #42059 #45210 Dec 16, 2024
@xinyiZzz
Copy link
Contributor Author

run buildall

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

be/src/runtime/memory/heap_profiler.cpp Show resolved Hide resolved
@xinyiZzz xinyiZzz force-pushed the branch-3.0_20241204_pick5 branch from a3810f6 to 3ab28c8 Compare December 17, 2024 09:28
@xinyiZzz xinyiZzz changed the title [pick](branch-3.0) pick #38185 #42059 #45210 [pick](branch-3.0) pick #38185 #42059 Dec 17, 2024
@xinyiZzz
Copy link
Contributor Author

run buildall

@yiguolei yiguolei merged commit 0ca6c38 into apache:branch-3.0 Dec 25, 2024
20 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants