Skip to content

bench: SDS on Aurora (Intel Max 1550) against the cuDSS H200 rows, docs summary - #197

Open
michel2323 wants to merge 3 commits into
mainfrom
bench/aurora-comparison
Open

michel2323 wants to merge 3 commits into
mainfrom
bench/aurora-comparison

Conversation

@michel2323

Copy link
Copy Markdown
Member

No issue (benchmark run, not a task).

Task: none. Requested by the owner: the cuDSS vs SDS comparison on Aurora, with the results summarized in the docs and not in the README.

What was built:

  • bench/compare.jl: --backend=oneapi (oneArray / oneSparseMatrixCSR, oneAPI.synchronize, device name) and --out=<csv basename>, so the H200 sds.csv isn't overwritten. bench/compare_report.jl: --sds=<csv> and --tag=<suffix>. The plot title names both devices when they differ. The default output is byte-identical. bench/matrices.jl reads local SuiteSparse copies from bench/data/suitesparse/ first, since the SuiteSparse server refuses ALCF. bench/Project.toml adds oneAPI (compat 2.10).
  • bench/aurora/compare.pbs and compare_all.sh: a chain of debug-scaling jobs that fills bench/comparison/sds_aurora.csv (134 rows, one Max 1550 tile, ONEAPI_SYNC_EACH_SUBMISSION=1). The report is in comparison_aurora.{md,png}, measured against the H200 cuDSS 1.0 rows, so the ratios compare different devices. bench/README.md documents the workflow.
  • docs/src/man/performance.md: a short Aurora subsection. Compared with SDS on the H200, it is about 4× slower in the refactorization and 2.4× in the solve, growing to 40–75× on large fronts. Compared with cuDSS on the H200, it is about 20× slower overall and 8× on the KKT refactorization. It links the per-matrix report and has no plot in the docs. expectations.md: the oneAPI caveat gets the same factor.

Tests: no package code changed. compare_report.jl without arguments reproduces comparison.md byte for byte. The docs were not built locally (that needs CUDA); I'm relying on the Documentation.yml preview.

Deviations from PLAN.md / TASKS.md: none.

Follow-up issues opened: #196 (route potrf to oneMKL on oneAPI: 15–28× faster refactorization on large fronts). Upstream: JuliaGPU/oneAPI.jl#766 (oneMKL potrf per-column latency, small-call cost, queued launches slower than synced ones).

🤖 Generated with Claude Code

https://claude.ai/code/session_01MsLzHhrCJqDGKXUKK8Fdtv

michel2323 and others added 2 commits November 10, 2026 20:11
…cs subsection

