Skip to main content

Loop Kernel Analysis and Performance Modeling Toolkit

Project description

kerncraft

Loop Kernel Analysis and Performance Modeling Toolkit

This tool allows automatic analysis of loop kernels using the Execution Cache Memory (ECM) model, the Roofline model and actual benchmarks. kerncraft provides a framework to investigate the data reuse and cache requirements by static code analysis. In combination with the Intel IACA tool kerncraft can give a good overview of both in-core and memory bottlenecks and use that data to apply performance models.

For a detailed documentation see publications in doc/.

https://travis-ci.org/RRZE-HPC/kerncraft.svg?branch=master https://codecov.io/github/RRZE-HPC/kerncraft/coverage.svg?branch=master Code Health

Installation

On most systems with python pip and setuputils installed, just run: pip install --user kerncraft for the latest release.

If you want to build from source: Clone this repository and run python ./setup.py install.

If you are unfamiliar with python, here is a tutorial on how to install python packages: https://packaging.python.org/installing/ . The use of virtual enviornments is usually a good choice.

Additional requirements are:
  • Intel Achitecture Code Analyzer (IACA). Run iaca_get, provided by kerncraft, to install the required versions [sic!] in the package or ~/.kerncraft directory.

  • likwid (used in Benchmark model and by likwid_bench_auto.py)

Usage

  1. Get an example kernel and machine file from the examples directory

wget https://raw.githubusercontent.com/RRZE-HPC/kerncraft/master/examples/machine-files/SandyBridgeEP_E5-2680.yml

wget https://raw.githubusercontent.com/RRZE-HPC/kerncraft/master/examples/kernels/2d-5pt.c

  1. Have a look at the machine file and change it to match your targeted machine (above we downloaded a file for a Sandy Bridge EP machine)

  2. Run kerncraft

kerncraft -p ECM -m SandyBridgeEP_E5-2680.yml 2d-5pt.c -D N 10000 -D M 10000 add -vv for more information on the kernel and ECM model analysis.

Credits

Implementation: Julian Hammer ECM Model (theory): Georg Hager, Holger Stengel, Jan Treibig LC generalization: Julian Hammer

License

AGPLv3

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kerncraft-0.5.5.tar.gz (175.7 kB view details)

Uploaded Source

Built Distributions

kerncraft-0.5.5-py3-none-any.whl (185.4 kB view details)

Uploaded Python 3

kerncraft-0.5.5-py2-none-any.whl (185.8 kB view details)

Uploaded Python 2

File details

Details for the file kerncraft-0.5.5.tar.gz.

File metadata

  • Download URL: kerncraft-0.5.5.tar.gz
  • Upload date:
  • Size: 175.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kerncraft-0.5.5.tar.gz
Algorithm Hash digest
SHA256 64fd16c92313c9f05a043c1cbe7b7dbe8908019cb61e5bbfbf539e8031663418
MD5 65f6f926932c7afd7740295bfd143346
BLAKE2b-256 205af24ddba473f7aaebdf651202bca07959ba5947888504596f060f9b8a9b2a

See more details on using hashes here.

File details

Details for the file kerncraft-0.5.5-py3-none-any.whl.

File metadata

File hashes

Hashes for kerncraft-0.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 82f4eccb18a1a43658a3ed194f88022abfea46add91aa5a91a5f68a420b938ed
MD5 d4da5cfe8668df5962ddb837c29f4b84
BLAKE2b-256 f8c321ba0ca8146bb3a93f0f993aecbe01af490b67886bb9ad1c0957e2cb0d32

See more details on using hashes here.

File details

Details for the file kerncraft-0.5.5-py2-none-any.whl.

File metadata

File hashes

Hashes for kerncraft-0.5.5-py2-none-any.whl
Algorithm Hash digest
SHA256 82d024c020bb5d87bc7f08ea677c8f0ff48d3a0d42f9772d4832d51b968ba786
MD5 4333646f5d201c9152cad48a702fba51
BLAKE2b-256 a5767cd63bf219dc4e62d53b26176bb3219753bb6b2ffaf69bdd0fab5433c0cf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page