How fast is each BLAS routine on this machine, with this library?
blas-microbenchmark times BLAS routines one by one, checks every result before timing it, and puts the libraries side by side on one page of charts.
- 1Install against your BLAS: a release, Spack or a container.
./configure && make && make install
- 2Run a routine over a sweep of sizes and threads.
bmb_dgemm -m 512:4096 -t 1:8
- 3Compare libraries and runs on one page of charts.
bmb_report *.json > report.html
- 104 benchmarks, one executable per BLAS routine, levels 1 to 3, in single, double and complex precision; the same options for all, each refusing the arguments it does not have.
- Numbers you can trust: every point checked against a reference before it is timed; the CPU, its frequency, the library and its version recorded with it.
- Eight BLAS libraries: OpenBLAS, BLIS, AMD AOCL-BLAS, Intel MKL, NVPL, ArmPL, Netlib, or all those FlexiBLAS loads, from one build.
- Made for HPC sites: a Spack package, a Docker image that Apptainer runs, and ReFrame tests.
Where to go next
The BLAS in five minutes: its levels, its precisions, what each routine computes.
From a release, with Spack, in a container, from git; checking the download.
Run a routine, read what it prints, sweep sizes and threads, save the results.
Measure several libraries, or runs, and see them side by side.
The eight libraries it builds against, how each is found and threaded.
Modules, Spack, Slurm, pinning and NUMA, Apptainer.
Every benchmark as a ReFrame test, with your references.
bmb_mcp and the skills: an AI agent measuring as the project does.
The manual: every option, how a number is measured, threads, outputs.
The whole suite, or a selection, at a profile's sizes, into one directory.
The manual of the report: series, charts, repeated runs and noise.
The table, CSV and JSON of a real run, and a report.
The documentation of blas-microbenchmark 1.11.0-dev, built from its main branch; its manual is also installed with it (man blas-microbenchmark).