Skip to content

Add a benchmark for the per-group stream ordering of signal-pad ops - #29

Open
kapilsh wants to merge 1 commit into
symmem/stream-guard-data-testsfrom
symmem/stream-guard-bench
Open

kapilsh wants to merge 1 commit into
symmem/stream-guard-data-testsfrom
symmem/stream-guard-bench

Conversation

@kapilsh

@kapilsh kapilsh commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • bench_signal.py measures barrier, the CAS barrier and put_signal/wait_signal:
    • with the guard
    • without the guard
    • with the guard on two alternate streams
  • README: add the bench_signal.py commands.

Test plan

p50 issue time per operation on 2x GB200, guard on / off (us):

barrier CAS barrier put+wait
CUDA 53.6 / 48.7 53.2 / 45.2 102.1 / 88.7
NCCL 62.0 / 51.0 52.7 / 47.5 105.4 / 93.6

@kapilsh
kapilsh added this pull request to stack #26 November 12, 2026 18:11
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 12, 2026
@kapilsh
kapilsh force-pushed the symmem/stream-guard-bench branch from d4820fe to 51ba850 Compare November 16, 2026 15:26
@kapilsh
kapilsh removed this pull request from stack #26 November 16, 2026 15:28
@kapilsh
kapilsh added this pull request to stack #31 November 16, 2026 15:28
@kapilsh
kapilsh force-pushed the symmem/stream-guard-bench branch 6 times, most recently from 06ee96a to fef3d48 Compare November 19, 2026 19:26
@kapilsh
kapilsh removed this pull request from stack #31 November 20, 2026 02:41
@kapilsh
kapilsh force-pushed the symmem/stream-guard-bench branch from fef3d48 to f799d08 Compare November 20, 2026 02:41
@kapilsh
kapilsh added this pull request to stack #34 November 20, 2026 02:41
@kapilsh
kapilsh force-pushed the symmem/stream-guard-bench branch 2 times, most recently from 87b0c53 to 4a1dceb Compare November 22, 2026 14:05
@kapilsh
kapilsh removed this pull request from stack #34 November 22, 2026 14:30
@kapilsh
kapilsh added this pull request to stack #41 November 22, 2026 14:30
@kapilsh
kapilsh force-pushed the symmem/stream-guard-bench branch from 4a1dceb to 92d4ff5 Compare November 26, 2026 11:32
bench_signal.py times barrier, the CAS barrier and
put_signal/wait_signal with the guard, without it, and with the guard
across two streams.

p50 issue time per op on 2x GB200, guard on / off (us):

              barrier      CAS barrier   put+wait
    CUDA      53.6 / 48.7  53.2 / 45.2   102.1 / 88.7
    NCCL      62.0 / 51.0  52.7 / 47.5   105.4 / 93.6
@kapilsh
kapilsh force-pushed the symmem/stream-guard-bench branch from 92d4ff5 to bc6ccb9 Compare November 27, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant