LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-18-2014, 04:16 PM   #1
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Rep: Reputation: 0
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
 
Old 07-19-2014, 09:36 PM   #2
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 491Reputation: 491Reputation: 491Reputation: 491Reputation: 491
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
 
Old 07-28-2014, 09:28 AM   #3
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Original Poster
Rep: Reputation: 0
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
 
Old 07-28-2014, 11:40 AM   #4
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 491Reputation: 491Reputation: 491Reputation: 491Reputation: 491
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Deecting luns - Any explaination for the command piradeep Linux - Newbie 5 11-11-2013 12:02 AM
os: false ungua Linux - Newbie 2 02-02-2007 08:00 AM
true or false? alaios Programming 7 07-16-2005 11:54 AM
question about /etc/false notstrider Debian 2 10-23-2004 01:52 AM
False installation p0rtzer0 Linux - Newbie 2 09-23-2004 11:49 AM


All times are GMT -5. The time now is 04:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration