-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Fix]add set thread num config for wg flush pool #37028
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
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
|
@liaoxin01 please add merge branch label for this pr. |
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.
clang-tidy made some suggestions
|
|
||
| int64_t memory_limitation_bytes_per_thread_for_schema_change() const; | ||
|
|
||
| int get_disk_num() { return _disk_num; } |
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.
warning: method 'get_disk_num' can be made const [readability-make-member-function-const]
| int get_disk_num() { return _disk_num; } | |
| int get_disk_num() const { return _disk_num; } |
TPC-H: Total hot run time: 40079 ms |
TPC-DS: Total hot run time: 174362 ms |
ClickBench: Total hot run time: 30.91 s |
ea6f06f to
3828097
Compare
|
run buildall |
TPC-H: Total hot run time: 41367 ms |
TPC-DS: Total hot run time: 173154 ms |
ClickBench: Total hot run time: 31.92 s |
3828097 to
0803305
Compare
|
run buildall |
beb9fdb to
afd28a1
Compare
TPC-H: Total hot run time: 40404 ms |
afd28a1 to
97f7c6a
Compare
|
run buildall |
liaoxin01
left a comment
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
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 40207 ms |
TPC-DS: Total hot run time: 173694 ms |
ClickBench: Total hot run time: 31.1 s |
## Proposed changes calculate workload group's mem table flush pool 's thread num by cpu and disk num, other wise it may cause mem table flush cost more memory than not enable workload group.
Proposed changes
calculate workload group's mem table flush pool 's thread num by cpu and disk num, other wise it may cause mem table flush cost more memory than not enable workload group.