• Stars
    star
    1,660
  • Rank 28,156 (Top 0.6 %)
  • Language
    C
  • License
    GNU General Publi...
  • Created over 9 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Performance monitoring and benchmarking suite

Introduction

Likwid is a simple to install and use toolsuite of command line applications and a library for performance oriented programmers. It works for Intel, AMD, ARMv8 and POWER9 processors on the Linux operating system. There is additional support for Nvidia GPUs. There is support for ARMv7 and POWER8 but there is currently no test machine in our hands to test them properly.

LIKWID Playlist (YouTube)

Build Status General LIKWID DOI

It consists of:

  • likwid-topology: print thread, cache and NUMA topology
  • likwid-perfctr: configure and read out hardware performance counters on Intel, AMD, ARM and POWER processors and Nvidia GPUs
  • likwid-powermeter: read out RAPL Energy information and get info about Turbo mode steps
  • likwid-pin: pin your threaded application (pthread, Intel and gcc OpenMP to dedicated processors)
  • likwid-bench: Micro benchmarking platform for CPU architectures
  • likwid-features: Print and manipulate cpu features like hardware prefetchers (x86 only)
  • likwid-genTopoCfg: Dumps topology information to a file
  • likwid-mpirun: Wrapper to start MPI and Hybrid MPI/OpenMP applications (Supports Intel MPI, OpenMPI, MPICH and SLURM)
  • likwid-perfscope: Frontend to the timeline mode of likwid-perfctr, plots live graphs of performance metrics using gnuplot
  • likwid-memsweeper: Sweep memory of NUMA domains and evict cachelines from the last level cache
  • likwid-setFrequencies: Tool to control the CPU and Uncore frequencies (x86 only)

For further information please take a look at the Wiki or contact us via Matrix chat LIKWID General.


Supported architectures

Intel

  • Intel Atom
  • Intel Pentium M
  • Intel Core2
  • Intel Nehalem
  • Intel NehalemEX
  • Intel Westmere
  • Intel WestmereEX
  • Intel Xeon Phi (KNC)
  • Intel Silvermont & Airmont
  • Intel Goldmont
  • Intel SandyBridge
  • Intel SandyBridge EP/EN
  • Intel IvyBridge
  • Intel IvyBridge EP/EN/EX
  • Intel Xeon Phi (KNL, KNM)
  • Intel Haswell
  • Intel Haswell EP/EN/EX
  • Intel Broadwell
  • Intel Broadwell D
  • Intel Broadwell EP
  • Intel Skylake
  • Intel Kabylake
  • Intel Coffeelake
  • Intel Skylake SP
  • Intel Cascadelake SP
  • Intel Icelake
  • Intel Icelake SP
  • Intel Tigerlake (experimental)

AMD

  • AMD K8
  • AMD K10
  • AMD Interlagos
  • AMD Kabini
  • AMD Zen
  • AMD Zen2
  • AMD Zen3 (limited)

ARM (experimental)

  • ARMv7
  • ARMv8
  • Special support for Marvell Thunder X2
  • Fujitsu A64FX
  • ARM Neoverse N1 (AWS Graviton 2)

POWER (experimental)

  • IBM POWER8
  • IBM POWER9

Nvidia GPUs (experimental)


Download, Build and Install

You can get the releases of LIKWID at: http://ftp.fau.de/pub/likwid/

For build and installation hints see INSTALL file or check the build instructions page in the wiki https://github.com/RRZE-HPC/likwid/wiki/Build

For quick install:

VERSION=stable
wget http://ftp.fau.de/pub/likwid/likwid-$VERSION.tar.gz
tar -xaf likwid-$VERSION.tar.gz
cd likwid-*
vi config.mk # configure build, e.g. change installation prefix and architecture flags
make
sudo make install # sudo required to install the access daemon with proper permissions

For ARM builds, the COMPILER flag in config.mk needs to changed to GCCARMv8 or ARMCLANG (experimental). For POWER builds, the COMPILER flag in config.mk needs to changed to GCCPOWER or XLC (experimental).


Documentation

For a detailed documentation on the usage of the tools have a look at the html documentation build with doxygen. Call

make docs

or after installation, look at the man pages.

There is also a wiki at the github page: https://github.com/rrze-likwid/likwid/wiki

