-
Notifications
You must be signed in to change notification settings - Fork 22
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
Provide access to resource usage for processes and nodes #335
base: v4
Are you sure you want to change the base?
Conversation
Define two attributes by which applications and/or tools can request resource usage of processes and nodes. Define a structure for each case to contain the information, and associated macros for constructing and destructing those structures. Signed-off-by: Ralph Castain <[email protected]>
Please use emoji reactions ON THIS COMMENT to indicate your position on this proposal.
Here are the meanings for the emojis:
|
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.
Minor wording suggestions.
If no node is specified, then | ||
results for all nodes hosting processes within the job of the requestor | ||
will be returned in a \refstruct{pmix_data_array_t} of \refstruct{pmix_node_stats_t} structures. | ||
} |
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.
Similar to the PMIX_PROC_RESOURCE_USAGE
should we point out that:
This attribute can be used with qualifiers such as \refattr{PMIX_SESSION_ID} to identify the session of the namespace whose statistics are being requested.
pmix_proc_t proc; | ||
pid_t pid; | ||
char *cmd; | ||
/* process stats */ |
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.
Do we have a link to more descriptions on each of these stats? We take them from Linux so a pointer to a good manpage description would be helpful to someone new to these fields.
We should add a Python type for these. |
This PR adds some new structures. This PR is on the provisional track. There are some minor notes above that need to be addressed before the presentation. |
We need to update the
I see quite a few other fields that need to be added to the |
Implementation Notes:
|
Notes from 2Q 2021 ASC Meeting (day 1)
|
PMIx ASC 2Q 2021: May 11 & May 13
|
Define two attributes by which applications and/or tools can request
resource usage of processes and nodes. Define a structure for each
case to contain the information, and associated macros for constructing
and destructing those structures.
Signed-off-by: Ralph Castain [email protected]