False sharing
Notes:
most modern processors not only cache the requested value but also cache a few more nearby values.
processor caches are working in terms of cache lines, instead of single cacheable values.
When multiple processors are operating on the same or nearby memory locations, they may end up sharing the same cache line.
False sharing happens in invisible way
Hard to predict, hits the performance
Last updated