Skip to content

[WIP][DNM] UCT/IB/MLX5: Use dedicated UARs per QP - #12180

Open
jeynmann wants to merge 15 commits into
openucx:masterfrom
jeynmann:gdaki_dedicated_uar
Open

jeynmann wants to merge 15 commits into
openucx:masterfrom
jeynmann:gdaki_dedicated_uar

Conversation

@jeynmann

@jeynmann jeynmann commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

What?

Use dedicated uar for each gda qp.

Why?

Improves performance for heavy loads .

How?

Add new configuration for uar alloc mode.
Alloc and register dedicated uar for each qp when UAR_ALLOC_MODE=shared.

backend extra kernel
(µs)
deferred (µs) ring (µs)
avgmedp10p90minmax avgmedp10p90minmax
nccl933.31.921.791.062.860.644.664.914.002.756.132.1497.65
nixlmain1371.44.774.141.799.141.1124.839.269.382.4016.631.5938.84
nixluar=unique923.12.362.061.532.671.0263.793.282.662.123.671.5473.63
nixluar=unique ring=lock895.02.222.221.592.761.0821.334.704.713.695.492.9438.55
nixluar=unique ring_per_128=off909.32.242.021.502.641.0645.163.102.642.103.561.5257.22
nixluar=unique ring=lock level=cta913.01.631.601.042.230.8034.055.083.662.815.142.22121.38
nixluar=unique ring=lock level=cta ring_per_128=off952.51.701.731.062.240.783.684.973.832.864.702.23114.15
nixluar=unique uar=nc ring=lock level=cta ring_per_128=off930.51.631.611.042.210.783.715.383.682.814.912.24137.64
nixluar=unique uar=nc ring=lock level=cta ring_per_queue_depth poll_cq=lazy878.41.721.711.132.320.824.224.483.803.034.732.41104.52
nixluar=unique uar=nc ring=lock level=cta ring_per_128=off poll_cq=lazy880.71.701.681.092.300.813.794.783.873.034.632.4197.32

env

export EP_JIT_EXTRA_FLAGS='-DUCT_RC_GDAKI_RESOURCE_SHARING_MODE=DOCA_GPUNETIO_VERBS_RESOURCE_SHARING_MODE_CTA'
export UCX_RC_GDA_UAR_ALLOC_MODE=dedicated
export UCX_RC_GDA_EP_ALLOC_MODE=pool
export UCX_RC_GDA_SL=1
export UCX_RC_GDA_DDP_ENABLE=no
export UCX_RC_GDA_AR_ENABLE=auto

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

Comment thread test/gtest/uct/test_device.cc Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
@svc-nvidia-pr-review

Copy link
Copy Markdown

Residual coverage gap: once the test variant issue is fixed, dedicated mode will require real rc_gda hardware in CI to be exercised; there is also currently no coverage for the dedicated UAR alloc/register failure paths.

@svc-ucx

svc-ucx commented Oct 27, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Tests new on worker 2) · commit 7fbe8551

TL;DR: The build failed on a single gtest, tcp/test_ucp_rma.put_nonblocking/0 (tcp,cuda_copy,rocm_copy/flush_worker), which is a TCP-only RMA data-validation failure and cannot be caused by this PR's IB/MLX5-only "dedicated NC UAR per QP" change — re-run the job, and if it reproduces, chase the recent UCP flush/multi-lane RMA changes rather than the PR.

Full analysis

Summary: make test in the gtest stage exited with Error 1 because 1 of 8842 tests failed: [ FAILED ] tcp/test_ucp_rma.put_nonblocking/0, where GetParam() = tcp,cuda_copy,rocm_copy/flush_worker.

Root cause: Evidence from the log:

  • The run completed normally (8842 tests ... ran, PASSED 8841), with no abort, no sanitizer report, no timeout and no large timestamp gaps — so the failure was a non-fatal gtest failure, not a crash or hang. The only non-fatal failure path in this test is ADD_FAILURE() << "data validation failed" in test_ucp_memheap::test_xfer after flush_worker(sender()), i.e. the target buffer did not match the expected pattern after a series of released (put_nbi) puts plus a worker flush.
  • The failing configuration is tcp,cuda_copy,rocm_copy — no IB/mlx5 transport is involved, and the variant is flush_worker with MAX_RMA_LANES=2 (set in the test_ucp_rma constructor, test/gtest/ucp/test_ucp_rma.cc:39).
  • PR [WIP][DNM] UCT/IB/MLX5: Use dedicated UARs per QP #12180 is "[WIP] UCT/IB/MLX5: Use dedicated NC UARs per QP", which touches only the mlx5 UAR/doorbell path. TCP endpoints never allocate a UAR, so the PR change is not on the code path exercised by the failing test.

Conclusion: this is an unrelated (pre-existing/flaky) failure in the multi-lane TCP put + worker-flush verification path, not a regression from the PR's commit. Note the exact assertion text could not be confirmed: the test executable ran ~53 minutes and only the last ~500 log lines are retrievable, and the failure line itself scrolled out.

Implicated commit: none for this PR (7fbe855 is IB/MLX5-only). Top suspects for the underlying flake, both landed days before this build and touch the flush / multi-lane RMA completion path: d513f98f "UCP/FLUSH: Add topology-safe selective endpoint flush (#11923)" by nbellalou (2026-10-25) and [REDACTED:Hex High Entropy String] "UCP/PROTO: Repost GET and zcopy on the selected lane (#12091)" by Evgeny Leksikov (2026-10-16).

File: test/gtest/ucp/test_ucp_memheap.cc:110-116 (validation that fails); test definition test/gtest/ucp/test_ucp_rma.cc:283 with MAX_RMA_LANES=2 at test/gtest/ucp/test_ucp_rma.cc:39

