Changes

Jump to: navigation, search

Team False Sharing

304 bytes added, 14:47, 15 December 2017
Identifying False Sharing
[[File:CPUCacheline.png]]
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.
In Figure, threads 0 and 1 require variables that are adjacent in memory and reside on the same cache line. The cache line is loaded into the caches of CPU 0 and CPU 1. Even though the threads modify different variables, the cache line is invalidated forcing a memory update to maintain cache coherency.
=Eliminating False Sharing=
96
edits

Navigation menu