PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

False Sharing

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
THX 1138



Joined: 30 Jun 2011
Posts: 103

PostPosted: Wed Aug 15, 2012 8:27 am    Post subject: False Sharing Reply with quote

i believe that my program which uses multpile x86 cores only may be having a "false sharing" problem. I know there is software available commercially that will help determine this and help alleviate the problem such as Threadspotter, but is there some software available as freeware or shareware that can also analyse this?

I read sommwhere that Valgrind can do this; but I do not think so. I have looked at Valgrind employing the DRD option and I see no reference to false sharing decttion .

Any other software that can do this?

Thanks in advance.

THX 1138
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6208
Location: The Portland Group Inc.

PostPosted: Wed Aug 15, 2012 11:45 am    Post subject: Reply with quote

Sorry THX 1138, I'm not aware any tool that specifically looks for this issue. Why I use Valgrind all the time, it's mostly to find memory issues and I'm not sure if it can find caching issues. You could probably the L2 cache miss rate to determine if there is really a problem, but I'm not sure that it would help solving the problem.

Granted, I'm not sure there is much you could do to fix it short of privatizing your variables and only using shared variables to read values with the occasional write back.

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group