-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
dxf: optimize querying eligible tasks in task executor manager #59345
base: master
Are you sure you want to change the base?
Conversation
Hi @D3Hunter. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. 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-sigs/prow repository. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #59345 +/- ##
================================================
+ Coverage 73.0649% 73.4970% +0.4321%
================================================
Files 1690 1690
Lines 467071 467654 +583
================================================
+ Hits 341265 343712 +2447
+ Misses 104848 102952 -1896
- Partials 20958 20990 +32
Flags with carried forward coverage won't be shown. Click here to find out more.
|
This reverts commit 0416117.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tangenta 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 |
[LGTM Timeline notifier]Timeline:
|
What problem does this PR solve?
Issue Number: close #59344
Problem Summary:
What changed and how does it work?
see issue
Check List
Tests
before vs after
![58e0283f-e78e-4e7e-95ec-d022a584495f](https://private-user-images.githubusercontent.com/3312245/411232198-850507b8-1d23-4eef-ac44-c854b42454f9.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjQxNTYsIm5iZiI6MTczOTE2Mzg1NiwicGF0aCI6Ii8zMzEyMjQ1LzQxMTIzMjE5OC04NTA1MDdiOC0xZDIzLTRlZWYtYWM0NC1jODU0YjQyNDU0ZjkuanBlZz9YLUFtei1BbGdvcml0aG09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C1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.kXpzyarn-Az-qh2FcRIF-qlU6HxGytA9Jkj1JPPCgEE)
![image](https://private-user-images.githubusercontent.com/3312245/411388897-0759e563-2167-4903-9a63-10e61301966d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjQxNTYsIm5iZiI6MTczOTE2Mzg1NiwicGF0aCI6Ii8zMzEyMjQ1LzQxMTM4ODg5Ny0wNzU5ZTU2My0yMTY3LTQ5MDMtOWE2My0xMGU2MTMwMTk2NmQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMDUwNDE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTA1OTRhYTg1MDY3OGZlMTFkZGYzNjNmM2JiNTcwNWFhMTdlZGVlNjUzNzhlMWM2N2Q0M2Q4NWE5MWQ2MDg5NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.WFsgT-1H1X3H6V4XvOcnMoBld-uxOB_Qj2G79cLMMts)
Note:: for the
after
, out of the remaining 1.9% CPU, only 0.5 is taken by DXF, others are taken by bindinfo/metric collect/cpu observer/runaway watcher, etc, see the third graphhow DXF query frequency affects CPU usage
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.