<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Binding processes (skipping MPI shepherd processes) in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Binding-processes-skipping-MPI-shepherd-processes/m-p/1071109#M5308</link>
    <description>&lt;P&gt;&lt;KBD&gt;Hi,&lt;/KBD&gt;&lt;/P&gt;

&lt;P&gt;&lt;KBD&gt;I'm using a&lt;/KBD&gt; tool (dplace) that binds processes/threads to specific &lt;SPAN class="glossaryItem"&gt;processor&lt;/SPAN&gt; cores to improve my code performance.&lt;/P&gt;

&lt;P&gt;When using a MPI library, I have to skip the "shepherd process". However, I do not find any information on "shepherd processes" for Intel MPI&lt;/P&gt;

&lt;P&gt;(is there only 1 shepherd process that is created for the entire pool of &lt;SPAN class="glossaryItem"&gt;MPI&lt;/SPAN&gt; processes or 1 shepherd process is created for each &lt;SPAN class="glossaryItem"&gt;MPI&lt;/SPAN&gt; process?).&lt;/P&gt;

&lt;P&gt;Thanks in avance!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2016 16:30:30 GMT</pubDate>
    <dc:creator>iceecp</dc:creator>
    <dc:date>2016-05-23T16:30:30Z</dc:date>
    <item>
      <title>Binding processes (skipping MPI shepherd processes)</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Binding-processes-skipping-MPI-shepherd-processes/m-p/1071109#M5308</link>
      <description>&lt;P&gt;&lt;KBD&gt;Hi,&lt;/KBD&gt;&lt;/P&gt;

&lt;P&gt;&lt;KBD&gt;I'm using a&lt;/KBD&gt; tool (dplace) that binds processes/threads to specific &lt;SPAN class="glossaryItem"&gt;processor&lt;/SPAN&gt; cores to improve my code performance.&lt;/P&gt;

&lt;P&gt;When using a MPI library, I have to skip the "shepherd process". However, I do not find any information on "shepherd processes" for Intel MPI&lt;/P&gt;

&lt;P&gt;(is there only 1 shepherd process that is created for the entire pool of &lt;SPAN class="glossaryItem"&gt;MPI&lt;/SPAN&gt; processes or 1 shepherd process is created for each &lt;SPAN class="glossaryItem"&gt;MPI&lt;/SPAN&gt; process?).&lt;/P&gt;

&lt;P&gt;Thanks in avance!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 16:30:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Binding-processes-skipping-MPI-shepherd-processes/m-p/1071109#M5308</guid>
      <dc:creator>iceecp</dc:creator>
      <dc:date>2016-05-23T16:30:30Z</dc:date>
    </item>
    <item>
      <title>I guess both of you are</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Binding-processes-skipping-MPI-shepherd-processes/m-p/1071110#M5309</link>
      <description>&lt;P&gt;I guess both of you are discussing a linux implementation.&amp;nbsp; One of those "shepherd" threads is started by pthreads library and so is common to libgomp and libiomp5, or any use of pthreads.&amp;nbsp; Another is started by libiomp5 (and would happen when using it with gcc as well as icc).&lt;/P&gt;

&lt;P&gt;In rare circumstances, "shepherd" threads might busy one logical processor of a core when HT is enabled and worker threads pinned according to OMP_PLACES=cores can still run on the other logical process.&amp;nbsp; In any case, you would want to avoid disturbing your affinity setting topology for worker threads on account of those shepherd threads.&lt;/P&gt;

&lt;P&gt;some interesting prior references:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://blogs.fau.de/johanneshabich/tag/openmp/" target="_blank"&gt;https://blogs.fau.de/johanneshabich/tag/openmp/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://ncsu.edu/hpc/hpc2012/SpringSim_HPC2012_Tutorial.pdf" target="_blank"&gt;https://ncsu.edu/hpc/hpc2012/SpringSim_HPC2012_Tutorial.pdf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;As Intel MPI and more recently OpenMPI adopted their own hybrid pinning schemes, it may not be surprising that references to external schemes are fairly old.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 11:26:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Binding-processes-skipping-MPI-shepherd-processes/m-p/1071110#M5309</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-05-25T11:26:31Z</dc:date>
    </item>
  </channel>
</rss>

