Training course "Node-Level Performance Engineering"

Start
28th April 2016 07:00 AM
End
29th April 2016 03:00 PM
Location
Jülich Supercomputing Centre, Rotunda, building 16.4, room 301

(Course no. 218/2016 in the training programme of Forschungszentrum Jülich)

Target audience:

Users of the supercomputers in Jülich

Contents

 

Prerequisites:

Basic knowledge in programming languages C, C++ or Fortran

Language:

This course is given in English.

Date:

28-29 April 2016, 09:00-17:00

Venue:

Jülich Supercomputing Centre, Rotunda, building 16.4, room 301

Number of participants:

maximum 60

Instructors:

Dr. habil. Georg Hager, Prof. Dr. Gerhard Wellein, RRZE/HPC, University of Erlangen

Contact at JSC:

Christian Feld

This course teaches performance engineering approaches on the compute node level. "Performance engineering" as we define it is more than employing tools to identify hotspots and bottlenecks. It is about developing a thorough understanding of the interactions between software and hardware. This process must start at the core, socket, and node level, where the code gets executed that does the actual computational work. Once the architectural requirements of a code are understood and correlated with performance measurements, the potential benefit of optimizations can often be predicted. We introduce a "holistic" node-level performance engineering strategy, apply it to different algorithms from computational science, and also show how an awareness of the performance features of an application may lead to notable reductions in power consumption.

  • Introduction and Motivation
  • Performance Engineering as a process
  • Topology and affinity in muticore systems
  • Microbenchmarking for architectural exploration
  • Beyond Roofline: The ECM Model
  • Optional: Energy-efficient code execution

The Roofline Model

  • Basics and simple applications
  • Case study: sparse matrix-vector multiplication
  • Case study: Jacobi smoother

Model-guided optimization

  • Blocking optimization for the Jacobi smoother

Programming for optimal use of parallel resources

  • Single Instruction Multiple Data (SIMD)
  • Cache-coherent Non-Uniform Memory Architecture (ccNUMA)
  • Simultaneous Multi-Threading (SMT)

Pattern-guided performance engineering

  • Hardware performance metrics
  • Typical performance patterns in scientific computing
  • Examples and best practices
Last Modified: 21.05.2022