Suggested fix: Do not change the PR for this — re-trigger "Tests new on worker 2". To root-cause the flake, reproduce in isolation with
./gtest --gtest_filter='tcp/test_ucp_rma.put_nonblocking/0' --gtest_repeat=200 plus UCX_TLS=tcp UCX_MAX_RMA_LANES=2 UCX_LOG_LEVEL=debug, and capture the full gtest log (the pipeline should archive the gtest output as an artifact so the data validation failed line and the preceding [INFO] host->host NxM ... size line survive truncation). If it reproduces, inspect whether flush_worker() on the sender guarantees completion of puts that were spread across both RMA lanes after ucp_request_release() — i.e. the selective/topology-safe flush introduced in #11923 may be skipping a lane that still has outstanding puts.

Related: PR #12180 (this PR, IB/MLX5 UAR, unrelated to the failing TCP test); candidate regressions #11923, #12091; prior multi-rail RMA churn #12082 / #12015 / #12002.

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id e8da6e7f-3f79-44d3-af6c-491b9746d7c6 in the triage console for the audit trail.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
@svc-nvidia-pr-review

Copy link
Copy Markdown

Residual coverage gap: dedicated mode is only exercised with real rc_gda hardware; the dedicated UAR alloc/register failure paths (uct_rc_gdaki_channel_uar_init failure, uar_priv allocation failure, and the new UAR_ALLOC_MODE=dedicated iface-init probe returning UCS_ERR_UNSUPPORTED) have no test coverage.

@svc-ucx

svc-ucx commented Oct 28, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Tests gpu on worker 2) · commit 87df76a4

TL;DR: Only the two rc_gda/test_device cases for the new uar_dedicated variant on the second GPU/HCA pair (cuda1-mlx5_1:1) failed, while the same tests pass in uar_shared mode and in dedicated mode on cuda0-mlx5_0; the new dedicated-NC-UAR path validates and registers the UAR in the wrong CUDA context (first active primary context = GPU0) and then ignores cuMemHostRegister failures, so uct_ep_get_device_ep() returns an error for GPU1. Fix: probe/register the UAR under the iface's own CUDA device and propagate the registration status instead of unconditionally marking it registered.

Full analysis

Summary: make test in the "gpu on worker 2" job exited 1: [ FAILED ] rc_gda/test_device.atomic/3 and rc_gda/test_device.put/3, both GetParam() = rc_gda/cuda1-mlx5_1:1/uar_dedicated (10485/10507 tests passed, no other failures).

Root cause: Evidence from the log: the failure is isolated to the new UAR_ALLOC_MODE=dedicated variant added by this branch, and only for the second GPU/HCA pair — the uar_shared variants and uar_dedicated on cuda0-mlx5_0 all pass. Both failing tests share exactly one code path that can return an error early (ASSERT_UCS_OK(uct_ep_get_device_ep(...)) in test/gtest/uct/test_device.cc:219 and :255), which in dedicated mode goes through uct_rc_gdaki_channel_get_dev_sq_db(). In that path:

  • src/uct/ib/mlx5/gdaki/gdaki.c:1321-1335 — the dedicated-mode capability probe calls uct_gdaki_push_primary_ctx(), which uses uct_cuda_ctx_primary_push_first_active() (src/uct/cuda/base/cuda_ctx.c:46) and therefore always picks GPU 0 (the gtest process keeps device 0's primary context active via test_device_cuda_ctx_guard). The probe is also executed before the iface's own CUDA device is parsed (that happens later at gdaki.c:1359-1374), so it structurally cannot validate the correct GPU. Result: the cuda1-mlx5_1 iface is created even though mapping mlx5_1's NC UAR BAR into GPU1 does not work.
  • src/uct/ib/mlx5/gdaki/gdaki.c:537-549 — cuMemHostRegister() is invoked with UCT_CUDADRV_FUNC_LOG_WARN and uar_priv->registered = 1 is set unconditionally, so a genuine registration failure is swallowed and only surfaces as the subsequent cuMemHostGetDevicePointer() error, failing uct_ep_get_device_ep() for both put and atomic.

(The detailed gtest/UCX error lines for those two tests are no longer in the retrievable log window — only the last ~500 lines of a 4662 s run are available — so the exact CUDA error code could not be read; the variant/device isolation plus the single shared code path is what pins the diagnosis.)

Implicated commit: 7fbe855 "UCT/IB/MLX5: Use dedicated NC UARs per QP" (Zihao Zhao), refactored by 87df76a "UCT/IB/MLX5: refactor" (Zihao Zhao, HEAD of this PR)

File: src/uct/ib/mlx5/gdaki/gdaki.c:1321 (dedicated-mode UAR probe in wrong CUDA context) and src/uct/ib/mlx5/gdaki/gdaki.c:537-546 (ignored cuMemHostRegister status)

Suggested fix:

  1. Move the dedicated-mode uct_gdaki_md_check_uar(..., UCT_IB_MLX5_UAR_ALLOC_TYPE_NC, ...) probe to after the iface's CUDA device is resolved (self->cuda.dev, set at gdaki.c:1403), and push that device's primary context (uct_cuda_ctx_primary_push(self->cuda.dev, ...)) instead of uct_gdaki_push_primary_ctx(), so the per-GPU/per-HCA capability is actually validated for cuda1-mlx5_1. If it fails, return UCS_ERR_UNSUPPORTED so the test is skipped/falls back to shared mode instead of failing at get_device_ep.
  2. In uct_rc_gdaki_channel_get_dev_sq_db(), check the return of cuMemHostRegister() (use UCT_CUDADRV_FUNC_LOG_ERR), only set uar_priv->registered = 1 on success, and return the error — tolerating CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED explicitly. Consider registering the page-aligned UAR base with ucs_get_page_size() length rather than sizeof(uint64_t), since NC UARs of different QPs may share a page.
  3. Add a diagnostic log (device name + CUDA device index) on that failure path; the current error is opaque, which is why this failure is hard to triage from CI.

Related: PR #12180 (branch gdaki_dedicated_uar); earlier fix on the same test variant: 44e263f "GTEST/UCT/GDAKI: fix variant". No matching open issues found.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

@jeynmann jeynmann changed the title [WIP] UCT/IB/MLX5: Use dedicated NC UARs per QP UCT/IB/MLX5: Use dedicated NC UARs per QP Oct 29, 2026
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.h Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.h Resolved
@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

Comment thread src/uct/ib/mlx5/gdaki/gdaki.h Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
Comment thread src/uct/ib/mlx5/dv/ib_mlx5_dv.c Resolved
Comment thread src/uct/ib/mlx5/gdaki/gdaki.c Resolved
UCT/IB/MLX5: Map dedicated UAR pages into CUDA

UCT/IB/MLX5: Reuse registered UAR pages

UCT/IB/MLX5: Declare UAR CUDA status in mapping scope

UCT/IB/MLX5: Add UAR allocation mode config

GTEST/UCT/GDAKI: Add UAR allocation mode variants to device tests

UCT/IB/MLX5: dedicated uar

UCT/IB/MLX5: format

GTEST/UCT/GDAKI: fix variant

UCT/IB/MLX5: refactor

UCT/IB/MLX5: refactor uar reg

UCT/IB/MLX5: lock in cleanup

UCT/IB/MLX5: cleanup

UCT/IB/MLX5: fix uar reg

UCT/IB/MLX5: refactor uar
@jeynmann
jeynmann force-pushed the gdaki_dedicated_uar branch from 56702b1 to ad87f2d Compare October 29, 2026 03:38
@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

Comment thread test/gtest/uct/test_device.cc Resolved
@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

Comment thread test/gtest/uct/test_device.cc Resolved
Comment thread test/gtest/uct/test_device.cc Resolved
@svc-nvidia-pr-review

Copy link
Copy Markdown

Residual coverage gap: dedicated mode is only exercised on real rc_gda hardware; the dedicated UAR failure paths (uct_rc_gdaki_channel_uar_init failure, shared-UAR uct_worker_tl_data_get failure at err_destroy_qp, and cuMemHostRegister failure in uct_rc_gdaki_channel_get_dev_sq_db) have no test coverage.

@svc-ucx

svc-ucx commented Oct 29, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Tests new on worker 0) · commit d713fc2c

