Skip to content
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

Add pipeline wait time of minTSO and pipeline breaker in execution summary #9566

Merged
merged 33 commits into from
Nov 13, 2024

Conversation

yibin87
Copy link
Contributor

@yibin87 yibin87 commented Oct 30, 2024

What problem does this PR solve?

Issue Number: close #9489

Problem Summary:

What is changed and how it works?

This PR mainly does three things:

  1. Add minTSO schedule time in execution summary for source ops.
  2. Add pipeline breaker wait time info in execution summary.
  3. Add the queue waiting time only on source ops instead of distribute the time averagely among all operators.

Check List

Tests

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

None

@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 30, 2024
@yibin87
Copy link
Contributor Author

yibin87 commented Oct 30, 2024

/run-all-tests

@ti-chi-bot ti-chi-bot bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 30, 2024
@yibin87
Copy link
Contributor Author

yibin87 commented Oct 30, 2024

/run-all-tests

1 similar comment
@yibin87
Copy link
Contributor Author

yibin87 commented Oct 30, 2024

/run-all-tests

@yibin87 yibin87 changed the title [DNM] Add pipeline wait time of minTSO and pipeline breaker in execution summary Add pipeline wait time of minTSO and pipeline breaker in execution summary Oct 31, 2024
@yibin87
Copy link
Contributor Author

yibin87 commented Oct 31, 2024

/run-all-tests

@ti-chi-bot ti-chi-bot bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 31, 2024
@ti-chi-bot ti-chi-bot bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Oct 31, 2024
@yibin87
Copy link
Contributor Author

yibin87 commented Nov 1, 2024

/cc @SeaRise

Copy link
Contributor

ti-chi-bot bot commented Nov 1, 2024

@yibin87: GitHub didn't allow me to request PR reviews from the following users: SeaRise.

Note that only pingcap members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @SeaRise

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@yibin87 yibin87 requested a review from gengliqi November 1, 2024 02:18
@yibin87
Copy link
Contributor Author

yibin87 commented Nov 1, 2024

/run-all-tests

dbms/src/Common/Stopwatch.h Outdated Show resolved Hide resolved
dbms/src/Flash/Coprocessor/ExecutionSummary.cpp Outdated Show resolved Hide resolved
dbms/src/Flash/Executor/QueryExecutor.h Outdated Show resolved Hide resolved
@yibin87 yibin87 requested a review from SeaRise November 5, 2024 08:53
@yibin87
Copy link
Contributor Author

yibin87 commented Nov 6, 2024

/test pull-integration-test

@ti-chi-bot ti-chi-bot bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 6, 2024
@ti-chi-bot ti-chi-bot bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Nov 6, 2024
Copy link
Contributor

@SeaRise SeaRise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Nov 11, 2024
@yibin87
Copy link
Contributor Author

yibin87 commented Nov 11, 2024

/test pull-integration-test

@yibin87
Copy link
Contributor Author

yibin87 commented Nov 11, 2024

/test pull-unit-test

1 similar comment
@yibin87
Copy link
Contributor Author

yibin87 commented Nov 11, 2024

/test pull-unit-test

Copy link
Contributor

@windtalker windtalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ti-chi-bot ti-chi-bot bot added the lgtm label Nov 13, 2024
Copy link
Contributor

ti-chi-bot bot commented Nov 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SeaRise, windtalker

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot removed the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Nov 13, 2024
Copy link
Contributor

ti-chi-bot bot commented Nov 13, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-11-11 03:26:21.353960008 +0000 UTC m=+240343.544829001: ☑️ agreed by SeaRise.
  • 2024-11-13 03:18:10.494836202 +0000 UTC m=+412652.685705199: ☑️ agreed by windtalker.

Copy link
Contributor

ti-chi-bot bot commented Nov 13, 2024

@yibin87: Your PR was out of date, I have automatically updated it for you.

At the same time I will also trigger all tests for you:

/run-all-tests

trigger some heavy tests which will not run always when PR updated.

If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@yibin87
Copy link
Contributor Author

yibin87 commented Nov 13, 2024

/test pull-integration-test

@yibin87
Copy link
Contributor Author

yibin87 commented Nov 13, 2024

/test pull-unit-test

@yibin87
Copy link
Contributor Author

yibin87 commented Nov 13, 2024

/test pull-integration-test

@yibin87
Copy link
Contributor Author

yibin87 commented Nov 13, 2024

/test pull-unit-test

1 similar comment
@yibin87
Copy link
Contributor Author

yibin87 commented Nov 13, 2024

/test pull-unit-test

@ti-chi-bot ti-chi-bot bot merged commit 15ed3cf into pingcap:master Nov 13, 2024
5 checks passed
@ti-chi-bot ti-chi-bot bot added the needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. label Nov 14, 2024
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-8.5: #9612.

ti-chi-bot bot pushed a commit that referenced this pull request Nov 14, 2024
…mmary (#9566) (#9612)

close #9489

Signed-off-by: yibin <[email protected]>
Signed-off-by: yibin <[email protected]>

Co-authored-by: yibin <[email protected]>
Co-authored-by: yibin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The execution time in pipeline mode is distortion sometimes
4 participants