Skip to content

DenseDistributed and DenseDisgDistributed, slab performance - #83

Merged
massimim merged 29 commits into
Autodesk:carbonfrom
giumal:carbon
Nov 24, 2026
Merged

massimim merged 29 commits into
Autodesk:carbonfrom
giumal:carbon

Conversation

@giumal

@giumal giumal commented Nov 24, 2026

Copy link
Copy Markdown

DenseDistributed and DenseDisgDistributed, slab performance

giumal and others added 29 commits November 2, 2026 18:23
…g, process_grid

Add lbm-dist-sweep-run.sh + lbm-dist-sweep.yml (N x GPUs x slab/pencil/brick x
NCCL/MPI-P2P x --hp-halo off/on, plus a 1-GPU ref run per N), the
plot_dist_scaling.py plotter and data/lbm-dist-sweep/reproduce.sh.
The distributed benchmark gains --reps with results.repetitions, timing marks
taken after a GPU drain plus Distributed::barrier(), and config.process_grid.
lbm_sweep_config.py loaders take optional key/choice tables.

Co-authored-by: Cursor <cursoragent@cursor.com>
The efficiency baseline is the 1-GPU dense-intra report of the single-process
DGX sweep (reference_dir / reference_prefix / reference_label), drawn as a
separate marker. gpus is replaced by gpus_slab (2..8), gpus_pencil (4 8) and
gpus_brick (8), the counts whose process grid differs from a slab.

Co-authored-by: Cursor <cursoragent@cursor.com>
…8 / pencil 4,8 / brick 8 GPUs

NCCL halos with --hp-halo off and on, --overlap standard, 400 warmup + 5 x 1000
timed steps, 8x A100-SXM4-40GB. Efficiency vs the lbm-dgx-sweep 1-GPU dense-intra
runs. At 8 GPUs, hp-halo raises efficiency from 0.71/0.61/0.46 to 0.89/0.79/0.55
(slab/pencil/brick) at N=256 and from 0.91/0.86/0.65 to 0.96/0.95/0.73 at N=512.

Co-authored-by: Cursor <cursoragent@cursor.com>
… launch-matrix DOT default

- DenseDisgDistributed: disaggregated SoA grid on a ProcessGrid (slab, pencil,
  brick) with HaloDisgDistributed (single ncclGroup, zero-copy exchange),
  CUDA/SYCL launch + reduce backends, host and MPI tests.
- Slab specialization: StorageKind + TypedSpan<Kind> compile-time span tag so
  Partition::read/write/read_pull/neighbour drop ghost_x/ghost_y branches;
  D3Q19 BGK fast kernel as a functor. 8-GPU slab N=256 standard overlap:
  48.4k MLUPS vs 47.6k for DenseDisg (was 30.5k).
- Skeleton: export_dot / --export-dot now write the launch-matrix format;
  stream-cluster view moves to the _streams.dot sidecar.
- LBM disg-vs-dense sweep config, plotting script and results.

Co-authored-by: Cursor <cursoragent@cursor.com>
@autodesk-chorus

Copy link
Copy Markdown

Chorus detected one or more security issues with this pull request. See the Checks tab for more details.

As a reminder, please follow the secure code review process as part of the Secure Coding Trust Commitment requirement.

@massimim
massimim merged commit 3102ead into Autodesk:carbon Nov 24, 2026
13 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants