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

scheduler: better expectation and variance in hot region scheduler #5545

Open
1 of 3 tasks
Tracked by #5691
lhy1024 opened this issue Sep 22, 2022 · 0 comments
Open
1 of 3 tasks
Tracked by #5691

scheduler: better expectation and variance in hot region scheduler #5545

lhy1024 opened this issue Sep 22, 2022 · 0 comments
Labels
type/development The issue belongs to a development tasks

Comments

@lhy1024
Copy link
Contributor

lhy1024 commented Sep 22, 2022

Development Task

In 4.0, we use expectation to avoid creating redundant operators after #2297

In 6.3, we use variance to reduce schedule when the cluster has been enough uniform after #4912 and #5286

But we calculate expectation and variance without considering about placement-rules or machine performance, only distinguishing tikv and tiflash.

we need better expectation and variance in hot region scheduler, or could close then they can not work.

  • add config
  • uniform toleranceRatio, stddevThreshold and balancedRatio
  • consider about label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/development The issue belongs to a development tasks
Projects
None yet
Development

No branches or pull requests

1 participant