Open main menu

CDOT Wiki β

Changes

Team False Sharing

1 byte removed, 18:09, 17 December 2017
Identifying False Sharing
False sharing is a well-know performance issue on SMP systems, where each processor has a local cache. it occurs when treads on different processors modify varibles that reside on th the same cache line like so.
<br style="clear:both" />
[[MediaFile:CPUCacheline.png]]
<br style="clear:both" />
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.
30
edits