Tech Tutorials Database
GeekArticles Programming C++
 

Avoiding and Identifying False Sharing Among Threads

 
Author: codeproject.com
Category: C++
Comments (0)

In symmetric multiprocessor (SMP) systems, each processor has a local cache. The memory system must guarantee cache coherence. False sharing occurs when threads on different processors modify variables that reside on the same cache line. Learn methods to detect and correct false sharing.

Read More...




Sponsored Links




Read Next: Use Thread-local Storage to Reduce Synchronization



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe