Hardware counters without cargo culting
Trading Latency & Measurement Laboratories · Advanced → Expert
Structured lesson outlineThis lesson's video and full tutorial are not yet published. The learning objectives and exercises below outline what the finished lesson will cover.
Learning objectives
Focus on the underlying model and the engineering decisions rather than memorizing a single code snippet.
- 01
Connect PMU events to a concrete performance hypothesis
- 02
Recognize multiplexing, skid and counting limitations
- 03
Interpret cycles, instructions, misses and branch events together
Hands-on exercise
Use perf stat to confirm or reject a cache-miss hypothesis.
What a good result looks like
A counter table that states the hypothesis, evidence and caveats.
APPLY WHAT YOU LEARN
3 related C++ topicsC++ practice problems
01Merge Trades Across Venues Without DuplicatesHFT Systems · MediumIn review02Build a Bounded UDP Packet Reordering BufferHFT Systems · MediumIn review03Identify Out-of-Order Feed Sequence NumbersHFT Systems · EasyIn review
In-review topics are curriculum-linked challenge plans, not yet complete runnable tasks.
Progress is saved on this device.