ControlFlowIssues

From HPC Wiki
Revision as of 15:13, 3 September 2019 by Daniel-schurhoff-de23@rwth-aachen.de (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

The pattern "Control flow issues" describes the case then the CPU core has to jump around in the instruction stream and bad prediction of condition evaluation

Symptoms

  • In-core throughput far away from design limit
  • performance insensitive to data set size


Detection

  • High branch rate
  • High ratio of mispredicted branches

LIKWID performance groups: BRANCH

Possible optimizations and/or fixes

  • Avoid conditions in inner loops


Applicable applications or algorithms or kernels