TL;DR: The gtest binary aborted on a UCS rcache assertion (!(region->flags & UCS_RCACHE_REGION_FLAG_PGTABLE) at rcache.c:396) during ucp_mem_unmap in tcp/test_ucp_rma.put_nonblocking/2 <tcp,cuda_copy,rocm_copy/user_memh> — an rcache region reached refcount 0 and was destroyed while still linked in the page table, via UCP's lock-free ucs_rcache_region_put_unsafe() path; this is unrelated to PR #12180 (IB/mlx5 UAR), which the failing test doesn't even exercise.

Full analysis

Summary: make test aborted (core dumped) — assertion failure in ucs_mem_region_destroy_internal() reached from ucp_mem_unmap() → ucp_memh_cleanup() → ucp_memh_put_rcache() → ucs_rcache_region_put_unsafe().

Root cause: Log backtrace (frames 3–7): test_ucp_memheap::test_xfer() calls ucp_mem_unmap(), which releases the parent rcache memh with ucs_rcache_region_put_unsafe() (src/ucp/core/ucp_mm.c:441). That inline (src/ucs/memory/rcache.inl:121-132) is the only refcount user that (a) decrements with a plain non-atomic --region->refcount while every other path uses ucs_atomic_fsub32/ucs_atomic_add32 (rcache.c:450, 1055, 667), (b) calls ucs_mem_region_destroy_internal() without holding rcache->pgt_lock even though that function is documented "Lock must be held in write mode" (rcache.c:383), and (c) never removes the region from the page table nor clears UCS_RCACHE_REGION_FLAG_PGTABLE. A freshly created region has refcount = 2 (page-table + user, rcache.c:1028), so hitting 0 here means a refcount update was lost to a concurrent rcache operation — e.g. the UCM VM_UNMAPPED/MEM_TYPE_FREE invalidation callback (ucs_rcache_unmapped_callback, rcache.c:589) or the async ucs_rcache_invalidate_handler/LRU evict path, both of which fire in this test because CUDA/ROCm and host buffers are freed around the unmap, and both of which use atomics + pgt_lock. Note UCP_THREAD_CS_ENTER(&context->mt_lock) around the unsafe put is a no-op for single-threaded contexts, so it provides no protection against those paths. Result: destroy of a still-pgtable-linked region → assert in debug build. The PR under test changes uct/ib/mlx5 UARs, while the failing test runs only tcp,cuda_copy,rocm_copy (no IB transports), so the failure is a pre-existing race, not a regression from this PR. (The ~100s gaps in the log are just UCX's assert handler printing source context and backtrace, not a hang.)

Implicated commit: Not caused by [REDACTED:Hex High Entropy String]; the unsafe lock-free put path originates in 37c574d "UCP/MM: lock free when deregistration memory region" (Liu, Changcheng), most recently reworked by 311e350 "UCS/RCACHE: Change inv_q type to interval tree (#11248)" (nbellalou)

File: src/ucs/memory/rcache.inl:121-132 (and caller src/ucp/core/ucp_mm.c:441; assert at src/ucs/memory/rcache.c:396)

Suggested fix: Make the UCP release path refcount-safe: in ucs_rcache_region_put_unsafe() use ucs_atomic_fsub32(&region->refcount, 1) instead of --region->refcount, and when it drops to 0 do not call ucs_mem_region_destroy_internal() directly — route through ucs_rcache_region_put_internal() with UCS_RCACHE_REGION_PUT_FLAG_TAKE_PGLOCK (or add the region to the GC list) so the pgt_lock is held and the page-table entry is removed / UCS_RCACHE_REGION_FLAG_PGTABLE cleared before destruction. Likewise make ucs_rcache_lookup_unsafe()'s region->refcount++ atomic. Short term, re-trigger CI for PR #12180 (failure is unrelated) and open a bug tracking this rcache race.

Related: PR #12180 (#12180); area touched by #11248 (interval-tree invalidation) and #11149 (rcache locking for gdrcopy) — no existing issue found for this assertion

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 5f791d6c-ef23-4176-9fd2-16c9aa859541 in the triage console for the audit trail.

@svc-nvidia-pr-review

Copy link
Copy Markdown

src/uct/ib/mlx5/gdaki/gdaki.c

minor: why register only 8 bytes (sizeof(uint64_t)) here in dedicated mode, while the shared mode registers UCT_IB_MLX5_BF_REG_SIZE * 2 for the same doorbell mapping? pls use the same length in both modes for consistency.

@svc-ucx

svc-ucx commented Oct 29, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (AddressSanitizer new on worker 0) · commit 7ba19708

TL;DR: The ASAN gtest run was killed by the 900 s gtest watchdog while rc_ud/test_ucp_wireup_fallback.est_num_eps_fallback/6 was hung — the RC/mlx5 data path stopped completing (flushes ended as "Request canceled" and the main thread was stuck inside ucp_worker_destroy waiting for pending UCT ep flush/discard), which points at this PR's mlx5 DEVX UAR/doorbell rework rather than at a too-short time limit.

Full analysis

Summary: make test aborted (Makefile:4971: test Aborted (core dumped)) because the gtest watchdog (test/gtest/common/test_helpers.cc:31,57, 900 s) timed out during rc_ud/test_ucp_wireup_fallback.est_num_eps_fallback/6, while the process was blocked in ucp_worker_destroy.

Root cause: A hang, not slowness. Timeline from the job log:

  • 11:53:17 test starts, 11:54:20 [INFO] Testing 255 number of EPs (last meaningful application output).
  • 8-minute silence (11:54:20 → 12:02:28) — no output at all.
  • 12:02:28–12:02:30 three times flush.c:109 UCX ERROR req 0x62e000165cc0: error during flush: Request canceled (i.e. ucp_ep_flush_completion got UCS_ERR_CANCELED for lanes whose UCT ops were purged).
  • Another ~6-minute silence, then at 12:08:43 the watchdog fires (test_helpers.cc:57: Failure / Connection timed out - abort testing), abort() → backtrace shows the watched thread inside ucp_worker_destroy+0x1179 (the loop that progresses the worker until discarded/flushed UCT eps complete), called from the test's test_ucp_wireup::cleanup() (test/gtest/ucp/test_ucp_wireup.cc:1178).

So at est_num_eps=255 (RC is still "scalable" because rc max_num_eps=256, so rc_mlx5/rc_verbs lanes are actually used) a transport endpoint had outstanding sends that never completed: send_recv/flush_worker stalled, the lane flushes came back canceled, and worker destroy then spun forever waiting for the flush/discard to finish. "Posted WQEs that are never fetched/completed" is exactly the failure mode of a wrong or mis-shared mlx5 doorbell/UAR mapping, and the only thing this PR changes is mlx5 DEVX UAR handling:

  • src/uct/ib/mlx5/ib_mlx5.h:90-94 — UCT_IB_MLX5_UAR_ALLOC_TYPE_NC now maps to MLX5DV_UAR_ALLOC_TYPE_NC_DEDICATED, with a bogus (1U << 31) fallback when the installed rdma-core/MOFED (this container is a MOFED 5.7 image) does not declare it; upstream's fallback was the real NC value (0x1).
  • src/uct/ib/mlx5/dv/ib_mlx5_dv.c:165-178,197-198,277 — the QPC uar_page can now be overridden by attr->uar_page_id while the host still rings the doorbell through tx->reg = &uar->super (possibly a different, worker-cached UAR); any mismatch silently leaves WQEs unfetched.
  • Ownership asymmetry: attr->uar is documented as caller-owned (ib_mlx5.h:681-685), but uct_ib_mlx5_qp_mmio_cleanup() (src/uct/ib/mlx5/ib_mlx5.c:985-990) unconditionally calls uct_worker_tl_data_put(uar, ...) on tx->reg for DEVX QPs, and create_qp_common takes no reference in the attr->uar != NULL path — a refcount underflow that can free/unmap a UAR still used for doorbells.

Secondary note: the agent also logged ##[warning]Free memory is lower than 5%; Currently used: 95.48% at 11:52:53, i.e. the node was nearly out of memory right before this test; worth ruling out as an aggravating factor, but it does not explain canceled flushes plus a 14-minute stall.

Implicated commit: ad87f2d9 "UCT/IB/MLX5: Use dedicated NC UARs per QP" (Zihao Zhao), on top of which 7ba197085 / d713fc2c / 06a0a3ea "cleanup" are the tested HEAD of PR #12180.

File: src/uct/ib/mlx5/ib_mlx5.h:90-94; src/uct/ib/mlx5/dv/ib_mlx5_dv.c:165-178,197-198,277-288; src/uct/ib/mlx5/ib_mlx5.c:985-990 (hang observed at test/gtest/ucp/test_ucp_wireup.cc:1148-1178)

Suggested fix:

  1. Fix the compile-time fallback: when MLX5DV_UAR_ALLOC_TYPE_NC_DEDICATED is not declared, fall back to the plain NC type (0x1) instead of (1U << 31), which is not a valid mlx5dv_devx_alloc_uar() flag and makes UAR allocation behaviour depend on the build image (this CI node runs a MOFED 5.7 container).
  2. Keep the doorbell register and the QPC uar_page consistent: in uct_ib_mlx5_devx_create_qp_common, assert/ensure that when tx != NULL and the host rings the doorbell, attr->uar_page_id == uar->uar->page_id, and only allow the uar_page_id override for QPs whose doorbell is rung from another context (DPA/GDA).
  3. Make UAR ownership explicit: either take a uct_worker_tl_data reference for a caller-supplied attr->uar, or flag it in the txwq so uct_ib_mlx5_qp_mmio_cleanup() does not uct_worker_tl_data_put() a caller-owned UAR (today it does, contradicting the comment in ib_mlx5.h:681-685).
  4. Reproduce locally with UCX_LOG_LEVEL=debug ./gtest --gtest_filter='rc_ud/test_ucp_wireup_fallback.est_num_eps_fallback*' and dump the chosen UAR alloc type/mmio mode plus the stuck QP's sw_pi/hw_ci to confirm the doorbell is reaching the HW. Do not raise the watchdog timeout — the log shows a true stall, not progress.

Related: PR #12180 (#12180); related earlier UAR-type fix for reference: #11310 "UCT/IB/MLX5: Fix DEVX for not WC-supported UAR" (commit [REDACTED:Hex High Entropy String]).

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 326e8022-1fd9-4d04-8a29-92586b3d96eb in the triage console for the audit trail.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Review complete — no issues found.

@svc-ucx

svc-ucx commented Oct 30, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Tests new on worker 3) · commit 6d1f9220

