Skip to content

(bugfix) mlx barrier hung#428

Merged
QizhouZhang97 merged 1 commit into
dev/ccofrom
bugfix/mlx5_barrier
Jun 26, 2026
Merged

(bugfix) mlx barrier hung#428
QizhouZhang97 merged 1 commit into
dev/ccofrom
bugfix/mlx5_barrier

Conversation

@QizhouZhang97

Copy link
Copy Markdown
Contributor

Fix GDA barrier hang on MLX5

The barrier deadlocked on MLX5: a rank rang all N atomic-signal doorbells, but
peers saw only one and spun forever in the phase-2 wait.

Cause: the multi-lane path assumed MLX5's per-QP dbrAddr made doorbell stores
independent, so lanes rang directly. On this GPU the per-QP doorbell stores
issued in one SIMT step coalesce — only one survives, the rest are dropped, so
those QPs' WQEs are never fetched and peers hang.

Fix: route MLX5 through the same per-lane serialized ringDoorbellWalk PSD/BNXT
already use.

@QizhouZhang97 QizhouZhang97 requested a review from jhchouuu June 25, 2026 12:26
@QizhouZhang97 QizhouZhang97 merged commit 5626897 into dev/cco Jun 26, 2026
@QizhouZhang97 QizhouZhang97 deleted the bugfix/mlx5_barrier branch June 26, 2026 02:31
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.

2 participants