96
edits
Changes
→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=