-
Notifications
You must be signed in to change notification settings - Fork 69
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
removed normalized_avg_processors and created documentation on how to add it back #1981
base: main
Are you sure you want to change the base?
Conversation
…on how to re add it.
When i was orginally removing normailzied_avg_processors i accidentally modified the shape of has_data_access.json which caused the component test to fail. After seeing that i went back in and used jq to fix the json to be in the shape that it is supposed to, Component Testing passes. |
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.
I think there should be a description at the top of this file explaining why the statistic was removed.
@@ -0,0 +1,90 @@ | |||
The Normalized Avg Processor statistic is available if you add the following JSON and SQL Files to the XDMoD project. |
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.
The Normalized Avg Processor statistic is available if you add the following JSON and SQL Files to the XDMoD project. | |
The "Job Size: Normalized" statistic can be restored if you modify/add the following JSON and SQL files to your installation of Open XDMoD. The files are located in `/etc/xdmod` unless you used a different prefix when installing Open XDMoD (e.g., `/opt/xdmod-{{ page.sw_version }}/etc`). |
1. Add the follwing to: | ||
- configuration/datawarehouse.d/ref/Job-Statistics.json |
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.
1. Add the follwing to: | |
- configuration/datawarehouse.d/ref/Job-Statistics.json | |
Add the following to `datawarehouse.d/ref/Jobs-statistics.json`: |
2. Add the following to: | ||
- configuration/datawarehouse.d/ref/Gateways-Statistics.json |
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.
2. Add the following to: | |
- configuration/datawarehouse.d/ref/Gateways-Statistics.json | |
2. Add the following to `datawarehouse.d/ref/Gateways-statistics.json`: |
3. Create a **jobs-norm-avg-proc-time.sql** in the following: | ||
- configuration/datawarehouse.d/include/jobs-norm-avg-proc-time.sql |
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.
3. Create a **jobs-norm-avg-proc-time.sql** in the following: | |
- configuration/datawarehouse.d/include/jobs-norm-avg-proc-time.sql | |
3. Create the file `datawarehouse.d/include/Jobs-norm-avg-proc-time.sql`: |
4. create a **jobs-norm-avg-proc-agg.sql** at the follwing: | ||
- configuration/datawarehouse.d/include/jobs-norm-avg-proc-agg.sql |
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.
4. create a **jobs-norm-avg-proc-agg.sql** at the follwing: | |
- configuration/datawarehouse.d/include/jobs-norm-avg-proc-agg.sql | |
4. Create the file `datawarehouse.d/include/Jobs-norm-avg-proc-agg.sql`: |
@@ -8,3 +8,4 @@ The Open XDMoD HOWTOs are "how to" documents on specific subjects. | |||
- [Change Metric Explorer Colors](howto-colors.html) | |||
- [Enable Node Utilization Statistics](howto-node-utilization.html) | |||
- [Reconstruct Slurm Accounting Logs](howto-reconstruct-slurm.html) | |||
- [Add Normalize Avg Processors](howto-normalized-avg-processors.html) |
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.
- [Add Normalize Avg Processors](howto-normalized-avg-processors.html) | |
- [Restore the "Job Size: Normalized" statistic](howto-normalized-avg-processors.html) |
Description
removed normalized_avg_processors from configuration/datawarehouse.d/ref/ gateways-statsitics.json and job-statistics.json, deleted jobs-norm-avg-proc-time.sql and jobs-norm-avg-proc-agg.sql from configuration/datawarehouse.d/include.
Then created howto-normalized-avg-processor.md on how to re add the statistic.
Motivation and Context
The statistic did not have much use and was a 100% correct because of the sql so it was removed with a documenation added to re add it if someone was interested in that statistic.
Tests performed
Re ran all the regression test on a aarch64 and x86_64 system.
Checklist: