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

[SPPSP-4850] fix the issue of realloc algorithm #577

Merged
merged 1 commit into from
Jun 6, 2022

Conversation

DuodenumL
Copy link
Contributor

CPU的realloc算法有个陈年bug,在potassium.cpuReallocPlan里假定scheduleInfo.CPU是当前CPU余量。实际上,因为在cluster层做了RecycleResources操作,此时拿到的scheduleInfo是将existing归还给资源池后的状态。

这个bug会导致在没有设置超卖的node上,出现某个核分配了2 * sharebase的情况。

@CMGS CMGS merged commit 91cd77c into projecteru2:v22.01.05-hotfix Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants