|
From: | David Hofstee |
Subject: | Re: [Discuss-gnuradio] Using Different Compilers |
Date: | Sun, 18 Mar 2018 23:41:58 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
It may be interesting to know I, also for the sake of this
thread, created a pull request on scheduling in GR. The GREP in
question: https://github.com/DavidHofstee/greps/blob/master/grep-0011-scheduler.md
Yours,
David On 03/18/2018 09:12 PM, Müller, Marcus
(CEL) wrote:
Hi Amirhosein, On Sun, 2018-03-18 at 22:31 +0330, address@hidden wrote:As u know gnuradio have problem with threading especially with Xeon cpu.Could you elaborate? GNU Radio is a heavily multithreaded architecture that scales very well with number of cores; the problem (as demonstrated e.g. at GRCon'17) is that you need knowledge of your data flow to help you cleverly schedule threads, which, as far as it seems right now, seems primarily a tradeoff between maximum parallelism and pinning consecutive data handling to the same CPU core.Somebody advise me by using Intel Parallel Studio , we can optimize threading in Linux , therefore in gnuradioI don't know how much intel replaces in the standard handling of threads – for this to do anything, it would require a threading userland library that not only gives finer control over thread scheduling than pthreads (which GNU Radio uses) offers, but also interacts tightly with the OS to actually implement that scheduling.My purpose of using Intel Parallel Studio is optimizing threading in gnuradio with Xeon cpuAt this point I'd argue that this is not a compiler-level problem, but an architectural property, a set of emerging behaviours, and the first thing you'd need to do is rethink the GNU Radio runtime to give Parallel Studio any chance to optimize something. It's the core GNU Radio idea that every block runs isolatedly from each other in their own thread context; I'd expect an intel tool like that to be able to help with finding optimizations for a very specific flow graph, but a) these wouldn't apply to other flow graphs (do not generalize) and I'm afraid that b) they would break the very idea that GNU Radio builds upon. Nevertheless, that is very interesting territory. If I was in a position to consider optimizing GNU Radio, I'd certainly start with something small – maybe identification of problematic behaviour first: What does intel think are the main reasons for congestion and contested ressources? Is there something specific one could remedy? Best regards, Marcus-------- Original Message -------- Subject: Re: [Discuss-gnuradio] Using Different Compilers From: "Müller, Marcus (CEL)" To: address@hidden," address@hidden" CC:GNU Radio is typically built using GCC or Clang on Linux platforms, on Mac OS X it's most commonly built using Clang, on Windows using Microsoft Visual C++, I've done a MinGW64 build, too. I don't really think that answers the underlying question: *Why* is this of relevance to you? When you tell us your motivation for questions, you'll get better answers. Best regards, Marcus On Sun, 2018-03-18 at 20:16 +0330, address@hidden wrote:I think that in installing gnuradio, gcc compiler is used for c++ code. When I said different , I mean different from gcc, for exampleusingintel parallel studio ( icc ) as compiler for c++ codes ofgnuradio-------- Original Message -------- Subject: Re: [Discuss-gnuradio] Using Different Compilers From: "Müller, Marcus (CEL)" To: address@hidden," address@hidden"CC:"Different" from what? And: what is your specific question? Note that we'd really like to help you, but you tend to ask questions that are simply too broad, or not properly researched. Best regards, Marcus On Sun, 2018-03-18 at 11:49 +0000, Amirhosein naseri wrote:Hi everybody, Does anybody have experience in compiling Gnuradio and it'sOOTblockwith different compiler such as Intel Parallel Studio??? Tnx. _______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio |
[Prev in Thread] | Current Thread | [Next in Thread] |