Open main menu

CDOT Wiki β

Changes

Team False Sharing

60 bytes added, 20:17, 14 December 2017
What is False Sharing
=What is False Sharing?=
In symmetric multiprocessor systems (SMP), each processor has a local cahce. The memory system must guarantee cache coherence. False sharing occurs when threads on different processors modify variables that reside on the same cache line. This invalidates the cache line and forces an update, which hurts performance.
The frequent coordination required between processors when cache lines are marked ‘Invalid’ requires cache lines to be written to memory and subsequently loaded. False sharing increases this coordination and can significantly degrade application performance.
 
=Identifying False Sharing=
 
 
=Eliminating False Sharing=
96
edits