Add benchmark installation for LM tests with minimum sleep - #2012
Open
khansaad wants to merge 4 commits into
Open
Add benchmark installation for LM tests with minimum sleep#2012khansaad wants to merge 4 commits into
khansaad wants to merge 4 commits into
Conversation
Signed-off-by: Saad Khan <saakhan@ibm.com>
Contributor
Reviewer's GuideAdds automated benchmark installation and cleanup to local monitoring tests, introduces a minimum metrics collection wait period, and extends benchmark support to include sysbench in the common benchmark installer. File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Contributor
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- The wait-for-metrics block has a mismatch between comments/messages and actual timing (180 total sleep with 30-second intervals vs. “30 minutes” and “5 minutes”), which can confuse users; either adjust the sleep values to match the stated duration or correct the messages to reflect the real wait period.
- You’ve repurposed
LOGfor benchmark setup logging, but it’s also used later in the Kruize setup section; consider using a separate variable for benchmark logs to avoid mixing different concerns into a single file and make troubleshooting easier.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The wait-for-metrics block has a mismatch between comments/messages and actual timing (180 total sleep with 30-second intervals vs. “30 minutes” and “5 minutes”), which can confuse users; either adjust the sleep values to match the stated duration or correct the messages to reflect the real wait period.
- You’ve repurposed `LOG` for benchmark setup logging, but it’s also used later in the Kruize setup section; consider using a separate variable for benchmark logs to avoid mixing different concerns into a single file and make troubleshooting easier.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Signed-off-by: Saad Khan <saakhan@ibm.com>
Signed-off-by: Saad Khan <saakhan@ibm.com>
Signed-off-by: Saad Khan <saakhan@ibm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds benchmarks installation at the script level with appropriate sleep to get the minimum datapoints required to get the recommendations.
Fixes # (issue)
Type of change
How has this been tested?
Please describe the tests that were run to verify your changes and steps to reproduce. Please specify any test configuration required.
Test Configuration
Checklist 🎯
Additional information
Include any additional information such as links, test results, screenshots here
Summary by Sourcery
Add automated benchmark setup and teardown to local monitoring tests and ensure sufficient metrics collection time before running recommendations.
New Features:
Enhancements: