Prefetching: hardware, software, and pointer chasing
CPU and Memory in the Exchange Data Path · 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
Know where hardware prefetchers succeed
- 02
Choose software-prefetch distance empirically
- 03
Explain why pointer chasing defeats regular prefetch
Hands-on exercise
Compare sequential, strided and pointer-chasing access with optional prefetch.
What a good result looks like
A prefetch-distance sweep and explanation of its useful range.
APPLY WHAT YOU LEARN
3 related C++ topicsC++ practice problems
01Implement a Tagged Pointer Counter to Resist ABAConcurrency · HardIn review02Implement Hazard Pointer Based Memory ReclamationConcurrency · HardIn review03Build a Zero-Allocation Binary Message ParserHFT Systems · HardIn review
In-review topics are curriculum-linked challenge plans, not yet complete runnable tasks.
Progress is saved on this device.