-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[chore](config) Add config to control BufferedReader and S3FileWriter's thread pool's min max nums #33974
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PLEASE explain detail about what are these config for and when should we set it.
TPC-H: Total hot run time: 38930 ms
|
TPC-DS: Total hot run time: 184032 ms
|
ClickBench: Total hot run time: 30.49 s
|
TeamCity be ut coverage result: |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 38944 ms
|
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
72db3d3
to
24f639b
Compare
clang-tidy review says "All clean, LGTM! 👍" |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
ClickBench: Total hot run time: 31.11 s
|
TeamCity be ut coverage result: |
clang-tidy review says "All clean, LGTM! 👍" |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
ClickBench: Total hot run time: 31.12 s
|
TeamCity be ut coverage result: |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
TeamCity be ut coverage result: |
Proposed changes
Issue Number: close #xxx
This PR is mainly to provide more granular control over the thread pool size for remote IO. When import prefetching finds that the prefetch speed is too fast or too slow, you can adjust buffered_reader_prefetch_thread_pool_{min,max}thread_num to control the corresponding number of prefetch threads. When the upload speed to S3 is too fast or too slow, you can adjust s3_file_upload_thread_pool{min,max}_thread_num.
Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...