-
Notifications
You must be signed in to change notification settings - Fork 0
Transition from pbench to performance co pilot (pcp) #46
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
Transition from pbench to performance co pilot (pcp) #46
Conversation
- Add --use_pcp option to enable PCP monitoring - Integrate PCP setup, logging, and cleanup into test execution - Add PCP iteration tracking and result collection - PCP functionality works alongside existing pbench support
- Remove all --pbench* command line options from README - Remove pbench execution branch from coremark_pro_run script - Remove pbench installation note from documentation - Simplify execution flow to use direct test execution only
|
This relates to RPOPC-632 |
coremark_pro/coremark_pro_run
Outdated
| kill $PMLOGGER_PID 2>/dev/null | ||
| wait $PMLOGGER_PID 2>/dev/null | ||
|
|
||
| stop_pcp_subset |
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.
Should this be shutdown_pcp, since this appears to be in the "wrapping things up" stage?
coremark_pro/coremark_pro_run
Outdated
| start_pcp $pcp_dir coremark-pro $pcp_cfg | ||
| start_pcp_subset | ||
|
|
||
| pmlogger -c $pcp_cfg -l $pcp_dir/pmlogger.log $pcp_dir/archive & PMLOGGER_PID=$! |
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.
Remove line.
coremark_pro/coremark_pro_run
Outdated
| pcp_cfg=$TOOLS_BIN/pcp/default.cfg | ||
| pcp_dir=/tmp/pcp_coremark-pro_$(date +%Y.%m.%d-%H.%M.%S) | ||
| start_pcp $pcp_dir coremark-pro $pcp_cfg | ||
| start_pcp_subset |
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.
Remove.
coremark_pro/coremark_pro_run
Outdated
| start_pcp $pcp_dir coremark-pro $pcp_cfg | ||
| start_pcp_subset | ||
|
|
||
| pmlogger -c $pcp_cfg -l $pcp_dir/pmlogger.log $pcp_dir/archive & PMLOGGER_PID=$! |
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.
Remove, it should be handled by the pcp_command.inc functions
coremark_pro/coremark_pro_run
Outdated
| kill $PMLOGGER_PID 2>/dev/null | ||
| wait $PMLOGGER_PID 2>/dev/null |
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.
Should use shutdown_pcp per @malucius-rh's comment
coremark_pro/coremark_pro_run
Outdated
| pcp_cfg=$TOOLS_BIN/pcp/default.cfg | ||
| pcp_dir=/tmp/pcp_coremark-pro_$(date +%Y.%m.%d-%H.%M.%S) | ||
| start_pcp $pcp_dir coremark-pro $pcp_cfg | ||
| start_pcp_subset |
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.
Remove this, as it is handled within the iteration loop
| if [ $no_overrides -eq 0 ]; then | ||
| update_build_options | ||
| make TARGET=linux64 build | ||
| exit_out "make of test failed, exiting" 1 |
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.
Handle pcp in exit_out.
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.
Fixed.
kdvalin
left a comment
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
malucius-rh
left a comment
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
Description
This PR adds support for Performance Co-Pilot (PCP) metric collection during test runs. The new PCP functionality replaces the previous Pbench implementation, which is now deprecated.
Before/After Comparison
Before: wrapper provided Pbench functionality via
--pbench.After: wrapper no longer has Pbench functionality nor CLI options. Via the
--use_pcpoption, users can chose to create a PCP archive during the test run.Clerical Stuff
This closes #45
Mention the JIRA ticket of the issue, this helps keep
everything together so we can find this PR easily.
Relates to JIRA: RPOPC-632