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

Deal with extremely small resource rate #456

Merged
merged 1 commit into from
Jul 12, 2021

Conversation

jschwinger233
Copy link
Member

No description provided.

@jschwinger233 jschwinger233 linked an issue Jul 8, 2021 that may be closed by this pull request
@CMGS
Copy link
Contributor

CMGS commented Jul 8, 2021

......这都是什么 case

@jschwinger233 jschwinger233 changed the title [WIP] Deal with extremely small resource rate Deal with extremely small resource rate Jul 8, 2021
@jschwinger233
Copy link
Member Author

......这都是什么 case

比方说如果节点有 100G 内存, 而用户请求是 4K 内存, 那么计算出来的 Rate 就是 4e3/100e9 = 4e-8, 就达到了测试用例的数量级了...

@CMGS
Copy link
Contributor

CMGS commented Jul 8, 2021 via email

@CMGS CMGS merged commit e29b975 into projecteru2:master Jul 12, 2021
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.

Calculate Capacity Return negative Capacity
2 participants