MATERIALS
Back to Tutorial
October 31, 2026 Course Materials

It's the Memory, Stupid!

Recordings, slides, and reference material for every session of the tutorial.

Watch full course on YouTube
Introduction

Course Overview

Introduction

Opening slides for the tutorial, covering its motivation, structure, and sessions.

Roofline(s)

Roofline Model

Roofline(s)

The Roofline model is a well-established performance model that provides an intuitive visual framework for identifying compute and memory bottlenecks in HPC applications. The Cache-Aware Roofline Model (CARM) extends it with per-cache-level ceilings, enabling finer-grained analysis of memory hierarchy behavior. The authors of CARM have joined us for this course and have kindly provided the resources for this section.

Resources provided by INESC-ID.

TopDown

TopDown Microarchitecture Analysis

TopDown

TopDown analysis decomposes CPU pipeline slots into meaningful categories, pinpointing whether bottlenecks originate in the front-end, back-end, speculation, or retirement stages.

TopDown session recording
Session Recording
Slides

Lecture Slides

Presentation slides used during the TopDown session.

Download PDF
Paper

A Top-Down Method for Performance Analysis and Counters Architecture

The original paper by Ahmad Yasin introducing the TopDown Microarchitecture Analysis Method.

Open Link
Paper

Tuning Performance via Metrics with Expectations

Yasin, Mendelson and Ben-Asher, IEEE Computer Architecture Letters, 2019.

Open Link
Paper

A Metric-Guided Method for Discovering Impactful Features and Architectural Insights for Skylake-Based Processors

Yasin, Haj-Yahya, Ben-Asher and Mendelson, ACM TACO, 2019.

Open Link
TopDown Reference Guide
PDF

TopDown Reference Guide

BSC internal reference manual as of February 2026. Full breakdown of all memory metrics and references. Not official documentation.

Open Link
Website

Intel VTune – Top-Down Microarchitecture Analysis Method

Official Intel VTune Profiler cookbook guide for applying the Top-Down analysis method.

Open Link
PDF

Intel 64/IA-32 Optimization Reference Manual (Appendix B / TMAM)

Official Intel optimization reference manual — Appendix B covers the Top-Down Microarchitecture Analysis Metrics in depth.

Open Link
Website

Intel VTune Profiler

Intel's performance analysis tool with built-in TopDown analysis support.

Open Link
Repository

TMA Metrics (Full spreadsheet)

Intel perfmon repository's detailed Excel spreadsheet with all TMA metrics, thresholds, and counter formulas.

Open Link
Website

Perf Wiki – Top-Down Analysis

Community-maintained wiki covering Top-Down analysis with the Linux perf tool.

Open Link
YouTube

Software Optimizations with Top-Down Analysis – Ahmad Yasin @ IDF'15

Video tutorial introducing the Top-Down method applied to Intel Skylake.

Open Link
Repository

Intel PerfMon

Database of Intel performance monitoring events and metrics, by CPU family and core type.

Open Link
Repository

perf-tools

Performance analysis tools on top of Linux perf and pmu-tools.

Open Link
Repository

pmu-tools

Intel PMU profiling tools on top of Linux perf.

Open Link
Repository

PerfSpect

Open-source Linux performance suite from Intel for profiling and tuning.

Open Link