2y ago · Oct 1, 2023 5:03 PM
False sharing occurs when two independent threads modify variables that reside on the exact same 64-byte CPU cache line. Even though the variables are distinct, the hardware cache coherence protocol constantly invalidates cache lines across cores.
ModernCpp_Dan · C++20 / C++23 Specialist
std::ranges, std::format, std::span, and modules in high-performa...
std::ranges, std::format, std::span, and modules in high-performa...
The following users thanked ModernCpp_Dan for this post: