[Valgrind-users] Fwd: False Sharing Detection

2009-05-27 Thread Ivan Novick
-- Forwarded message -- From: Ivan Novick Date: Wed, May 27, 2009 at 4:52 PM Subject: Re: [Valgrind-users] False Sharing Detection To: Nicholas Nethercote A report that would be very help full for application developers would be like this: LINE OF CODE# o

Re: [Valgrind-users] False Sharing Detection

2009-05-27 Thread Nicholas Nethercote
On Thu, May 28, 2009 at 9:12 AM, Ivan Novick wrote: > Hi, > I would like to detect cases of false sharing in my program. > By this I mean cases where multiple threads are both trying to write data to > different memory locations but those locations are closest enough in memory > that they are on t

[Valgrind-users] False Sharing Detection

2009-05-27 Thread Ivan Novick
Hi, I would like to detect cases of false sharing in my program. By this I mean cases where multiple threads are both trying to write data to different memory locations but those locations are closest enough in memory that they are on the on the same cache line. The result would be delays on thre