Repository navigation
Conversation
|
🤖 Starting review — findings will be posted here when done. |
|
The new test only runs on IB hardware ( The test implicitly depends on the default |
|
🤖 Starting review — findings will be posted here when done. |
|
Regarding #12297 (comment): The gap test was removed because the existing constants now feed both interface/receive estimates and the default WQE posting estimate. The final diff changes only the two transport constants and leaves the existing master tests unchanged. |
|
Residual coverage gap: this is a pure retuning change, so there is nothing to unit-test; validation has to come from UD latency/overhead measurements on real IB HW (the mock harness in |
|
🤖 Starting review — findings will be posted here when done. |
|
Regarding #12297 (comment): Agreed that CI does not establish a universally optimal 50 ns value. It is an empirical transport-selection calibration for the motivating collective workload, not an isolated UD processing measurement. The new IFACE_OVERHEAD settings allow tuning for other scales, hardware and communication patterns; existing SEND_OVERHEAD settings control send-side estimates. The hardware-dependent performance coverage gap remains. |
|
Residual coverage gap: the knob itself is only exercised through |
|
🤖 Starting review — findings will be posted here when done. |
|
Regarding #12297 (comment): Configuration propagation was checked on Funk with defaults, shared and per-backend overrides, ucx.conf, environment precedence, and independent send settings. Those checks are not part of CI. This text-only revision does not close that CI coverage gap or establish a universally optimal calibration. |
|
🤖 CI Triage Agent — TL;DR: The wire‑compat job's "compare tls performance characteristics" step diffs Full analysisSummary: Azure job "Test wire compatibility gpu ucx_1_17", step compare tls performance characteristics, exited 1 with four errors of the form Root cause: Not a hang or flake — a hard perf-attribute equality gate. The legacy UCX 1.17 library reports UD
These constants feed both the new Implicated commit: PR #12297 commit chain by Shachar Hasson: File: Suggested fix: Pick one of:
At minimum, decouple Related: PR #12297 (this change); prior similar perf-attribute tuning: commit |
|
fixed |
|
🤖 Starting review — findings will be posted here when done. |
|
Residual coverage gap: both the 130/155 ns values and the new knob reaching |
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 CI Triage Agent — TL;DR: The gtest run failed on a single unrelated test, Full analysisSummary: Root cause: The log tail shows the whole suite passed except that one case ( Implicated commit: unknown (not caused by File: test/gtest/ucp/test_ucp_memheap.cc:103-116 (ep-flush-then-verify path exercised by test/gtest/ucp/test_ucp_rma.cc:283 Suggested fix: Re-trigger the Azure job for PR #12297 — no change to the UD overhead code is warranted for a TCP-only RMA test. If it reproduces, it is the endpoint-flush completeness bug: take/rebase onto PR #12266 ("UCP/FLUSH: Flush the other lanes after the pending lane") so Related: #12266 (ep flush vs. pending lane), #12297 (this PR), #12287 (predecessor UD overhead PR) |
|
/azp run |
|
Azure Pipelines: Successfully started running 4 pipeline(s). |
|
🤖 CI Triage Agent — TL;DR: The Full analysisSummary: Root cause: From the log, the run completed normally ( Critically, the PR under test (#12297, branch Caveat: the exact assertion text for Implicated commit: none for the failure itself. PR commits present but not causal: File: test/gtest/uct/test_md.cc:479-561 (failing test body; assertions at :541 and :559) Suggested fix: Treat this as an unrelated/flaky failure and re-run the Related: PR #12297 (this PR, "UCT/UD: Calibrate and configure UD interface overhead"); predecessor #12287 ("UCT/UD: Add configurable extra interface overhead", closed). No existing issue found for
|
|
@gleon99 can review? |
|
|
||
| # Update UCX v1.15.x-v1.18.x UD baselines for the 50 ns calibration. | ||
| # Remove this remap when those versions leave the wire-compat matrix. | ||
| case "${tl_name}/${cap}/${old_cap}" in | ||
| "ud_verbs/overhead/105 nsec") old_cap="155 nsec" ;; | ||
| "ud_mlx5/overhead/80 nsec") old_cap="130 nsec" ;; | ||
| esac | ||
|
|
There was a problem hiding this comment.
@brminich is this overhead compatibility check actually needed? maybe we can remove it?
There was a problem hiding this comment.
maybe, we need to check if CI passes
There was a problem hiding this comment.
you mean if CI pass after we remove it? I don't see why not because it's only guarding the ud case in this specific wire compat test
There was a problem hiding this comment.
@brminich CI passed as expected. are you OK with removing this test?
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
🤖 Starting review — findings will be posted here when done. |
| old_caps=$(echo "$old_tl_caps" | grep -A 7 "Device: $device" || true) | ||
| new_caps=$(echo "$new_tl_caps" | grep -A 7 "Device: $device" || true) | ||
| for cap in bandwidth overhead | ||
| for cap in bandwidth |
There was a problem hiding this comment.
this drops the overhead comparison for every transport, not only UD, and since the script compares against frozen releases the coverage is gone for good; can we skip it just for UD?
| for cap in bandwidth | |
| caps="bandwidth overhead" | |
| if [[ "$tl_name" == ud* ]] | |
| then | |
| # UD overhead values were intentionally re-tuned | |
| caps="bandwidth" | |
| fi | |
| for cap in $caps |
There was a problem hiding this comment.
Can we keep the overhead comparison for non-UD transports?
| UCS_CONFIG_TYPE_TABLE(uct_ud_iface_common_config_table)}, | ||
|
|
||
| {"IFACE_OVERHEAD", "0", | ||
| "Estimated software overhead per operation for the interface and receive\n" |
There was a problem hiding this comment.
| "Estimated software overhead per operation for the interface and receive\n" | |
| "Estimated software overhead of processing a single received operation,\n" | |
| "used for performance estimation.", |
minor: the current sentence is hard to parse, and since the value only feeds perf_attr->recv_overhead, maybe name the knob RECV_OVERHEAD as in mm_iface.c.
|
🤖 CI Triage Agent — TL;DR: The gtest suite passed in full; the job failed in the Full analysisSummary: Root cause: From the log, the baseline check passed (
No evidence links this to commit d7608d2: the PR touches the UD send-overhead default ( Implicated commit: Not the PR commit. Test logic comes from File: Suggested fix:
Related: PR #12297 (commit under test), PR #11570 (test that is failing), and PR #12362 / #12180 which show the same
|
|
/azp run |
|
Azure Pipelines: Successfully started running 4 pipeline(s). |
|
/azp run |
|
Azure Pipelines: Successfully started running 4 pipeline(s). |
|
🤖 CI Triage Agent — TL;DR: Full analysisSummary: gtest task "roce on worker 1" aborted in Root cause: Two distinct problems, in sequence:
Implicated commit: unknown — not the PR head commit [REDACTED:Hex High Entropy String] (UD fixed overhead), which touches no IB/UMR or rcache code. The UMR export path in File: Suggested fix:
Related: none found for this signature (searches for the UMR CQ timeout and the rcache
|
| # Remove this remap when those versions leave the wire-compat matrix. | ||
| case "${tl_name}/${cap}/${old_cap}" in | ||
| "ud_verbs/overhead/105 nsec") old_cap="155 nsec" ;; | ||
| "ud_mlx5/overhead/80 nsec") old_cap="130 nsec" ;; |
There was a problem hiding this comment.
As discussed f2f, plz check.
There was a problem hiding this comment.
The hard-coded remap for the legacy UD overhead values was already removed in d7608d226.
|
|
||
| #define UCT_UD_VERBS_IFACE_OVERHEAD 105e-9 | ||
| /* Includes 50 ns calibration for UD/DC selection in hybrid Alltoallv. */ | ||
| #define UCT_UD_VERBS_IFACE_OVERHEAD 155e-9 |
There was a problem hiding this comment.
as discussed, plz remove the comment
There was a problem hiding this comment.
The Alltoallv calibration comment was already removed from both the verbs and mlx5 implementations in cbc595b7a.
| old_caps=$(echo "$old_tl_caps" | grep -A 7 "Device: $device" || true) | ||
| new_caps=$(echo "$new_tl_caps" | grep -A 7 "Device: $device" || true) | ||
| for cap in bandwidth overhead | ||
| for cap in bandwidth |
There was a problem hiding this comment.
Can we keep the overhead comparison for non-UD transports?
CLA check failed
See items 1 and 2 of CONTRIBUTING.md for how |
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 CI Triage Agent — TL;DR: The Full analysisSummary: GitHub Actions job Root cause: Not a build, test, or infrastructure failure — there are no compile errors, no timeouts, and no hangs (total job runtime ~8 s with continuous output). The script fetched the PR commit list (
Every one is flagged Implicated commit: The unsigned commits on PR #12297 themselves — File: Suggested fix: The PR author should re-sign the branch's commits and ensure CLA enrollment:
No credentials need attention: the tokens in the log ( Related: PR #12297 (the failing PR). Searches for prior CLA-signature failures returned only unrelated open PRs (#12438, #12439, #12422, #12410, #12394) with no matching tracking issue — none
|
|
🤖 Review complete — no issues found. |
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 Review complete — no issues found. |
|
🤖 CI Triage Agent — TL;DR: This is not a product/test failure — the Full analysisSummary: The Root cause: A contributor-compliance gate, not a code defect. The script requires every new commit in the PR to have a GPG/SSH signature that GitHub reports as Implicated commit: No CI-breaking commit. The offending unsigned commits on the PR branch are File: Suggested fix: Action is on the PR author, not on CI:
Do not retry/re-run the job without re-signing — the result will be identical and deterministic, since the check is a property of the commit objects themselves. Related: none found — a search for this error signature returned only unrelated open PRs (#12438, #12439, #12422, #12410, #12394) with no matching CLA-signature discussion.
|
|
🤖 CI Triage Agent — TL;DR: The Full analysisSummary: Root cause: Evidence from the log: the last application line is Implicated commit: 057985b (HEAD under test) — functional changes in 4ff6e82 "UCT/UD: Make interface overhead configurable", c1bd5b2 "UCT/UD: Add fixed 50 ns interface overhead", 464cab1 — all by Shachar Hasson (PR #12297) File: src/uct/ib/ud/base/ud_iface.c:679 ( Suggested fix:
Related: PR #12297 (this change), PR #12287 "UCT/UD: Add configurable extra interface overhead" (closed predecessor) |
What?
Keep the 50 ns increase to UD software-overhead defaults and make the interface/receive estimate configurable. Defaults remain 155 ns for verbs and 130 ns for mlx5.
Why?
The previous costs could select UD over DC when UD completed collectives more slowly. The 50 ns increase is an empirical transport-selection calibration. A configurable estimate allows tuning for different hardware, process counts, and communication patterns.
How?
Add
UCX_UD_VERBS_IFACE_OVERHEADandUCX_UD_MLX5_IFACE_OVERHEAD, withUCX_UD_IFACE_OVERHEADas a shared override. Cache the configured value during interface initialization and use it in interface queries.Keep configuration help descriptive and explain the calibration beside the default constants. Existing
SEND_OVERHEADdefaults and overrides remain independent.Related: Redmine #5346165. Alternative to #12287.