Skip to content
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

TL/UCP: Grace tuning #1027

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nsarka
Copy link
Collaborator

@nsarka nsarka commented Oct 1, 2024

This PR updates UCC to allow a socket range in ucc.conf in addition to vendor/arch/nodes/ppn and uses it to tune TL/UCP for Grace systems.

@nsarka nsarka force-pushed the nsarka/tl_ucp_static_tuning branch 2 times, most recently from ec27773 to 5c9e288 Compare October 4, 2024 14:52
sec_h = &sec->vals_h;
j = kh_get(ucc_sec, sec_h, tune_key);
if (j != kh_end(sec_h)) {
*tuning_str = kh_val(sec_h, j);
}
status = ucc_apply_file_cfg(team_cfg, tl_fields, env_prefix,
component_prefix, sec_name);
return status;
found = 1;
Copy link
Collaborator Author

@nsarka nsarka Oct 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to allow the conf file to match multiple sections and take whatever section is matched last. The idea is that in the conf, the sections can be sorted from generic to specific going from top of the file to bottom. This allows a generic Grace config in case the more specific configs don't match (e.g. a team with 2 sockets 70 procs/socket won't match the 2 sockets 72 procs/socket config, so fall back to the generic config)

@nsarka nsarka force-pushed the nsarka/tl_ucp_static_tuning branch from cf702c7 to e1152ff Compare October 7, 2024 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants