Add recording distribution of waitingSplits queue size#13453
Merged
sopel39 merged 1 commit intotrinodb:masterfrom Aug 25, 2022
Merged
Conversation
95f187b to
9474776
Compare
skrzypo987
reviewed
Aug 3, 2022
Member
skrzypo987
left a comment
There was a problem hiding this comment.
Looks good % stuff related to waiting for airlift release.
Please ping me when the release is done
9474776 to
5cc3549
Compare
lukasz-stec
reviewed
Aug 5, 2022
core/trino-main/src/main/java/io/trino/execution/executor/MultilevelSplitQueue.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/executor/MultilevelSplitQueue.java
Outdated
Show resolved
Hide resolved
5cc3549 to
34029df
Compare
Contributor
Author
|
@skrzypo987 , release is done |
Member
Please restart the CI (rebase to current master) |
lukasz-stec
reviewed
Aug 10, 2022
core/trino-main/src/main/java/io/trino/execution/executor/MultilevelSplitQueue.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/executor/MultilevelSplitQueue.java
Outdated
Show resolved
Hide resolved
c436c96 to
cdb798e
Compare
cdb798e to
c8989c3
Compare
lukasz-stec
approved these changes
Aug 11, 2022
core/trino-main/src/test/java/io/trino/execution/executor/TestTaskExecutor.java
Outdated
Show resolved
Hide resolved
c8989c3 to
d12a397
Compare
sopel39
reviewed
Aug 11, 2022
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
d12a397 to
799824e
Compare
sopel39
reviewed
Aug 11, 2022
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
Member
|
@radek-starburst could you show example of the stat? |
skrzypo987
approved these changes
Aug 11, 2022
799824e to
b3cfdfe
Compare
Contributor
Author
It looks like it works. Do not merge, I wait for benchmarks result to avoid an unintended regression. |
Contributor
Author
No visible "stats stuff" in the top (> 0.17%) of |
sopel39
reviewed
Aug 17, 2022
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
b3cfdfe to
c0a1bf3
Compare
sopel39
reviewed
Aug 19, 2022
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
c0a1bf3 to
b38dbb3
Compare
sopel39
approved these changes
Aug 23, 2022
Member
sopel39
left a comment
There was a problem hiding this comment.
lgtm % comments % test failing
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/test/java/io/trino/execution/executor/TestTaskExecutor.java
Outdated
Show resolved
Hide resolved
b38dbb3 to
5e01f29
Compare
sopel39
reviewed
Aug 23, 2022
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
5e01f29 to
2b92ab9
Compare
sopel39
approved these changes
Aug 23, 2022
sopel39
approved these changes
Aug 23, 2022
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
2b92ab9 to
703b423
Compare
martint
reviewed
Aug 23, 2022
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
703b423 to
b11f027
Compare
sopel39
reviewed
Aug 24, 2022
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/executor/TaskExecutor.java
Outdated
Show resolved
Hide resolved
A sampling of TaskExecutor.waitingSplits.size's distribution was added and exposed via JMX
b11f027 to
5d0e7a8
Compare
sopel39
approved these changes
Aug 25, 2022
| @@ -21,6 +21,7 @@ | |||
| import io.airlift.concurrent.ThreadPoolExecutorMBean; | |||
Member
There was a problem hiding this comment.
nit: commit message is incorrect
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.
In some case we need to know what is the saturation level of workers from the coordinator point of view.
The one metric that would be helpful to know is size of the
TaskExecutor.waitingSplitsqueue. This is why we want to sample distribution of its length.