PRACE PATC Course: Node-Level Performance Engineering


 Date: Thursday, Nov 30, 2017 9:00 - 17:00
Friday, Dec 1, 2017 9:00 - 17:00
Location: LRZ Building, University campus Garching, near Munich, Hörsaal H.E.009 (Lecture hall)

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.

The course is a PRACE Advanced Training Center event.

  • Introduction and Motivation
  • Performance Engineering as a process
  • Topology and affinity in muticore systems
  • Microbenchmarking for architectural exploration
  • 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
  • Beyond Roofline: The ECM Model
  • Optional: Energy-efficient code execution
Prerequisites Participants must have basic knowledge in programming with Fortran or C
Language: English
Teachers: Prof. Gerhard Wellein/RRZE, Dr. Georg Hager/RRZE et. al.
Registration: Via
Hands-on: There will be only demos.
Contact: Dr. Volker Weinberg (LRZ)