Explore Insomniac Games' Cache Simulator, an in-house tool developed to gain insights into cache performance and CPU code utilization, in this 2017 GDC session presented by Andreas Fredriksson. Delve into topics such as memory sizes, memory operations, Valgrind, utility functions, simulation techniques, binary instrumentation, x64 assembly, and Windows exception handling. Learn how to simulate a cache, understand cache lines and data, and examine the pros and cons of this approach. Gain valuable knowledge about optimizing CPU performance and enhancing game development processes through advanced cache analysis techniques.
Overview
Syllabus
Intro
Cache Simulator
Memory Sizes
Memory Operations
Valgrind
Utility Functions
Simulation
Binary Instrumentation
X64 Assembly
Windows Exception Handling
Windows Exception Handling Problems
Poke the Cache
How to simulate a Cache
Cache Lines
Data
Pros Cons
Questions
Taught by
GDC