TL;DR: The gtest binary aborted in tcp/test_ucp_rma.put_nonblocking/2 <tcp,cuda_copy,rocm_copy/user_memh> with a data-validation failure followed by rcache.c:396 Assertion '!(region->flags & UCS_RCACHE_REGION_FLAG_PGTABLE)' failed — a UCT/TCP PUT-ACK race acknowledges a PUT before its payload has been copied, completing the UCP zcopy request early and then completing it a second time on the real ACK, which double-releases the memh (rcache refcount underflow). This is in the TCP transport only and is unrelated to the IB/mlx5 UAR changes of PR #12180.

Full analysis

Summary: tcp/test_ucp_rma.put_nonblocking/2 first reported test_ucp_memheap.cc:115: data validation failed, then the process aborted on an rcache assertion while releasing a memory handle from a TCP PUT-ACK completion (core dumped, make: *** [Makefile:4971: test] Aborted).

Root cause: Two symptoms, one mechanism in the UCT TCP PUT protocol:

  • Receiver side: uct_tcp_ep_handle_put_req() stores ep->rx.put_sn = put_req->sn (src/uct/tcp/tcp_ep.c:1424) before the PUT payload is fully received (uct_tcp_ep_put_rx_advance() may return UCS_INPROGRESS). uct_tcp_ep_post_put_ack() is also driven from the TX progress path (tcp_ep.c:1356-1358) using that rx.put_sn, so an ACK can be sent for a PUT whose data has not been copied yet. The sender then treats the PUT as complete, flush_worker() returns, and mem_buffer::compare() sees stale target data → "data validation failed".
  • Sender side: uct_tcp_ep_handle_put_ack() (tcp_ep.c:1028-1033) extracts and invokes every queued completion with wait_put_sn <= ack->sn. When the real/duplicate ACK arrives after the request was already completed, ucp_proto_request_zcopy_completion() → ucp_datatype_iter_cleanup() → ucp_memh_put() (src/ucp/core/ucp_mm.inl:103) runs a second time on the same memh. The region's refcount reaches 0 while it is still inserted in the page table, tripping ucs_assert(!(region->flags & UCS_RCACHE_REGION_FLAG_PGTABLE)) at src/ucs/memory/rcache.c:396.

