Skip to content

Commit

Permalink
Merge pull request #3053 from brminich/v1.5
Browse files Browse the repository at this point in the history
UCP: Add latency to am_bw score calc - v1.5.x
  • Loading branch information
yosefe authored Nov 24, 2018
2 parents a782840 + 4784369 commit 136270c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ucp/wireup/select.c
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,9 @@ static double ucp_wireup_am_bw_score_func(ucp_context_h context,
double size = iface_attr->cap.am.max_bcopy;
double time = (size / ucs_min(iface_attr->bandwidth,
remote_iface_attr->bandwidth)) +
iface_attr->overhead + remote_iface_attr->overhead;
iface_attr->overhead + remote_iface_attr->overhead +
ucp_wireup_tl_iface_latency(context, iface_attr, remote_iface_attr);

return size / time * 1e-5;
}

Expand Down

0 comments on commit 136270c

Please sign in to comment.