Repository navigation
UCT/CUDA/CUDA_IPC: Release unused cache entry at rkey release. - #12108
Conversation
a54ca4c to
a797450
Compare
a797450 to
8ca1782
Compare
8ca1782 to
5726508
Compare
|
🤖 Starting review — findings will be posted here when done. |
5726508 to
ecb137c
Compare
ecb137c to
5ee5af2
Compare
|
Residual coverage gap: no gtest exercises the new UCT flag or the new cache-release function; validation depends on the CUDA MPI job only. |
|
🤖 Starting review — findings will be posted here when done. |
|
/azp run UCX PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
🤖 CI Triage Agent — TL;DR: The "Build for tests" step died with exit 243 because Open MPI's rsh launcher could not find an Full analysisSummary: Root cause: Environment/infrastructure, not the PR. The build, Implicated commit: unknown (not a code regression; the head commit File: Suggested fix: Two complementary options:
Also worth confirming whether the Related: none found (searches for |
|
Residual coverage gap: |
|
🤖 Starting review — findings will be posted here when done. |
2bd45e8 to
9303c0d
Compare
|
🤖 Starting review — findings will be posted here when done. |
|
Residual coverage gap: the flag path is exercised only by the CUDA MPI tests, and the no-mapping case from finding 1 (rkey unpacked but never mapped, then destroyed) is not covered by any test - a gtest on |
|
🤖 CI Triage Agent — TL;DR: Full analysisSummary: gtest Root cause: Backtrace: In Implicated commit: a1fb590 "UCT/API/V2: Added flag to free unused mappings at rkey release" (Raul Akhmetshin), carried by 81170eb / 9303c0d on this branch File: src/uct/cuda/cuda_ipc/cuda_ipc_cache.c:649-660 (crash site Suggested fix:
pgt_region = UCS_PROFILE_CALL(ucs_pgtable_lookup, &cache->pgtable, d_bptr);
if (pgt_region == NULL) {
/* nothing was mapped for this rkey (e.g. peer accessibility was
* already cached) - nothing to release */
ucs_assert(mapped_addr == NULL);
pthread_rwlock_unlock(&cache->lock);
return;
}
region = ucs_derived_of(pgt_region, uct_cuda_ipc_cache_region_t);
Related: PR #12108 (this PR); prior work on this cache: #11744, #11501, #11364, #11730 |
|
🤖 Starting review — findings will be posted here when done. |
|
No blockers found: the The The already-reported Residual coverage gap: |
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 CI Triage Agent — TL;DR: The build failed on exactly one gtest — Full analysisSummary: Root cause: The failing test ( Implicated commit: b60d87b (jeffnvidia, 2026-09-30, "UCP/RKEY: Keep configurations at stable addresses (#11676)") — most recent commit touching File: test/gtest/ucp/test_ucp_proto.cc:829 (test body), test/gtest/ucp/test_ucp_proto.cc:439 ( Suggested fix:
Related: PR #12108 (this build), PR #11676 (added these assertions); no existing issue found for this test name. |
What?
Release unused cache entry at rkey release.
Why?
An alternative to #11870