Start Here
Benchpark is an open-source infrastructure-as-code Python project which aims to enable reproducibility in HPC benchmarking. It accomplishes this by defining each component of HPC benchmarking, and constraining it separately. Benchpark builds on the specifications provided by Spack, an HPC package manager, and Ramble, an HPC testing framework.
See also
Latest Benchpark Tutorial Slides | Benchpark Code on GitHub | Benchpark Dashboard | Ramble | Spack
Benchpark Glossary
The Beginner Tutorial uses the following terms from Spack, Ramble, and Benchpark:
Name |
Source |
Definition |
|---|---|---|
Benchmark |
General |
The source code of a program that tests the performance of hardware and software. |
Package |
A Python module named |
|
Spec |
A description of a particular build configuration of a package. A spec can constrain properties including the package version, compiler, variants, architecture, and dependencies. |
|
Variant |
A named, configurable option that controls how a package is built. A variant can be Boolean, single-valued, or multi-valued. |
|
Application |
A Python module named |
|
Modifier |
An object that encapsulates reusable experiment configuration. Benchpark provides modifier implementations, including Caliper and Allocation, that follow Ramble’s modifier syntax. These modifiers can inject commands before, after, or during experiment execution to capture system resources, experiment data, and metadata, or to enable performance analysis tools. See Benchpark Modifiers. |
|
Experiment |
A Python module named |
|
System |
A Python module named |
|
Scaling Study |
A set of related experiments that varies allocated resources and/or problem size. Benchpark supports strong scaling (varying number of processes or threads for a constant size problem), weak scaling (varying number of processes while keeping the per-process problem size constant), and throughput scaling (varying the problem size while keeping the number of processes constant). |
Benchpark provides a system.py to describe a system, and an experiment.py to
describe how to map a benchmark onto this system. Benchpark uses a Spack package.py
to build and a Ramble application.py to run the benchmark.