Cache geometry and address decomposition
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
Decompose an address into offset, set and tag
- 02
Predict conflicts from cache geometry
- 03
Relate associativity and working-set shape to misses
Hands-on exercise
Construct a stride experiment that reveals cache-set conflicts.
What a good result looks like
A cache-geometry diagram plus measured conflict-miss curve.
APPLY WHAT YOU LEARN
3 related C++ topicsC++ practice problems
01Build an Expiring Order ID CacheHFT Systems · MediumIn review02Design a Cache-Friendly Order Book Price IndexHFT Systems · HardIn review03Implement a Cache-Resident Instrument Metadata StoreHFT Systems · HardIn review
In-review topics are curriculum-linked challenge plans, not yet complete runnable tasks.
Progress is saved on this device.