False sharing
In computer science, false sharing is a performance-degrading usage pattern that can arise in systems with distributed, coherent caches at the size of the smallest resource block managed by the caching mechanism. When a system participant attempts to periodically access data that is not being altered by another party, but that data shares a cache block with data that is being altered, the caching protocol may force the first participant to reload the whole cache block despite a lack of logical necessity. The caching system is unaware of activity within this block and forces the first participant to bear the caching system overhead required by true shared access of a resource.
False sharing - Wikipedia Jump to content From Wikipedia, the free encyclopedia Performance-degrading usage pattern In computer science , false sharing is a performance-degrading usage pattern that can arise in systems with distributed, coherent caches at the size of the smallest resource block managed by the caching mechanism. When a system participant attempts to periodically access data that is not being altered by another party, but that data shares a cache block with data that is being altered, the caching protocol may force the first participant to reload the whole cache block despite a
saved by
related reading
- Cache coherence - Wikipediaen.wikipedia.org
- A very concrete explanation of how a cache worksparksb.github.io
- Embarrassingly parallel - Wikipediaen.wikipedia.org
- Amdahl's law - Wikipediaen.wikipedia.org
- Using Shared Memory in CUDA C/C++ | NVIDIA Technical Blogdeveloper.nvidia.com
- Cache Lines - Algorithmicaen.algorithmica.org
- Reading 14: Concurrencyweb.mit.edu
- Multithreading (computer architecture) - Wikipediaen.wikipedia.org
- Inter-process communication in Linux: Shared storage | Opensource.comopensource.com
- Who ordered memory fences on an x86? | Bartosz Milewski's Programming Cafebartoszmilewski.com
- A Concurrency Cost Hierarchytravisdowns.github.io
- Consistency model - Wikipediaen.wikipedia.org