2015-12-10 PRACE PATC Course: Node-Level Performance Engineering (HNPF1W15)

Date:Thursday, Dec 10, 2015 9:00 - 17:00
Friday, Dec 11, 2015 9:00 - 17:00
Location:LRZ Building, University campus Garching, near Munich, Hörsaal (Lecture room)
Contents:

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
PrerequisitesParticipants 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 https://events.prace-ri.eu/event/373/registration/register.
Contact:Dr. Volker Weinberg (LRZ)
PATC-Webpage:http://events.prace-ri.eu/e/LRZ-2015-HNPF1W15