-
Notifications
You must be signed in to change notification settings - Fork 74
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
Allow cpu_utilization larger than 1.0. #60
Conversation
@htuch PTAL. |
I think this is the right thing to do, since there are a lot of cluster systems out there that have varying levels of oversubscription and opportunistic provisioning, so I think it will not be uncommon to need values greater than 1.0 here. |
// should be derived from the latest sample or measurement. | ||
double cpu_utilization = 1 [(validate.rules).double.gte = 0, (validate.rules).double.lte = 1]; | ||
// should be derived from the latest sample or measurement. The value may be | ||
// larger than 1.0 when the usage exceeds the soft limit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"exceeds a reporter dependent notion of soft limits". I think it's legit, just want to be clear who is specifying the soft limit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
Needs DCO fix (or possibly new PR). |
Signed-off-by: Yousuk Seung <ysseung@google.com>
00775ef
to
8744878
Compare
I rebased to fix the DCO error per the link above. |
Signed-off-by: Yousuk Seung ysseung@google.com