Open main menu

CDOT Wiki β

Changes

Team False Sharing

326 bytes added, 15:46, 17 December 2017
Identifying False Sharing
</source>
[[File:ExecVsThreadsFalse.png]]
 
As you can see the execution time increase with the number of threads. These results are not what you would expect but there are 2 reasons that may have caused this. The first is that the overhead for creating and maintaining the threads is overwhelming larger than the contents of the for loop. The second is False sharing.
=Eliminating False Sharing=
96
edits