
Vivek Galatage
@vivekgalatage • 19,495 subscribers
building browsers • chromium contributor • technical advisor • enjoys compilers, systems, teaching
Shorts
Videos

CPU Cores, Cachelines, and False Sharing Have you ever heard of "False Sharing"? A performance issue arising when independent variables end up in the same cache line and are being updated by respective threads in parallel. Each CPU core update causes a forceful flushing of the cache line for other cores - even though the variables aren't shared! Check the kernel documentation on this topic, too. There is an excellent video showing this in more detail and a fantastic blog article from Netflix Engineering showing how this impacted production - an excellent case study.
Vivek Galatage36,761 次观看 • 1 年前
没有更多内容可加载