Repository navigation
docs: attribute the supernodal 468080 B to the measured call site (#340) - #341
Merged
Merged
Conversation
Member
Author
GPT-6.1-sol adversarial reviewCRITICAL: none Critical (must not merge)none Needs changesnone Unverified claims
Checked and fine
Reviewed head: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
#339narrowed two sentences that#337had left onmain. One of them ended with "its call site was not traced". It has beentraced since, in #340, so this replaces the gap with the measurement instead of leaving a stale disclaimer on
main.Measured (in #340, at
e756f13and atb989876, two runs each, release, counting allocator with backtraces at a size cap):Vec<usize>of 58510 elements, allocated three times persymbolic analysis (1404240 B in total) inside
cholesky::supernodal::ghost_factorize_supernodal_symbolic.4 · n · size_of::<I>()) only sizes aMemBuffer; it never appears as an allocation of its own.StackReqcomposition is reproduced exactly:64000 + 79928 + max(32000, 48000, 96000, 64000) = 239928, and the "before"figure is
or(332712, 239928) = 332712.#337removes is the COLAMD request from theor,which is why the simplicial largest drops from 332712 B to 239928 B and the supernodal one does not move.
Both files keep the entry on one physical line: a GitHub table cannot continue a cell across lines, which is how an earlier revision
of #339 split one entry into five rows.
Where the numbers come from (and what is not in this commit)
The probe is a throwaway crate that was never committed: two
/tmpclones of the checkout, each driven by a path-dependencyprobe that runs #322's 2000 x 2000, nnz = 7990 program with a counting global allocator (hooks
alloc/alloc_zeroed/realloc,a re-entrancy flag so that recording is invisible to the counters, and a backtrace captured only at or above a size cap and only
inside the measured window). The method, the toolchain, both revisions' full counter tables (two runs each) and the allocation
backtraces are in the #340 report comment: #340 (comment).
What this means for a reader of
main:presenting it as this commit's result.
chosen, or that the numeric result agrees across thresholds:
faer/tests/public_sparse_qr_symbolic.rs:32-50picks between thearms on a 2 x 2 input, and
faer/tests/sparse_lu_components.rs:36-55runsAUTO/FORCE_SUPERNODAL/FORCE_SIMPLICIALon asmall banded matrix. Neither forces the supernodal arm at n = 2000, so neither corroborates these figures.
e756f13andb989876in release mode withCARGO_PROFILE_RELEASE_DEBUG=1 CARGO_PROFILE_RELEASE_STRIP=none, forcingSupernodalThreshold::FORCE_SUPERNODALfor LU and QR,and record the largest single allocation plus its backtrace, twice per case.
Verification
Docs only. The numbers are the ones posted in #340; I did not re-run them here, and the entry says where they come from rather than
presenting them as this commit's measurement.