Swedish Coding

Multi-core programming and cache coherency

November 10th, 2017 by swedishcoding_1ggc23 — Game CodingComments Off on Multi-core programming and cache coherency


I presented this to the team a long time ago when we switched from PlayStation 3 to PlayStation 4 development at Naughty Dog. Even though it is a couple of years old, the contents is still very relevant. It is an introduction into memory barriers and?CPU cache architectures. It talks about?how CPUs deal with sharing memory between multiple cores. It should be noted that there are other more sophisticated cache protocols than the MESI one (like MOESI) but the concepts are the same.

Here is the presentation as Power Point?and PDF. Enjoy!