You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
btl/usnic: clarifications and fixes regarding ACKs
New MCA parameter: btl_usnic_ack_iteration_delay. Set this to the
number of times through the usNIC component progress function before
sending a standalone ACK (vs. piggy-backing the ACK on any other send
going to the target peer).
Use "ticks" language to clarify that we're really counting the number
of times through the usNIC component DATA_CHANNEL completion check (to
check for incoming messages) -- it has no relation to wall clock time
whatsoever.
Also slightly change the channel-checking scheme in usNIC component
progress: only check the PRIORITY channel once (vs. checking it once,
not finding anything, and then falling through the progress_2() where we
check PRIORITY again and then check the DATA channel).
As before, if our "progress" libevent fires, increment the tick
counter enough to guarantee that all endpoints that need an ACK will
get triggered to send standalone ACKs the next time through progress,
if necessary.
Signed-off-by: Jeff Squyres <[email protected]>
Copy file name to clipboardExpand all lines: opal/mca/btl/usnic/btl_usnic_mca.c
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -249,6 +249,10 @@ int opal_btl_usnic_component_register(void)
249
249
5000, &mca_btl_usnic_component.retrans_timeout,
250
250
REGINT_GE_ONE, OPAL_INFO_LVL_5));
251
251
252
+
CHECK(reg_int("ack_iteration_delay", "Minimum number of times through usNIC \"progress\" function before checking to see if standalone ACKs need to be sent",
253
+
0, &mca_btl_usnic_component.ack_iteration_delay,
254
+
REGINT_GE_ZERO, OPAL_INFO_LVL_5));
255
+
252
256
CHECK(reg_int("priority_limit", "Max size of \"priority\" messages (0 = use pre-set defaults; depends on number and type of devices available)",
0 commit comments