LIKWID Performance Tool Suite

Performance tools and library for GNU Linux operating system.

Description

LIKWID is an easy to use yet powerful command line performance tool suite for the GNU/Linux operating system. While LIKWID supported only x86 processors at the beginning, it has has been ported to ARM (including Fujitsu A64FX) and POWER8/9 architectures as well as to NVIDIA GPGPUs.Read more on LIKWID developers’ page

VersionInstallation Pathmodulefilecompilersitescomment
5.2.0/sw/tools/likwid/5.2.0likwid/5.2.0gcc/9.3.0Emmy, Liseusing accessdaemon (requires “likwid” group
5.2.1/sw/tools/likwid/5.2.1 likwid/5.2.1gccEmmy, Liseusing perf_event API

For the user guide visit hpc.fau.de.

Prerequisites

To use LIKIWID, please send a request to nhr-support@gwdg.de to be included in the likwid user-group.

Modules

Selecting the version and loading the environment

Load the modulefile

$ module load likwid/5.2.0

This sets the appropriate paths for using LIKWID tool suite.

Example usage

blogin6:~ $ srun --pty -N1 -pstandard96:test /bin/bash -ls
bcn1021:~ $ module add likwid/5.2.0
Module for likwid 5.2.0 loaded.
...
bcn1021:~ $ likwid-perfctr -g CLOCK /bin/sleep 1
--------------------------------------------------------------------------------
CPU name:       Intel(R) Xeon(R) Platinum 9242 CPU @ 2.30GHz
CPU type:       Intel Cascadelake SP processor
CPU clock:      2.29 GHz
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Group 1: CLOCK
+-----------------------+---------+------------+-------------+
|         Event         | Counter | HWThread 0 | HWThread 96 |
+-----------------------+---------+------------+-------------+
|   INSTR_RETIRED_ANY   |  FIXC0  |       3665 |        8094 |
| CPU_CLK_UNHALTED_CORE |  FIXC1  |      21830 |       43400 |
|  CPU_CLK_UNHALTED_REF |  FIXC2  |      21528 |       47656 |
|     PWR_PKG_ENERGY    |   PWR0  |    47.1188 |           0 |
|      UNCORE_CLOCK     | UBOXFIX | 2403448642 |           0 |
+-----------------------+---------+------------+-------------+
...