compare.jl takes --backend=oneapi and --out=<csv basename>; compare_report.jl takes
--sds=<csv basename> and --tag=<suffix> (the default call writes the same
comparison.md as before) and names both devices in the plot title when they
differ. matrices.jl reads SuiteSparse matrices from bench/data/suitesparse/ when a
copy is there (the collection's file server refuses ALCF). bench/aurora/ holds the
PBS job and compare_all.sh, which chains debug-scaling jobs until every cuDSS row
has an Aurora row. The 134 rows, comparison_aurora.{md,png} and a subsection of
the Performance page; README.md unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MsLzHhrCJqDGKXUKK8Fdtv
The Performance page gives the Max 1550 against H200 factors (about 4x in
the refactorization, 2.4x in the solve, more on large fronts) and links the
per-matrix report; the plot is no longer copied into the docs assets. Points
to #196 (oneMKL potrf on oneAPI) for the large-front gap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MsLzHhrCJqDGKXUKK8Fdtv
@michel2323 michel2323 added the claude:pr PR opened by the Claude implementer; handled by the Claude pipeline label Nov 12, 2026
Comment thread bench/README.md Outdated

```bash
# the whole run: a chain of debug-scaling jobs, one at a time, resumable
nohup bench/aurora/compare_all.sh <project> > bench/comparison/aurora_logs/compare_all.log 2>&1 &

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit (non-blocking): this redirect targets bench/comparison/aurora_logs/, but that directory is gitignored and only created by compare_all.sh itself (mkdir -p "$logs"), after the shell has already tried to open the log. On a fresh checkout the command fails with "No such file or directory" before the script starts. Either prepend mkdir -p bench/comparison/aurora_logs &&, or log to compare_all.log in the working directory as the header of compare_all.sh documents, so the two match.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in a1a42d1: logs to compare_all.log in the working directory, as in the header of compare_all.sh.

Comment thread docs/src/man/expectations.md Outdated
oneMKL call synchronizes the host, and the LAPACK steps (`potrf`, `getrf`)
run on the KernelAbstractions kernels, which are slow on wide fronts.
run on the KernelAbstractions kernels, which are slow on wide fronts:
roughly 4× slower than on an H200 overall, much more on large fronts (see

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit (non-blocking): "roughly 4× slower than on an H200 overall" quotes the refactorization figure only; the Performance page gives 4× for the refactorization and 2.4× for the solve (both consistent with the CSVs). Suggest "roughly 4× slower than on an H200 in the refactorization and 2.4× in the solve" so the two pages say the same thing.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in a1a42d1: now "4× in the refactorization and 2.4× in the solve", matching the Performance page.

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

VERDICT: APPROVE (head c5a4af9)

Benchmark/docs PR, not a TASKS.md task (no issue; requested by the owner). Checked against AGENTS.md and the PR body.

Scope. Only bench/, docs/src/man/{performance,expectations}.md and .gitignore change. PLAN.md, TASKS.md, src/, ext/, test/ untouched; no Manifest.toml. No public names or parameter strings involved.

Code. compare.jl: the oneapi backend builds oneSparseMatrixCSR{T, Cint} from the CSC of the transpose exactly as test/backends.jl does (same constructor, 1-based Cint arrays), synchronizes through oneAPI.synchronize, and --out only changes the CSV basename; the default remains sds.csv/cudss.csv. compare_report.jl: --sds/--tag default to the previous paths and strings, read_rows returns an empty list for a missing file so the warning path is sound, and the plot title names both devices when they differ (verified in comparison_aurora.png); the ## Runs section of comparison_aurora.md also lists both devices and commits. matrices.jl: the local .mtx path expands symmetric storage in read_mtx, and the n/nnz columns of the Aurora rows match the H200 rows for every SuiteSparse matrix. compare_all.sh/compare.pbs: the per-row CSV merge exists in compare.jl (merge_csv after every matrix), the skip heuristic matches the rpad(f.id, 18) progress line, failed rows are not re-run.

Numbers in the docs vs the CSVs. Checked by hand from the three CSVs and the two overview tables: apache2 refactorization 38.7 s vs 0.512 s on the H200 (76×), lap3d_40 8.28 s vs 0.212 s (39×), the 78k-bus condensed KKT 0.463 s vs 0.072 s (6.4×), fused apache2 4.42 s vs 38.7 s stock; the per-feature Aurora/H200 ratios weighted by matrix count give about 4.1× refactorization and 2.4× solve over the 134 pairs; cuDSS Cholesky overview 21.3× (all) / 8.1× (KKT). All consistent with the text. The four commits between the H200 measurement (352271c) and the Aurora one (e95a302) touch no src/ or ext/, so both SDS measurements run the same numeric code despite the 0.2.0/0.3.0 labels. #196 exists with the found-by-agent label.

CI. Build documentation and build pass; the test legs and the ALCF pipeline are still pending, which is expected since no package code changed.

Blocking findings: none.

Non-blocking nits (inline): the README nohup redirect targets a directory the script creates only after it starts, so the documented command fails on a fresh checkout; expectations.md says "4× overall" where the Performance page distinguishes 4× refactorization / 2.4× solve.

…ve factors)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MsLzHhrCJqDGKXUKK8Fdtv

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

claude:pr PR opened by the Claude implementer; handled by the Claude pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant