Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Merge requests
!216
Delete papi_library.md
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Delete papi_library.md
rschoene--tu-dresden.de-preview-patch-97835
into
preview
Overview
2
Commits
2
Pipelines
0
Changes
2
Merged
Robert Schöne
requested to merge
rschoene--tu-dresden.de-preview-patch-97835
into
preview
3 years ago
Overview
2
Commits
2
Pipelines
0
Changes
2
Expand
this never made it to env/scs5, so maybe we should get rid of it
0
0
Merge request reports
Compare
preview
version 1
c999b0b3
3 years ago
preview (base)
and
latest version
latest version
e8701a6d
2 commits,
3 years ago
version 1
c999b0b3
1 commit,
3 years ago
2 files
+
1
−
41
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
doc.zih.tu-dresden.de/docs/software/papi_library.md deleted
100644 → 0
+
0
−
40
Options
# PAPI Library
Related work:
*
[
PAPI documentation
](
http://icl.cs.utk.edu/projects/papi/wiki/Main_Page
)
*
[Intel 64 and IA-32 Architectures Software Developers Manual (Per thread/per core PMCs)]
(http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-system-programming-manual-325384.pdf)
Additional sources for
**Haswell**
Processors: [Intel Xeon Processor E5-2600 v3 Product Family Uncore
Performance Monitoring Guide (Uncore PMCs) - Download link]
(http://www.intel.com/content/www/us/en/processors/xeon/xeon-e5-v3-uncore-performance-monitoring.html)
## Introduction
PAPI enables users and developers to monitor how their code performs on a specific architecture. To
do so, they can register events that are counted by the hardware in performance monitoring counters
(PMCs). These counters relate to a specific hardware unit, for example a processor core. Intel
Processors used on taurus support eight PMCs per processor core. As the partitions on taurus are run
with HyperThreading Technology (HTT) enabled, each CPU can use four of these. In addition to the
**four core PMCs**
, Intel processors also support
**a number of uncore PMCs**
for non-core
resources. (see the uncore manuals listed in top of this documentation).
## Usage
[
Score-P
](
scorep.md
)
supports per-core PMCs. To include uncore PMCs into Score-P traces use the
software module
**scorep-uncore/2016-03-29**
on the Haswell partition. If you do so, disable
profiling to include the uncore measurements. This metric plugin is available at
[
github
](
https://github.com/score-p/scorep_plugin_uncore/
)
.
If you want to use PAPI directly in your software, load the latest papi module, which establishes
the environment variables
**PAPI_INC**
,
**PAPI_LIB**
, and
**PAPI_ROOT**
. Have a look at the
[
PAPI documentation
](
http://icl.cs.utk.edu/projects/papi/wiki/Main_Page
)
for details on the usage.
## Related Software
*
[
Score-P
](
scorep.md
)
*
[
Linux Perf Tools
](
perf_tools.md
)
If you just need a short summary of your job, you might want to have a look at
[
perf stat
](
perf_tools.md
)
.
Loading