HFT CORE SYSTEMS

Hardware counters without cargo culting

Lesson 06 of 96Phase 01: Measurement before optimization
Video lesson coming soon

The written objectives and hands-on lab are available now.

cppvalley on YouTube ↗

Learning objectives

What you should understand

  1. Connect PMU events to a concrete performance hypothesis
  2. Recognize multiplexing, skid and counting limitations
  3. Interpret cycles, instructions, misses and branch events together

Lab

Hands-on exercise

Use perf stat to confirm or reject a cache-miss hypothesis.

Deliverable

Evidence of completion

A counter table that states the hypothesis, evidence and caveats.

Prerequisite
EP 05

Phase 01

Measurement before optimization

Full curriculum