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

UCS/SYS/TOPO: Added bw estimation for Sapphire Rapids family - v1.15.x #9318

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

rakhmets
Copy link
Collaborator

What

Added estimation of bandwidth for Intel Sapphire Rapids family.

Why ?

To avoid TCP lane selection instead of IB lanes.
#9287

@rakhmets rakhmets changed the title UCS/SYS/TOPO: Added bw estimation for Sapphire Rapids family. UCS/SYS/TOPO: Added bw estimation for Sapphire Rapids family - v1.15.x Aug 28, 2023
brminich
brminich previously approved these changes Aug 28, 2023
@@ -308,6 +308,9 @@ static void ucs_topo_sys_root_distance(ucs_sys_dev_distance_t *distance)
{
distance->latency = 500e-9;
switch (ucs_arch_get_cpu_model()) {
case UCS_CPU_MODEL_INTEL_SAPPHIRERAPIDS:
distance->bandwidth = 23288 * UCS_MBYTE;
Copy link
Contributor

Choose a reason for hiding this comment

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

How did you get this number?

Copy link
Collaborator Author

@rakhmets rakhmets Aug 28, 2023

Choose a reason for hiding this comment

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

The value is copied from the issue. This is a value of bandwidth for message size 262144 obtained by osu_bw benchmark.

ivankochin
ivankochin previously approved these changes Aug 28, 2023
yosefe
yosefe previously approved these changes Aug 28, 2023
@yosefe yosefe enabled auto-merge August 28, 2023 13:27
@ivankochin
Copy link
Contributor

Minor: It seems like we need to update this table too https://github.com/openucx/ucx/blob/master/src/tools/info/sys_info.c#L25

@rakhmets
Copy link
Collaborator Author

Minor: It seems like we need to update this table too https://github.com/openucx/ucx/blob/master/src/tools/info/sys_info.c#L25

Done. Also squashed commits because of the changes are minor.

@yosefe yosefe merged commit e490226 into openucx:v1.15.x Aug 29, 2023
104 checks passed
@rakhmets rakhmets deleted the topic/issue_9287_1.15.x branch October 2, 2023 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants