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

Adjustable Priority Multidimensional Hot Scheduler Tasklist #3869

Closed
28 tasks done
Tracked by #5691
nolouch opened this issue Jul 13, 2021 · 3 comments
Closed
28 tasks done
Tracked by #5691

Adjustable Priority Multidimensional Hot Scheduler Tasklist #3869

nolouch opened this issue Jul 13, 2021 · 3 comments
Assignees
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@nolouch
Copy link
Contributor

nolouch commented Jul 13, 2021

Background

The current hotspot identification mainly uses byte and key dimensions, which are not very fit for load requests with high CPU overhead but low hard disk overhead, we plan to add QPS dimension to better describe the distribution of CPU resources.

After adding more dimension in the statistics, the hotspot scheduler can extract to a multi-objective optimized problem. For example, we have a simple workload about the IndexLoopUp scenario:
image

As you can see in the picture, the IO is very imbalanced but the QPS is balanced. In the hot read scenario, we priority to choose the QPS dimension because this scenario is CPU bound in most cases. consider there are many cases and the priority dimension may be changed in different cases, we need to support some relative dimension statistics and make the dimension's priority or weight can be turned.

Development Task

Reformat hot statistic and hot scheduler

Introduce QPS statistic

write qps

Support multi priorities

Reduce different dim conflict

Misc

Introduce the weight and priority

  • TBD

Advance

@nolouch nolouch added the type/enhancement The issue or PR belongs to an enhancement. label Jul 13, 2021
@nolouch nolouch changed the title Weighted Multidimensional Hot Scheduler Weighted Multidimensional Hot Scheduler Tasklist Jul 13, 2021
@lhy1024 lhy1024 changed the title Weighted Multidimensional Hot Scheduler Tasklist Adjustable Priority Multidimensional Hot Scheduler Tasklist Aug 3, 2021
@tisonkun
Copy link
Contributor

@nolouch on the monthly meeting @BusyJay said this feature is released in 5.2, is it true? I can see all tasks listed here is done. And if it is released, we can close this issue.

Also I'd like to know whether we write a design document for this task, or you think issue description already cover the design?

@nolouch
Copy link
Contributor Author

nolouch commented Sep 7, 2021

yes, it is already released in 5.2. but there are some problems left and need to be cleaned up, but we can close this one at first and create a new one for the remaining issues.
the design document may only acquire in the google document, cc @lhy1024 , cloud you add an RFC for this feature?

@lhy1024
Copy link
Contributor

lhy1024 commented Nov 9, 2022

This issue has been released in 5.2.0 and its next phase of progress will be released in 6.4.0.
ref #4949

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

4 participants