Open main menu

CDOT Wiki β

Changes

DPS921/Group 8

31 bytes added, 10:14, 26 November 2018
Signs of false sharing
Thread 0 and thread 2 are executed and stored data in same cache line, which are sum[0] and sum[2]. HW thread 0 alter variable sum[0], Thread 2 is going to change value in Sum[2]. As the thread 0 finish the process. The changed must reflect on the cache line before thread 2 execute.
 
[[File:falseSharingCode.PNG]]
= Solutions =
35
edits