<?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 Re: How to set the size of CQ? in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1316724#M8766</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for providing all the requested information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We want to add some points regarding the UCX:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;•The Intel MPI uses UCX in the backend for Infiniband. The UCX variables are specific to the UCX framework and are not specific to Intel MPI/OpenMPI.&lt;/P&gt;
&lt;P&gt;•UCX is a collaboration between industry, laboratories and academia to create an open-source production grade communication framework for data centric and HPC applications.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VarshaS_Intel_1-1632399899083.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/19566i3931F5F11A4CEB3B/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="VarshaS_Intel_1-1632399899083.png" alt="VarshaS_Intel_1-1632399899083.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; Is there any way of libfabric or intelmpi that can limit the max number of cqe created?&lt;/P&gt;
&lt;P&gt;As long as UCX obeys the setting of UCX_RC_TX_CQ_LEN, the MPI application is expected to see the effects of setting this UCX variable UCX_RC_TX_CQ_LEN.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inline with your experiment, we have followed all the steps provided by you at our end with Intel MPI and we found a similar behavior which you got with OpenMPI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When we run the command "ibv devinfo -v" we got the max_cqe = 4194303.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ucxexception.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/19564i69E7483372DB7DA0/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="ucxexception.png" alt="ucxexception.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also, we want to mention that we can not say that certain MPI library is obeying/disobeying the setting UCX_RC_TX_CQ_LEN.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Varsha&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Sep 2021 12:26:12 GMT</pubDate>
    <dc:creator>VarshaS_Intel</dc:creator>
    <dc:date>2021-09-23T12:26:12Z</dc:date>
    <item>
      <title>How to set the size of CQ?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1311898#M8717</link>
      <description>&lt;P&gt;From the device information with command&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;ibv_devinfo -v&lt;/CODE&gt;, I got&lt;/P&gt;
&lt;DIV class="highlight highlight-source-shell position-relative"&gt;
&lt;PRE&gt;        max_cq:                         20480
        max_cqe:                        65535&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The max&amp;nbsp; number cqe is 65535.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With openmpi, I can set&amp;nbsp;&lt;SPAN&gt;UCX_RC_TX_CQ_LEN(default 4096) to 65535. This value can gurantee that the length of CQE will not exceed the limit of configuration of the network card.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is there envrionment variable of libfabric or mpi that can limit the number of CQE?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 06:19:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1311898#M8717</guid>
      <dc:creator>oleotiger</dc:creator>
      <dc:date>2021-09-03T06:19:04Z</dc:date>
    </item>
    <item>
      <title>Re:How to set the size of CQ?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1312411#M8723</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;We are working on your issue and we will get back to you soon.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Varsha&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Sep 2021 11:53:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1312411#M8723</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2021-09-06T11:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the size of CQ?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1313210#M8728</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Could you please specify to us which libfabric provider(Mellanox / PSM2 / Verbs) you are using currently?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Varsha&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 06:59:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1313210#M8728</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2021-09-09T06:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the size of CQ?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1313560#M8732</link>
      <description>&lt;P&gt;I have two servers with differernt libfabric providers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One is equipped with Mellanox network card ( RoCE protocal ).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One is equipped with Huawei Hi1822 network card ( RoCE supported ).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The max number of CQE of Hi1822 is 65535. So I;m looking for a way to set the max number of CQE of transport layer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OpenUCX can control the number of CQR with environment variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way of libfabric or intelmpi that can limit the max number of cqe created?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 06:53:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1313560#M8732</guid>
      <dc:creator>oleotiger</dc:creator>
      <dc:date>2021-09-10T06:53:31Z</dc:date>
    </item>
    <item>
      <title>Re:How to set the size of CQ?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1314086#M8736</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Thank you for providing the information.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;With openmpi, I can set UCX_RC_TX_CQ_LEN(default 4096) to 65535.&lt;/P&gt;&lt;P&gt; Could you please let us know how you are checking that OpenMPI is obeying the setting of UCX_RC_TX_CQ_LEN?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt; Varsha&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2021 08:51:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1314086#M8736</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2021-09-13T08:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re:How to set the size of CQ?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1315088#M8747</link>
      <description>&lt;P&gt;As the infomation of the network card shown above, the max_cqe of my network card is 65535.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With setting&amp;nbsp;&lt;SPAN&gt;UCX_RC_TX_CQ_LEN to 65535 or any number that is equal or less than 65535, I can run OSU benchmark with it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Once setting&amp;nbsp;UCX_RC_TX_CQ_LEN to 65536 or any number that is large than 65535, I can run OSU. It will raise exceptions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So I get the conclusion that OpenMPI is obeying the setting of&amp;nbsp;UCX_RC_TX_CQ_LEN.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 12:41:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1315088#M8747</guid>
      <dc:creator>oleotiger</dc:creator>
      <dc:date>2021-09-16T12:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the size of CQ?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1316724#M8766</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for providing all the requested information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We want to add some points regarding the UCX:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;•The Intel MPI uses UCX in the backend for Infiniband. The UCX variables are specific to the UCX framework and are not specific to Intel MPI/OpenMPI.&lt;/P&gt;
