Use tracked-consumers memory pool be the default.#11949
Merged
alamb merged 3 commits intoapache:mainfrom Aug 15, 2024
Merged
Conversation
Contributor
Author
|
gcp c3d-standard-4 Benchmark clickbench_1
Benchmark clickbench_extended
Benchmark tpch_mem_sf1
Benchmark tpch_sf1
|
Contributor
|
I am going to re-run the benchmarks on my machine and see what I get |
alamb
approved these changes
Aug 13, 2024
Contributor
alamb
left a comment
There was a problem hiding this comment.
Thank you @wiedld
I think this is a good change in my opinion. If we have some time to look into profiling and see the memory pool show up at all, we can re-asses.
Also there is a workaround if anyone experiences a performance slowdown due to this change (which is to verride the memory pool)
comphead
reviewed
Aug 13, 2024
Contributor
Author
Absolutely agreed. I set the default to have the top 5 consumers listed, altho we can change that based on readability. |
Contributor
wiedld
added a commit
to influxdata/arrow-datafusion
that referenced
this pull request
Aug 15, 2024
* feat(11523): set the default memory pool to the tracked-consumer pool * test(11523): update tests for the OOM message including the top consumers * chore(11523): remove duplicate wording from OOM messages
wiedld
added a commit
to wiedld/arrow-datafusion
that referenced
this pull request
Aug 15, 2024
* feat(11523): set the default memory pool to the tracked-consumer pool * test(11523): update tests for the OOM message including the top consumers * chore(11523): remove duplicate wording from OOM messages
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.
Which issue does this PR close?
Closes #11523
Rationale for this change
We would like the improved OOM error messages, which lists the top overall memory reservation consumers, to be the default.
What changes are included in this PR?
Make
TrackConsumersPoolbe the default.Include benchmarks to assess potential performance overhead from added mutex.
Are these changes tested?
Yes, for the existing tests using the default pool.
Are there any user-facing changes?
No API changes.
Change in OOM messages returned.