Repository navigation
bench: SDS on Aurora (Intel Max 1550) against the cuDSS H200 rows, docs summary - #197
michel2323 wants to merge 3 commits into
Conversation
…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
|
|
||
| ```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 & |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Fixed in a1a42d1: logs to compare_all.log in the working directory, as in the header of compare_all.sh.
| 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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Fixed in a1a42d1: now "4× in the refactorization and 2.4× in the solve", matching the Performance page.
There was a problem hiding this comment.
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
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 H200sds.csvisn'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.jlreads local SuiteSparse copies frombench/data/suitesparse/first, since the SuiteSparse server refuses ALCF.bench/Project.tomladds oneAPI (compat 2.10).bench/aurora/compare.pbsandcompare_all.sh: a chain ofdebug-scalingjobs that fillsbench/comparison/sds_aurora.csv(134 rows, one Max 1550 tile,ONEAPI_SYNC_EACH_SUBMISSION=1). The report is incomparison_aurora.{md,png}, measured against the H200 cuDSS 1.0 rows, so the ratios compare different devices.bench/README.mddocuments 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.jlwithout arguments reproducescomparison.mdbyte 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
potrfto oneMKL on oneAPI: 15–28× faster refactorization on large fronts). Upstream: JuliaGPU/oneAPI.jl#766 (oneMKLpotrfper-column latency, small-call cost, queued launches slower than synced ones).🤖 Generated with Claude Code
https://claude.ai/code/session_01MsLzHhrCJqDGKXUKK8Fdtv