[fix](memory) Disable Arrow Jemalloc#37528
Merged
morningman merged 2 commits intoapache:masterfrom Jul 9, 2024
Merged
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Contributor
Author
|
run buildall |
4417a23 to
fc2fc02
Compare
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 39834 ms |
TPC-DS: Total hot run time: 169964 ms |
ClickBench: Total hot run time: 30.97 s |
Contributor
Author
|
run buildall |
1 similar comment
Contributor
|
run buildall |
TPC-H: Total hot run time: 40009 ms |
TPC-DS: Total hot run time: 172741 ms |
ClickBench: Total hot run time: 31.12 s |
morningman
pushed a commit
that referenced
this pull request
Jul 9, 2024
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
dataroaring
pushed a commit
that referenced
this pull request
Jul 9, 2024
hello-stephen
pushed a commit
that referenced
this pull request
Jul 10, 2024
## Proposed changes after #37528 update third-party library
morningman
pushed a commit
to morningman/doris
that referenced
this pull request
Jul 15, 2024
zhiqiang-hhhh
added a commit
to zhiqiang-hhhh/doris
that referenced
this pull request
Aug 10, 2024
This reverts commit e142d02.
zhiqiang-hhhh
added a commit
to zhiqiang-hhhh/doris
that referenced
this pull request
Aug 18, 2024
after apache#37528 update third-party library
Gabriel39
pushed a commit
to Gabriel39/incubator-doris
that referenced
this pull request
Sep 14, 2024
Gabriel39
added a commit
to Gabriel39/incubator-doris
that referenced
this pull request
Sep 14, 2024
* [PipelineX](improvement) Prepare tasks in parallel (apache#40270) Issue Number: close #xxx <!--Describe your changes.--> * [Improvement](agg) Improve count distinct distribute keys * 2-phase agg for count distinct int and 4-phase for string * Disable streaming agg for count distinct distribute key * [branch-2.1](memory) Disable Arrow Jemalloc (apache#37529) pick #apache#37528 * [branch-2.1](memory) Disable Arrow Jemalloc step 2 (apache#37556) pick apache#37533 * [api](cache) Add HTTP API to clear data cache * [Improvement](pipeline) Do parallel preparation for multiple fragments * fix compiling after cherry-pick --------- Co-authored-by: Xinyi Zou <zouxinyi02@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Currently, Arrow use separate Jemalloc, and use non-standard methods
mallocx,sdallocx,rallocxinmemory_pool_jemalloc.ccto optimize memory allocation.But this may be incompatible with older versions of the Linux kernel. when we use Arrow on Arm Kirin v10 or Centos 7.4, it will get stuck on the Jemalloc Lock, with the stack below, it will appear when calling
arrow::RecordBatch::MakeEmpty. the kernel version of Arm Kylin v10 is 4.19.90, and the kernel version of Centos 7.4 is 4.14.After disable separate Jemalloc when compiling Arrow, the above error disappeared, and Arrow will use the default memory allocator, which is Doris Jemalloc.