feat(bench): the bandwidth each iterative solve reaches, its bytes counted by the kernels, against the triad - #152
Merged
Merged
Conversation
…unted by the kernels, against the triad
Merged
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.
Closes #142.
What
src/traffic.rs(crate-private): one counter of the bytes the iterative kernels move, by a stated model: each stored nonzero's value (16 B) and column index (8 B), each row pointer (8 B), each vector read or written (16 B a value), a gathered x counted once. Each kernel adds its bytes once a call, from all threads; the formulas are small functions, tested by hand.bench::Phase::bytes(serde default, so older JSON still reads) for each iterating phase,Measurement::gigabytes_per_second,bench::bytes_moved.photonoxide bench's report: a "Bandwidth (of the triad)" column, the GB/s reached and its share of the triad measured on the same threads (the roof, Williams et al. 2009, doi:10.1145/1498765.1498785), and the model in the report's header.What it shows (docs/benchmarks.md, Core Ultra 7 265K)
guide-qmr(symmetric QMR, 40³)guide-iluguide-multigriddiel-multigrid(864 k)strip-ports-multigrid(1.8 M)Checked
traffic's byte formulas by hand; a product and an ILU(0) solve add at least their bytes (other tests' kernels can only add).cargo test --release(363 passed), the studio's tests (35), clippy on both crates, rustdoc with-D warnings. docs/benchmarks.md regenerated; ROADMAP's harness item updated (the PARDISO/MUMPS export, feat(bench): matrices exported for PARDISO and MUMPS as external baselines (needs the owner's licence decision) #143, still waits on the licence decision).