deecting false sharing
I am interested in detecting false sharing in my parallel programs. When I use pthreaads to parallelize sequential code I can use Sheriff to detect false sharing.
I do not always use pthreads, when I parallelize sequential code. Sometimes I use OpenMP and Sheriff does not work here. I found this patch on the internet for detecting false sharing. http://developerblog.redhat.com/2014...evnation-talk/ How can I install this patch to use it on my parallel source code? jyunker |
You'll probably need to apply a bunch of kernel patches because it has not yet been merged into the main kernel tree.
https://lkml.org/lkml/2014/2/10/506 |
Linux patch (es) install
Is there a patch reposository for Red Hat linux on the internet? I am not even sure of the patch's (for detecting false sharing) correct name. When you say install a whole bunch of patches then I guess I do not know where to start.
Any help appreciated. Thanks in advance. Respectfully, jyunker |
You mean RHEL ? Well, it tends to be outdated in terms of kernel, so I'm not entirely sure the patches can be applied. You can try contacting the dev who made the patches, the e-mail is in the link, and he seems to be with Red Hat, so maybe he knows if it can be done or if there are ones for RHEL.
There are 21 patches listed in the link I posted. You could just copy them to separate files in the right kernel directory and use the 'patch -p1 < file.patch' command to apply them. See 'man patch' for more on using the patch command. |
All times are GMT -5. The time now is 08:40 AM. |