-
Notifications
You must be signed in to change notification settings - Fork 54
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
Rename duration based to cost #903
Rename duration based to cost #903
Conversation
Double memRecUsage = CommonUtils.percentile(NINETY_FIFTH_PERCENTILE, memUsageList); | ||
Double memRecUsageBuf = memRecUsage + (memRecUsage * MEM_USAGE_BUFFER_DECIMAL); | ||
|
||
// Add a small buffer to the current usage spike max and add it to the current usage max | ||
Double memRecSpike = CommonUtils.percentile(HUNDREDTH_PERCENTILE, spikeList); | ||
Double memRecSpike = CommonUtils.percentile(NINETY_FIFTH_PERCENTILE, spikeList); |
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.
Please keep the memory calculations the same as before. Lowering Memory usage might cause the app to crash. Lowering CPU will only cause the app to stall.
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.
Reverted the memory value to have 100th percentile
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.
- Please make the appropriate test changes
- Update all Doc to indicate the "duration based" change to "cost"
Signed-off-by: bharathappali <abharath@redhat.com>
Signed-off-by: bharathappali <abharath@redhat.com>
Signed-off-by: bharathappali <abharath@redhat.com>
Signed-off-by: bharathappali <abharath@redhat.com>
Signed-off-by: bharathappali <abharath@redhat.com>
e4374c5
to
0e590e5
Compare
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.
LGTM
This PR renames the duration based engine to cost
Also makes the engine to use 95th percentile for CPU and memory to give out the recommendations