The failing variant uses only tcp,cuda_copy,rocm_copy — no mlx5 device path is exercised — and neither rcache.c, ucp_mm.inl, datatype_iter.inl nor tcp_ep.c is touched by a "dedicated UAR per QP" change, so the PR under test is almost certainly not the trigger (pre-existing/flaky TCP PUT race).

Implicated commit: unknown (not PR #12180's IB/mlx5 UAR change; latest relevant touch of the RX path is 413775a3 "UCT/TCP: Validate AM receive length (#12081)", Roie Danino — unrelated to the ACK/sn accounting)

File: src/uct/tcp/tcp_ep.c:1424 (premature rx.put_sn update) and src/uct/tcp/tcp_ep.c:1028-1033 (uct_tcp_ep_handle_put_ack completion extraction); assertion site src/ucs/memory/rcache.c:396

Suggested fix:

  1. Only publish the PUT sequence number once the payload is fully received: move ep->rx.put_sn = put_req->sn; out of uct_tcp_ep_handle_put_req() into uct_tcp_ep_put_rx_advance() on the put_req->length == 0 branch, so uct_tcp_ep_post_put_ack() can never ACK a partially received PUT.
  2. Harden uct_tcp_ep_handle_put_ack() against stale/duplicate ACKs (e.g. ignore ACKs with sn not newer than the last processed one, and assert ep->flags & UCT_TCP_EP_FLAG_PUT_TX_WAITING_ACK before invoking queued completions) so a late ACK cannot invoke an already-completed uct_completion_t.
  3. Meanwhile, re-run this Azure job on the PR branch to confirm it reproduces without the UAR changes, and file a UCT/TCP issue with this backtrace rather than blocking PR [WIP][DNM] UCT/IB/MLX5: Use dedicated UARs per QP #12180.

Related: PR #12180 (branch under test, UCT/IB/MLX5: Use dedicated UARs per QP); #12081 (last change to the TCP AM RX path). No existing issue found for this assertion signature.

Separate ordered WQE publication from serialized doorbell submission. Use a lock and a monotonic producer index so delayed ring calls cannot regress the doorbell or block deferred publication during MMIO. Keep the device QP size at 128 bytes.
@jeynmann jeynmann changed the title UCT/IB/MLX5: Use dedicated UARs per QP [WIP][DNM] UCT/IB/MLX5: Use dedicated UARs per QP Nov 5, 2026
@jeynmann
jeynmann requested a review from a team as a code owner November 5, 2026 12:41
@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

Keep GPU sharing by default and permit CTA-confined experiments through a compile-time contract. Apply the selected scope consistently to reservations, rollback, ready publication, doorbell locking and PI updates. Retain GPU fences around MMIO and document validation limits and coordinated rebuild requirements.
@jeynmann
jeynmann force-pushed the gdaki_dedicated_uar branch from 1be6002 to dcae7ee Compare November 5, 2026 12:49

if (dedicated_uar) {
status = uct_rc_gdaki_channel_uar_init(iface, channel);
#if 0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

blocker — leftover #if 0 block. Please drop the #if 0 alternative and keep only:

Suggested change
#if 0
status = uct_rc_gdaki_channel_uar_init(iface, channel);

Dead code should not be merged.

if (!skip_db) {
doca_gpu_dev_verbs_lock<
UCT_RC_GDAKI_RESOURCE_SHARING_MODE>(&qp->sq_lock);
const uint64_t old_pi = doca_gpu_dev_verbs_atomic_max<

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

blocker — flush bypasses the new doorbell lock. uct_rc_mlx5_gda_ep_flush(UCT_DEVICE_FLAG_PUSH) still calls uct_rc_mlx5_gda_push_db(), which rings the doorbell outside sq_lock and never updates sq_wqe_pi. After such a push, a deferred producer can take the lock, see old_pi < wqe_next for a smaller wqe_next, and write a lower value to DBREC — moving the producer index backwards, which is exactly what the new monotonic PI is meant to prevent. Please route the flush push through the same lock/atomic_max path.

Comment thread src/uct/ib/mlx5/gdaki/gdaki.cuh Outdated
auto dbrec_ptr = &ep->qps[cid].qp_dbrec[MLX5_SND_DBR];

while (READ_ONCE(qp->sq_ready_index) != wqe_base) {
const bool skip_db = !(flags & UCT_DEVICE_FLAG_NODELAY);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Dropped the periodic doorbell: skip_db lost the !((wqe_base ^ wqe_next) & 128) term, so a non-NODELAY post now never rings a doorbell. Why was this removed? Without it, a kernel that posts more deferred WQEs than the SQ depth before any flush or NODELAY op spins forever in UCT_RC_GDA_RESV_WQE_NO_RESOURCE, since no CQE can arrive to advance uct_rc_mlx5_gda_max_alloc_wqe_base().

Comment thread docs/gdaki-nccl-alignment.md Outdated
@@ -0,0 +1,67 @@
# GDAKI alignment with NCCL GIN

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Developer scratch notes: this reads as working notes rather than project documentation — it references a branch SHA (2ba29c3c9), a local align.diff, and "a temporary host harness", and docs/ otherwise only holds the style guides, doxygen, and sphinx sources, so nothing picks this file up. Please drop it, and move the part that users actually need (the UCT_RC_GDAKI_RESOURCE_SHARING_MODE compile-time contract) next to the macro in gdaki.cuh or into src/uct/ib/AGENTS.md.

@svc-nvidia-pr-review

Copy link
Copy Markdown

PR-level scope: this PR mixes the host-side UAR_ALLOC_MODE feature with an unrelated device-side doorbell/fence/resource-sharing rewrite in gdaki.cuh + gdaki_dev.h. Per REVIEW.md, feature PRs should not carry unrelated changes — please split the device synchronization rework into its own PR so the two can be benchmarked and bisected independently.

Residual coverage gap: the device-side changes (doorbell serialization, sq_wqe_pi, CTA vs GPU sharing scopes) have no test coverage in this PR; test_device.cc only varies the UAR allocation mode, and CTA mode is not exercised at all since it requires rebuilding device consumers with -DUCT_RC_GDAKI_RESOURCE_SHARING_MODE=....

Residual coverage gap: dedicated UAR mode runs only on real rc_gda hardware; the failure paths (uct_rc_gdaki_channel_uar_init() on BAR exhaustion, the shared-UAR uct_worker_tl_data_get() failure at err_destroy_qp, and cuMemHostRegister() failure in uct_rc_gdaki_channel_get_dev_sq_db()) are untested.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

&channel->uar.dedicated.qp_uar,
uct_ib_mlx5_iface_md(&iface->super.super.super),
qp_attr.mmio_mode);
#endif

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

pls remove the leftover #if 0 block.

Suggested change
#endif
status = uct_rc_gdaki_channel_uar_init(iface, channel);

Dead code committed inside the new dedicated-UAR path. Impact: confusing (it suggests two competing implementations of the same step) and it will be flagged in any later cleanup pass.

uar->super.mode = UCT_IB_MLX5_MMIO_MODE_DB;
uar->ctx = md->super.dev.ibv_context;
return UCS_OK;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

uct_rc_gdaki_channel_uar_init() duplicates uct_ib_mlx5_devx_uar_init() and silently changes the UAR type: it is a copy with the alloc type hardcoded to UCT_IB_MLX5_UAR_ALLOC_TYPE_NC, while the shared path keeps using WC when UCT_IB_MLX5_MD_FLAG_UAR_USE_WC is set (and uct_gdaki_md_check_uar() already proves a WC UAR can be registered with CUDA). Why not add the alloc type as a parameter to uct_ib_mlx5_devx_uar_init() and reuse it here? As written, dedicated QPs get a different doorbell mapping than the shared path with no explanation, and it can fail on devices without NC_DEDICATED support; it also conflicts with the root AGENTS.md rule against duplicating implementation patterns. Pls add a comment if NC is required for the GPU-mapped doorbell.

Comment thread src/uct/ib/mlx5/gdaki/gdaki.cuh Outdated
auto dbrec_ptr = &ep->qps[cid].qp_dbrec[MLX5_SND_DBR];

while (READ_ONCE(qp->sq_ready_index) != wqe_base) {
const bool skip_db = !(flags & UCT_DEVICE_FLAG_NODELAY);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The doorbell is now never rung without NODELAY: skip_db loses the !((wqe_base ^ wqe_next) & 128) term, so a producer that never passes UCT_DEVICE_FLAG_NODELAY depends entirely on uct_device_ep_flush(..., UCT_DEVICE_FLAG_PUSH); uct_rc_mlx5_gda_ep_progress() is empty and check_completion() only reads the CQE. Impact: ucp_device_put(..., flags=0) followed by ucp_device_progress_req() alone can no longer complete, where before it progressed every 128 WQEs. Is the user now required to always push, even when only polling ucp_device_progress_req?

@svc-ucx

svc-ucx commented Nov 6, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Tests gpu on worker 2) · commit dcae7ee2

TL;DR: rc_gda/test_ucp_device_xfer.put_stress_test/11 <.../warp/lazy_without_req> hung for exactly 15 min inside the CUDA kernel (gtest watchdog aborted at cudaDeviceSynchronize), because in lazy (non-NODELAY) mode nothing rings the SQ doorbell anymore after the "remove ring per 128 put" change, so the send queue fills up and the NO_RESOURCE retry loop spins forever. Restore a periodic doorbell ring (flow-control threshold) in uct_rc_mlx5_gda_db() and/or make uct_rc_mlx5_gda_ep_progress() actually ring the pending doorbell.

Full analysis

Summary: Azure job "gpu on worker 2" failed with make: *** [Makefile:4993: test] Aborted (core dumped) after gtest's watchdog fired: test_helpers.cc:57: Failure / Connection timed out - abort testing, with the backtrace ending in cudaDeviceSynchronize → cuCtxSynchronize — i.e. a hung GPU kernel, not a crash.

Root cause: Log timestamps show the last test line at 03:51:13.906 ([ RUN ] rc_gda/test_ucp_device_xfer.put_stress_test/11 <rc,rc_gda,cuda_copy,rocm_copy/cuda/warp/lazy_without_req>) and the next line at 04:06:13.798 — a 15-minute silence with zero output, so the process was hung, not slow. The hang is a device-side deadlock:

  • put_stress_test runs with num_iters=1000, num_threads=128, and variant LAZY_WITHOUT_REQ → params.with_no_delay = false, with_request = false, so UCT_DEVICE_FLAG_NODELAY is not set and no completion request is used.
  • In uct_rc_mlx5_gda_db() (src/uct/ib/mlx5/gdaki/gdaki.cuh:226-265), skip_db = !(flags & UCT_DEVICE_FLAG_NODELAY) is true, and the whole doorbell block (doca_gpu_dev_common_ring_db / update_dbr) is skipped unconditionally. After commit [REDACTED:Hex High Entropy String] ("remove ring per 128 put") there is no longer any periodic ring, even though the per-sq_fc_mask CQ_UPDATE flow-control flag is still being set in uct_rc_mlx5_gda_ep_single() (gdaki.cuh:295).
  • Consequently the HW never fetches WQEs, the CQ wqe_counter/pi never advances, uct_rc_mlx5_gda_reserv_wqe_thread() keeps returning UCT_RC_GDA_RESV_WQE_NO_RESOURCE once 128 threads × iterations exceed sq_wqe_num, and UCP_DEVICE_SEND_BLOCKING (src/ucp/api/device/ucp_device_impl.h:90-105) retries forever. Its only escape hatch, uct_device_ep_progress(), maps to uct_rc_mlx5_gda_ep_progress(), which is an empty function (gdaki.cuh:377-380). Infinite spin → cudaDeviceSynchronize never returns.

Implicated commit: [REDACTED:Hex High Entropy String] "UCT/IB/MLX5: remove ring per 128 put" (Zihao Zhao), on PR #12180 branch gdaki_dedicated_uar; build HEAD dcae7ee "UCT/IB/MLX5: uar nc" (Zihao Zhao)

File: src/uct/ib/mlx5/gdaki/gdaki.cuh:226-265 (uct_rc_mlx5_gda_db, skip_db path); related: gdaki.cuh:377-380 (empty uct_rc_mlx5_gda_ep_progress), src/ucp/api/device/ucp_device_impl.h:90-105

Suggested fix:

  1. Re-introduce the deferred-mode doorbell ring in uct_rc_mlx5_gda_db(): even when skip_db is set, ring when the flow-control boundary is crossed, e.g. ring if uct_rc_mlx5_gda_fc(ep, (uint16_t)wqe_next) is true (or when wqe_next - qp->sq_wqe_pi >= sq_fc_mask), so HW consumes WQEs and the CQ pi advances.
  2. Independently, make uct_rc_mlx5_gda_ep_progress() non-empty — have it flush any sq_ready_index > sq_wqe_pi by ringing the doorbell — so the UCP_DEVICE_SEND_BLOCKING NO_RESOURCE retry loop can always make forward progress instead of deadlocking.
  3. Unrelated cleanup needed before merge: remove the dead #if 0 block in src/uct/ib/mlx5/gdaki/gdaki.c:670-675, and note that the dedicated-UAR registration length is sizeof(uint64_t) (gdaki.c:699-701) vs UCT_IB_MLX5_BF_REG_SIZE * 2 for the shared path — worth double-checking once the hang is fixed.

Related: PR #12180 ([WIP][DNM] UCT/IB/MLX5: Use dedicated UARs per QP) — #12180

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id e49277ad-ce7b-48e1-94da-9fffa0d75724 in the triage console for the audit trail.

ofirfarjun7 and others added 4 commits November 9, 2026 10:55
UCP/DEVICE: Add UCP_DEVICE_FLAG_NO_DB flag
sq_wqe_num is a power of two, so the crossing test works with it; it
is also the largest batching interval that cannot starve completions:
when the reservation limit is hit, the last boundary crossing has
already rung at least one WQE for the NIC to complete.
@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

typedef enum {
UCT_DEVICE_FLAG_NODELAY = UCS_BIT(0) /**< Complete before return. */
UCT_DEVICE_FLAG_NODELAY = UCS_BIT(0), /**< Complete before return. */
UCT_DEVICE_FLAG_NO_DB = UCS_BIT(1), /**< Post without ringing the

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

blocker: UCS_BIT(1) is already taken by UCT_DEVICE_FLAG_PUSH on the target branch (and uct_rc_mlx5_gda_ep_flush() tests it), so after rebase NO_DB and PUSH would be the same bit of the same enum. Pls rebase and pick a free bit here and in UCP_DEVICE_FLAG_NO_DB.

Evidence: the diff pre-image of this enum contains only UCT_DEVICE_FLAG_NODELAY, while the base branch has UCT_DEVICE_FLAG_NODELAY = UCS_BIT(0), UCT_DEVICE_FLAG_PUSH = UCS_BIT(1) (uct_device_types.h:68-69) plus UCP_DEVICE_FLAG_PUSH (ucp_device_impl.h:40-41), and gdaki.cuh:408 uses UCT_DEVICE_FLAG_PUSH.

}

if (dedicated_uar) {
status = uct_rc_gdaki_channel_uar_init(iface, channel);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

pls remove the leftover #if 0 block.

Suggested change
status = uct_rc_gdaki_channel_uar_init(iface, channel);
status = uct_rc_gdaki_channel_uar_init(iface, channel);

ucs_derived_of(iface->super.super.super.super.md,
uct_ib_mlx5_md_t);
ucs_status_t status;
status = uct_ib_mlx5_devx_alloc_uar(

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

why force UCT_IB_MLX5_UAR_ALLOC_TYPE_NC here, while the shared path goes through uct_ib_mlx5_devx_uar_init() and uses WC when UCT_IB_MLX5_MD_FLAG_UAR_USE_WC is set? pls add a comment if NC is required for the CUDA mapping.

while (!ref.compare_exchange_strong(wqe_base, wqe_next,
cuda::std::memory_order_relaxed)) {
wqe_base = wqe_base_orig;
const uint64_t qp_depth = uct_rc_mlx5_load_const(&ep->sq_wqe_num);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

why change the doorbell batching threshold from the fixed 128 to the full SQ depth? with sq_wqe_num (1024 by default) this bit flips only once per queue wrap, so an op without NODELAY may be deferred until the SQ is almost full or an explicit PUSH/flush arrives.

doca_gpu_dev_verbs_fence_acquire<uct_rc_gdaki_sync_scope>();

if (!skip_db) {
doca_gpu_dev_verbs_lock<

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

uct_rc_mlx5_gda_ep_flush() -> uct_rc_mlx5_gda_push_db() still rings the doorbell without sq_lock and without the sq_wqe_pi max, so a PUSH racing with this block can write a dbr value lower than the one already published here. should flush use the same lock/pi?

@svc-nvidia-pr-review

Copy link
Copy Markdown

Residual coverage gaps: dedicated UAR mode runs only on real rc_gda hardware; the failure paths (uct_ib_mlx5_devx_alloc_uar() on BAR exhaustion, shared-UAR uct_worker_tl_data_get() failure at err_destroy_qp, cuMemHostRegister() failure in uct_rc_gdaki_channel_get_dev_sq_db()) are untested.

Residual coverage gap: the device-side rework (doorbell serialization, sq_wqe_pi, CTA vs GPU sharing scope) has no test in this PR; CTA mode is unreachable without rebuilding consumers with -DUCT_RC_GDAKI_RESOURCE_SHARING_MODE=....

I could not verify the new DOCA GPUNetIO symbols (doca_gpu_dev_verbs_atomic_max, doca_gpu_dev_verbs_lock/unlock, DOCA_GPUNETIO_VERBS_RESOURCE_SHARING_MODE_*): src/uct/ib/mlx5/gdaki/gpunetio points to external/gpunetio/include, which is absent from the checkout, so a minimum DOCA version bump may be needed.

This branch has not been deployed

No deployments
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.

5 participants