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

Algo: Make replicas estimator use resource total instead of average as resource history input #84

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

zqzten
Copy link
Member

@zqzten zqzten commented Dec 14, 2023

What type of PR is this?

/kind bug
/kind algorithm

What this PR does / why we need it:

This PR makes replicas estimator use resource total instead of average as resource history input. This fixes the mismatch that the horizontal predictive portrait generator is passing resource total history to the replicas estimator but it previously took it as average, which would significantly affect the estimation result under large replicas.

…ry input

Signed-off-by: Zach Zhu <zzqshu@126.com>
@zqzten zqzten added kind/bug Categorizes issue or PR as related to a bug. kind/algorithm Categorizes issue or PR as related to algorithm. labels Dec 14, 2023
@zqzten zqzten added this to the v0.3 milestone Dec 14, 2023
@zqzten zqzten changed the title Algorithm: Make replicas estimator use resource total instead of average as resource history input Algo: Make replicas estimator use resource total instead of average as resource history input Dec 14, 2023
@dayko2019 dayko2019 merged commit 414696c into traas-stack:main Dec 14, 2023
2 checks passed
@zqzten zqzten deleted the algorithm branch December 14, 2023 09:37
@zqzten zqzten modified the milestones: v0.3, algorithm-v0.2 Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/algorithm Categorizes issue or PR as related to algorithm. kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants