Skip to main content

Extra-P

Automated performance modeling for HPC applications

PyPI - Python Version GitHub release (latest by date) PyPI version PyPI - License GitHub issues GitHub pull requests GitHub Workflow Status

Screenshot of Extra-P Extra-P is an automatic performance-modeling tool that supports the user in the identification of scalability bugs. A scalability bug is a part of the program whose scaling behavior is unintentionally poor, that is, much worse than expected. A performance model is a formula that expresses a performance metric of interest such as execution time or energy consumption as a function of one or more execution parameters such as the size of the input problem or the number of processors.

Extra-P uses measurements of various performance metrics at different execution configurations as input to generate performance models of code regions (including their calling context) as a function of the execution parameters. All it takes to search for scalability issues even in full-blown codes is to run a manageable number of small-scale performance experiments, launch Extra-P, and compare the asymptotic or extrapolated performance of the worst instances to the expectations.

Extra-P generates not only a list of potential scalability bugs but also human-readable models for all performance metrics available such as floating-point operations or bytes sent by MPI calls that can be further analyzed and compared to identify the root causes of scalability issues.

The following video on the Laboratory for Parallel Programming @ TUDa YouTube channel provides a quick introduction to Extra-P.

IMAGE ALT TEXT HERE

Extra-P is developed by TU Darmstadt – in collaboration with ETH Zurich.

For questions regarding Extra-P, please send a message to extra-p-support@lists.parallel.informatik.tu-darmstadt.de.


Table of Contents

  1. Requirements
  2. Installation
  3. How to use it
  4. License
  5. Citation
  6. Publications

Requirements

  • Python 3.8 or higher
  • numpy
  • pycubexr
  • marshmallow
  • packaging
  • tqdm
  • sklearn
  • PySide6 (for GUI)
  • matplotlib (for GUI)
  • pyobjc-framework-Cocoa (only for GUI on macOS)

Installation

Use the following command to install Extra-P and all required packages via pip.

python -m pip install extrap --upgrade

The --upgrade forces the installation of a new version if a previous version is already installed.

Usage

Extra-P can be used in two ways, either using the command-line interface or the graphical user interface. More information about the usage of Extra-P with both interfaces can be found in the quick start guide.

Note
Extra-P is designed for weak-scaling, therefore, directly modeling of strong-scaling behaviour is not supported. Instead of modeling the runtime of your strong-scaling experiment, you can model the resource consumption, i.e., the runtime times the number of processors. Extra-P automatically offers this conversion, if it detects that strong-scaling data was loaded. If you are loading files that contain per-thread/per-rank data you should select the scaling-type upfront to run the conversion already during the import.

Graphical user interface

The graphical user interface can be started by executing the extrap-gui command.

Command line interface

The command line interface is available under the extrap command:

extrap OPTIONS (--cube | --text | --talpas | --json | --extra-p-3 | --experiment) FILEPATH

You can use different input formats as shown in the examples below:

  • Text files: extrap --text test/data/text/one_parameter_1.txt
  • JSON files: extrap --json test/data/json/input_1.JSON
  • Talpas files: extrap --talpas test/data/talpas/talpas_1.txt
  • Create model and save it to text file at the given path: extrap --out test.txt --text test/data/text/one_parameter_1.txt

You can find an overview about all command line options under docs/command-line-options.md.

License

BSD 3-Clause "New" or "Revised" License

Citation

Please cite Extra-P in your publications if it helps your research:

Alexandru Calotoiu, Marcin Copik, Fabian Czappa, Alexander Geiß, Gustavo Morais, Marcus Ritter, Sergei Shudler, Torsten Hoefler, Felix Wolf: Extra-P – Empirical performance modeling made easy. Frontiers in High Performance Computing, 3–2025, 2026. 10.3389/fhpcp.2025.1714042

@Article{calotoiu_extra-p_2026,
  author          = {Calotoiu, Alexandru and Copik, Marcin and Czappa, Fabian and Geiß, Alexander and Morais, Gustavo and Ritter, Marcus and Shudler, Sergei and Hoefler, Torsten and Wolf, Felix},
  title           = {Extra-{P} – {Empirical} performance modeling made easy},
  journal         = {Frontiers in High Performance Computing},
  year            = {2026},
  volume          = {3–2025},
  issn            = {2813–7337},
  doi             = {10.3389/fhpcp.2025.1714042}
}

Selected Publications

  1. Alexandru Calotoiu, Torsten Hoefler, Marius Poke, Felix Wolf: Using automated performance modeling to find scalability bugs in complex codes. In Proc. of the International Conference on High Performance Computing, Networking, Storage and Analysis (SC '13), ACM, 2013. DOI

  2. Alexandru Calotoiu, David Beckingsale, Christopher W. Earl, Torsten Hoefler, Ian Karlin, Martin Schulz, Felix Wolf: Fast multi-parameter performance modeling. In Proc. of the 2016 IEEE International Conference on Cluster Computing ( CLUSTER), Taipei, Taiwan, pages 172–181, IEEE, September 2016. PDF

  3. Marcus Ritter, Alexandru Calotoiu, Sebastian Rinke, Thorsten Reimann, Torsten Hoefler, Felix Wolf: Learning cost-effective sampling strategies for empirical performance modeling. In Proc. of the 34th IEEE International Parallel and Distributed Processing Symposium (IPDPS), New Orleans, LA, USA, pages 884–895, IEEE, May 2020. PDF

  4. Marcus Ritter, Alexander Geiß, Johannes Wehrstein, Alexandru Calotoiu, Thorsten Reimann, Torsten Hoefler, Felix Wolf: Noise-resilient empirical performance modeling with deep neural networks. In Proc. of the 35th IEEE International Parallel and Distributed Processing Symposium (IPDPS), Portland, Oregon, USA, pages 23–34, IEEE, May 2021. PDF

  5. Alexander Geiß, Téodora Hovi, Alexandru Calotoiu, Felix Wolf: Validating the performance of GPU ports using differential performance models. Future Generation Computer Systems, 174: 1–17, January 2026. DOI

  6. Marcus Ritter, Benedict Naumann, Alexandru Calotoiu, Sebastian Rinke, Thorsten Reimann, Torsten Hoefler, Felix Wolf: Cost-effective empirical performance modeling. Transactions on Parallel and Distributed Systems, 37: 575–592, February 2026. PDF

  7. Alexandru Calotoiu, Marcin Copik, Fabian Czappa, Alexander Geiß, Gustavo Morais, Marcus Ritter, Sergei Shudler, Torsten Hoefler, Felix Wolf: Extra-P – Empirical performance modeling made easy. Frontiers in High Performance Computing, 3–2025, March 2026. DOI

Metadata

Release files for extrap 4.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for extrap 4.2.5
File Size Uploaded
extrap-4.2.5.tar.gz 182.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for extrap 4.2.5
File Interpreter ABI Platform
extrap-4.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 389.9 kB

Release files / extrap-4.2.5.tar.gz

Download URL extrap-4.2.5.tar.gz
Size 182.3 kB
Tags Source
SHA-256 checksum
How to use checksums
60d6a3f43c308cc5bfe8b4efae65843d33a72d221c7b81841a45166f6d132f8a
BLAKE2b-256 checksum
How to use checksums
118c9108e0bc4840c4fda290885af173fc3ac3fe68ad61886e078bdd2b88c5e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.

Transparency log

Release files / extrap-4.2.5-py3-none-any.whl

Download URL extrap-4.2.5-py3-none-any.whl
Size 207.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
388283afd8f5d03dd6d1ec5d94885d19cebf345b1c5d6cd0ad609ffbbdecf551
BLAKE2b-256 checksum
How to use checksums
524d89200924d5b88f7338edc056d1c6059b408dd0ca94f5640f048c357ee908
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page