If you have problems or suggestions please let me know on the likwid mailing list: http://groups.google.com/group/likwid-users

or if it is bug, add an issue at: https://github.com/rrze-likwid/likwid/issues

You can also chat with us through Matrix:


Extras


Survey

We opened a survey at the user mailing list to get a feeling who uses LIKWID and how. Moreover we would be interested if you are missing a feature or what annoys you when using LIKWID. Link to the survey: https://groups.google.com/forum/#!topic/likwid-users/F7TDho3k7ps


Funding

LIKWID development was funded by BMBF Germany under the FEPA project, grant 01IH13009. Since 2017 the development is further funded by BMBF Germany under the SeASiTe project, grant 01IH16012A.

BMBF logo

More Repositories

1

OSACA

Open Source Architecture Code Analyzer
Jupyter Notebook
238
star
2

kerncraft

Loop Kernel Analysis and Performance Modeling Toolkit
Jupyter Notebook
86
star
3

pycachesim

Python Cache Hierarchy Simulator
Jupyter Notebook
84
star
4

pylikwid

Python interface for the LIKWID C API (https://github.com/RRZE-HPC/likwid)
C
42
star
5

TheBandwidthBenchmark

The ultimate memory bandwidth benchmark
C
37
star
6

ibench

Measure instruction latency and throughput
Assembly
17
star
7

asmbench

A Benchmark Toolkit for Assembly Instructions Using the LLVM JIT
Python
16
star
8

MachineState

This CLI tool and Python3 module collects the current system state for documentation
Python
13
star
9

lbm-benchmark-kernels

Simple LBM kernels for benchmarking and performance evaluation
C
13
star
10

MD-Bench

A performance-oriented prototyping harness for state of the art Molecular Dynamics algorithms
C
12
star
11

GHOST

General, Hybrid and Optimized Sparse Toolkit (Bitbucket mirror)
C
10
star
12

stempel

Stencil TEMPlate Engineering Library
Python
7
star
13

ThePerformanceLogbook

A template for documenting PE projects
Shell
7
star
14

INSPECT

INSPECT: Intranode Stencil Performance Collection
Shell
7
star
15

HPCCG-F90

A Fortran 90 port of the Mantevo HPCCG SpMVM benchmark
Fortran
6
star
16

LMS

LIKWID Monitoring Stack
Python
6
star
17

RACE

The Recursive Algebraic Coloring Engine
C++
4
star
18

CLPE-Hands-On

C++
3
star
19

A64FX_SpMV_hands-on

SpMV hands-on exercise with SVE intrinsics (ACLE) for teaching
C++
3
star
20

DFG-PE

Exchange platform for projects from DFG Call on "Performance Engineering für wissenschaftliche Software"
3
star
21

pmbs2020-paper-artifact

Artifact Repository for PMBS 2020 paper "Performance Modeling of Streaming Kernels and Sparse Matrix-Vector Multiplication on A64FX"
C++
3
star
22

loop_adapt

Loop profiling with system adjustments for timestep-based applications
C
2
star
23

OSACA-Artifact-Appendix

Measurements and reproducibility instructions for the Master Thesis "Cross-Architecture Automatic Critical Path Detection For In-Core Performance Analysis" by Jan Laukemann
Assembly
2
star
24

TheBandwidthBenchmark-F90

Fortran version of the ultimate teaching bandwidth benchmark.
Fortran
2
star
25

miniMD

A modified fork from Mantevo miniMD
C++
1
star
26

OSACA-CP-2019

Reproducibility artifacts for critical path analysis with OSACA
Assembly
1
star
27

MPIBench

A benchmark suite for MPI libraries
C
1
star
28

TheBenchmarkGame

The Bandwidth Benchmark in all programming languages on the planet
C
1
star
29

pmbs2018-paper-artifact

Artifact Repository for PMBS 2018 Paper "Automated Instruction Stream Throughput Prediction for Intel and AMD Microarchitectures"
Assembly
1
star
30

DDOT-Bench

A ddot benchmark with various accuracy enhanced variants (including optimized Kahan)
C
1
star
31

gather-bench

A X86 gather instruction performance benchmark
C
1
star
32

Makefile-template

A generic Makefile template for C, C++ and Fortran programs
C
1
star