Repository navigation
UCT/GDA: update to gpunetio 3.0.0 - #12290
Conversation
|
🤖 Starting review — findings will be posted here when done. |
| @@ -1 +1 @@ | |||
| Subproject commit f44728fb023ba61911b705dba289b1650ce2eb28 | |||
| Subproject commit 15bb24451ec84cea1c31aa8dac348319b8a1bc09 | |||
There was a problem hiding this comment.
Commit reachability on the public upstream: is 15bb244 pushed to the public NVIDIA-DOCA/gpunetio repo? autogen.sh only prints a warning when git submodule update --init fails, so an unreachable commit turns into a confusing later failure on missing gpunetio/common/doca_gpunetio_verbs_def.h.
| @@ -1 +1 @@ | |||
| Subproject commit f44728fb023ba61911b705dba289b1650ce2eb28 | |||
| Subproject commit 15bb24451ec84cea1c31aa8dac348319b8a1bc09 | |||
There was a problem hiding this comment.
Installed header list may need updating: please check that the new revision still provides exactly the five headers listed in src/uct/ib/mlx5/gdaki/Makefile.am under include/common and include/device, and that no newly required header is missing from nobase_dist_libuct_ib_mlx5_gda_la_HEADERS; those are installed public headers, so a rename or new include breaks make dist/install and user builds of gdaki.cuh.
| @@ -1 +1 @@ | |||
| Subproject commit f44728fb023ba61911b705dba289b1650ce2eb28 | |||
| Subproject commit 15bb24451ec84cea1c31aa8dac348319b8a1bc09 | |||
There was a problem hiding this comment.
Minor: third-party notice — if the new revision adds files with a different copyright/license, please update the NVIDIA DOCA GPUNetIO entry in THIRD_PARTY_NOTICES.
|
PR-level: opaque submodule bump with no stated reason. Please describe in the PR body which gpunetio changes this pulls in (upstream commit range or DOCA release) and why we need them; a bare submodule bump gives no way to judge the risk to Residual coverage gap: the device-side headers are compiled into user/test kernels and only exercised on GPU + DOCA hardware. The |
|
🤖 CI Triage Agent — TL;DR: The "Build SONAME suffix with CUDA/IB" stage failed compiling Full analysisSummary: nvcc compile error in the Azure stage "Build SONAME suffix with CUDA/IB": Root cause: The PR head commit Implicated commit: File: Suggested fix:
Related: PR #12290 (the PR under test); prior submodule work:
|
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 CI Triage Agent — TL;DR: This isn't a product bug — the "commit title" codestyle gate failed because one commit in PR #12290 is titled Full analysisSummary: Azure job "UCX PR (Codestyle commit title)" build 144094 failed with Root cause: The
Nothing in the build/test code is broken; this is a contribution-format gate. Secondary observation: the step uses Implicated commit: The offending commit is the second commit on PR #12290's branch File: buildlib/tools/codestyle.sh:14 (the check), enforced from buildlib/pr/codestyle.yml:17-31 Suggested fix:
Related: PR #12290 (this build); sibling work PR #12269 "UCT/GDA: update to gpunetio 4.0.1" shows the expected title format.
|
| uint64_t *atseg_ptr = (uint64_t*)wqe_ptr + 4; | ||
| int ds = 3 + is_atomic; | ||
| struct doca_gpu_dev_verbs_wqe_ctrl_seg cseg; | ||
| struct doca_gpunetio_ib_mlx5_wqe_ctrl_seg cseg; |
There was a problem hiding this comment.
why not use struct mlx5_wqe_ctrl_seg here, like the rseg/dseg/atseg below and the rest of src/uct/ib/mlx5? The control segment is the only segment in this function using a DOCA-private type, so every upstream rename in gpunetio forces a UCX change. mlx5dv.h is already included. Impact is maintenance churn only, not correctness.
| @@ -1 +1 @@ | |||
| Subproject commit f44728fb023ba61911b705dba289b1650ce2eb28 | |||
| Subproject commit 15bb24451ec84cea1c31aa8dac348319b8a1bc09 | |||
There was a problem hiding this comment.
Coverage gap: nothing compiled in the non-GPU CI lanes references the renamed type (gdaki.c doesn't use it), so only the ubuntu2404_doca31_gpunetio lane validates this rename. Additionally, if the new submodule revision moved these definitions into a new header file, the installed header list in src/uct/ib/mlx5/gdaki/Makefile.am would need updating — in-tree builds would still pass, so CI can't catch this; worth checking manually against the new submodule contents.
e5ea400 to
62ecd68
Compare
|
🤖 Starting review — findings will be posted here when done. |
| @@ -1 +1 @@ | |||
| Subproject commit f44728fb023ba61911b705dba289b1650ce2eb28 | |||
| Subproject commit 15bb24451ec84cea1c31aa8dac348319b8a1bc09 | |||
There was a problem hiding this comment.
The submodule contents are not available in this checkout, so the bump itself (f44728f → 15bb244) is unverified. ubuntu2404_doca31_gpunetio remains the only lane that compiles gdaki.cuh; note that autogen.sh only warns if git submodule update --init external/gpunetio fails and gdaki/configure.m4 does not check for the gpunetio headers, so a non-fetchable submodule commit would surface as a build failure in that lane rather than a clear configure error. Please confirm that lane is green (test_device.*rc_gda, test_ucp_device*, run_ucx_perftest_cuda_device) before merge.
|
🤖 CI Triage Agent — TL;DR: The "roce on worker 0" job did not fail on a test — the Azure Pipelines agent on Full analysisSummary: Root cause: Infrastructure/agent termination, not a UCX failure. Evidence from the job log:
Implicated commit: unknown — no commit is implicated; the aborted run was testing File: Suggested fix: Re-trigger the "UCX PR" pipeline for PR #12290 — this run carries no actionable test signal. In parallel, ask CI ops to check the Related: none (issue search for the shutdown signature returned no matching reports; #12194 "CI: Run the new and GPU jobs on new-01 only" is only loosely related as CI agent-placement work)
|
|
Verified with nixl-ep, the performance is similar
|
62ecd68 to
3daced9
Compare
|
🤖 Starting review — findings will be posted here when done. |
| uint64_t *atseg_ptr = (uint64_t*)wqe_ptr + 4; | ||
| int ds = 3 + is_atomic; | ||
| struct doca_gpu_dev_verbs_wqe_ctrl_seg cseg; | ||
| struct doca_gpunetio_ib_mlx5_wqe_ctrl_seg cseg; |
There was a problem hiding this comment.
why not use the standard mlx5 struct here, like rseg/dseg/atseg below? the file already includes <infiniband/mlx5dv.h>, and then gpunetio renames like this one don't require a UCX change.
| struct doca_gpunetio_ib_mlx5_wqe_ctrl_seg cseg; | |
| struct mlx5_wqe_ctrl_seg cseg; |
The only reason this PR touches UCX source is a rename of a DOCA-internal struct that is just the mlx5 control segment. The three sibling segments in the same function already use the rdma-core types, so this one declaration is the single point of coupling to gpunetio struct naming. Impact: every future gpunetio rename of this struct forces another UCX patch (and breaks rc_gda device builds in the window before it lands).
|
🤖 CI Triage Agent — TL;DR: The gtest binary aborted on Full analysisSummary: Assertion failure/abort in Root cause: The backtrace shows a nested (re-entrant) purge:
Implicated commit: unknown (pre-existing race; not commit 3daced9 of PR #12290). Most recent related changes: File: src/ucp/wireup/wireup_ep.c:224 (counter updated at wireup_ep.c:123 / :137 / :178); re-entry point src/uct/tcp/tcp_ep.c:1048 and src/ucp/core/ucp_ep.c:1614 Suggested fix: Account for the in-flight proxy request across the nested purge: in Related: #12394 (fix), #12290 (this PR, unrelated GDA change), #11988 (recent wireup_ep pending change) |
3daced9 to
3d7e17d
Compare
|
🤖 Starting review — findings will be posted here when done. |
| uint64_t *atseg_ptr = (uint64_t*)wqe_ptr + 4; | ||
| int ds = 3 + is_atomic; | ||
| struct doca_gpu_dev_verbs_wqe_ctrl_seg cseg; | ||
| struct doca_gpunetio_ib_mlx5_wqe_ctrl_seg cseg; |
There was a problem hiding this comment.
Does the new revision also add or rename any gpunetio header? gdaki.cuh is an installed public header that users include from their kernels, so nobase_dist_libuct_ib_mlx5_gda_la_HEADERS in Makefile.am has to match the new submodule layout, otherwise the in-tree build passes but user device code fails to compile against the installed headers.
| uint64_t *atseg_ptr = (uint64_t*)wqe_ptr + 4; | ||
| int ds = 3 + is_atomic; | ||
| struct doca_gpu_dev_verbs_wqe_ctrl_seg cseg; | ||
| struct doca_gpunetio_ib_mlx5_wqe_ctrl_seg cseg; |
There was a problem hiding this comment.
Minor: the three other segments here use the mlx5dv.h types (mlx5_wqe_raddr_seg, mlx5_wqe_data_seg, mlx5_wqe_atomic_seg). Why not struct mlx5_wqe_ctrl_seg as well, so we don't have to follow internal gpunetio renames on every submodule bump?
|
🤖 CI Triage Agent — TL;DR: The build failed on a single gtest: Full analysisSummary: Root cause: Evidence from the log: exactly one failure, no crash, no infra/timeout errors (the job ran to completion in 3214 s with continuous output;
I could not read the gtest assertion text itself: the Azure log fetch only returns the last ~500 lines and the failure occurred far earlier in the ~54-minute run. Implicated commit: Not PR #12290 (3d7e17d). Candidates on master: File: Suggested fix:
|
What?
Update gpunetio to version 3.0.0
Bandwidth (MB/s): UCX_RC_GDA_NUM_CHANNELS=1 UCX_TLS=rc,rc_gda,cuda UCX_IB_GDA_RETAIN_INACTIVE_CTX=yes ./ucx_perftest -t ucp_put_bw -m cuda -a -s 8 -n 10000 -T<>
Latency(us): UCX_RC_GDA_NUM_CHANNELS=1 UCX_TLS=rc,rc_gda,cuda UCX_IB_GDA_RETAIN_INACTIVE_CTX=yes ./ucx_perftest -t ucp_put_lat -m cuda -a -s 8 -n 10000 -T