Video 1 – Overview. Video 2 – Cache layout. Video 3 – MESI protocol. Video 4 – A practical example. The basics of cache, cache coherency, and “false sharing” Based on “What Every Programmer Should Know About Memory”, by U. Drepper, the cache memory lectures by Harry Porter (from Portland State University), and Scott Myers’ 2014 talk “Cpu Caches and Why You Care”. In these videos, we’re going to talk about a cache-related slowdown phenomenon that can occur for parallell code called “false sharing”.
Read More