&lt;P&gt;•UCX is a collaboration between industry, laboratories and academia to create an open-source production grade communication framework for data centric and HPC applications.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VarshaS_Intel_1-1632399899083.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/19566i3931F5F11A4CEB3B/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="VarshaS_Intel_1-1632399899083.png" alt="VarshaS_Intel_1-1632399899083.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; Is there any way of libfabric or intelmpi that can limit the max number of cqe created?&lt;/P&gt;
&lt;P&gt;As long as UCX obeys the setting of UCX_RC_TX_CQ_LEN, the MPI application is expected to see the effects of setting this UCX variable UCX_RC_TX_CQ_LEN.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inline with your experiment, we have followed all the steps provided by you at our end with Intel MPI and we found a similar behavior which you got with OpenMPI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When we run the command "ibv devinfo -v" we got the max_cqe = 4194303.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ucxexception.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/19564i69E7483372DB7DA0/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="ucxexception.png" alt="ucxexception.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also, we want to mention that we can not say that certain MPI library is obeying/disobeying the setting UCX_RC_TX_CQ_LEN.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Varsha&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 12:26:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1316724#M8766</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2021-09-23T12:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the size of CQ?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1318146#M8783</link>
      <description>&lt;P&gt;If I'm using OFED, IntelMPI is using the stack : Libfabric--&amp;gt;OFED--&amp;gt;IB verbs/api. In this way there is no UCX. I want to know that if application is running in this way, is there any way that we can control the size of CQE ( as what&amp;nbsp;&lt;SPAN&gt;UCX_RC_TX_CQ_LEN&lt;/SPAN&gt;&amp;nbsp;does)?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 01:04:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1318146#M8783</guid>
      <dc:creator>oleotiger</dc:creator>
      <dc:date>2021-09-30T01:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the size of CQ?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1319041#M8798</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;I want to know that if application is running in this way, is there any way that we can control the size of CQE ( as what UCX_RC_TX_CQ_LEN does)?&lt;/P&gt;
&lt;P&gt;UCX library will be used by Intel MPI Library only when the mlx provider is used. On the verbs side, such a control (i.e. UCX_RC_TX_CQ_LEN) does not exist.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Varsha&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 11:46:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1319041#M8798</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2021-10-04T11:46:27Z</dc:date>
    </item>
    <item>
      <title>Re:How to set the size of CQ?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1321252#M8818</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We haven't heard back from you.&amp;nbsp;Could you please provide an update?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Varsha&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Oct 2021 05:27:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1321252#M8818</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2021-10-12T05:27:49Z</dc:date>
    </item>
    <item>
      <title>Re:How to set the size of CQ?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1323346#M8849</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Varsha&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Oct 2021 04:52:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/How-to-set-the-size-of-CQ/m-p/1323346#M8849</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2021-10-20T04:52:16Z</dc:date>
    </item>
  </channel>
</rss>

