blas-microbenchmark1.11.0-dev

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.

  1. 1Install against your BLAS: a release, Spack or a container.
    ./configure && make && make install
  2. 2Run a routine over a sweep of sizes and threads.
    bmb_dgemm -m 512:4096 -t 1:8
  3. 3Compare libraries and runs on one page of charts.
    bmb_report *.json > report.html
A chart from bmb_report: ddot GFLOP/s against vector size for OpenBLAS and BLIS, with the L1, L2 and L3 sizes marked
ddot with OpenBLAS and BLIS, the caches marked: one of the charts bmb_report draws.

Where to go next

What BLAS is

The BLAS in five minutes: its levels, its precisions, what each routine computes.

Install

From a release, with Spack, in a container, from git; checking the download.

Your first benchmarks

Run a routine, read what it prints, sweep sizes and threads, save the results.

Compare libraries

Measure several libraries, or runs, and see them side by side.

The BLAS libraries

The eight libraries it builds against, how each is found and threaded.

On an HPC cluster

Modules, Spack, Slurm, pinning and NUMA, Apptainer.

ReFrame tests

Every benchmark as a ReFrame test, with your references.

With an AI agent

bmb_mcp and the skills: an AI agent measuring as the project does.

Overview

The manual: every option, how a number is measured, threads, outputs.

bmb_suite

The whole suite, or a selection, at a profile's sizes, into one directory.

bmb_report

The manual of the report: series, charts, repeated runs and noise.

What they produce

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).