Talk:False sharing

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing  
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 ???  This article has not yet received a rating on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.

This article needed a total rewrite, and even though I'm only about half done, I think that it's still quite a bit improved. I plan to use make an example with shared ring buffers since that problem is probably the most widespread in reality, but I've not yet determined how to be both correct and succinct with that yet. In the long run, there should probably be an diagram, but I have absolutely no skill at that. Also, it would be nice if there were articles on processor interconnects or memory stalls that I could link to. Jts888 (talk) 05:20, 20 July 2008 (UTC)

False sharing example[edit]

Wasn't the example on my original post good enough to see a "false sharing" effect in action? —Preceding unsigned comment added by Kalman5 (talkcontribs) 14:42, 2 September 2008 (UTC)

The original example conveyed the right idea but was a little ambiguous in explaining the internal mechanism. It should be made explicit that false sharing can occur even if one process is only reading. Reciprocal thrashing is obviously an even worse condition, but it is not the most fundamental case. 00:42, 31 October 2008 (UTC)