<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:18:10 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-8507] DLC: Enable peer_credit management</title>
                <link>https://jira.whamcloud.com/browse/LU-8507</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The code to allow peer_credits to be set per NI was originally &quot;left inactive&quot; because there were concerns about peer_credits interfering with the ability for IB nodes to connect to each other when peer_credits are not the same (peer_credits controls the queue depth for IB).&lt;/p&gt;

&lt;p&gt;With &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3322&quot; title=&quot;ko2iblnd support for different map_on_demand and peer_credits between systems&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3322&quot;&gt;&lt;del&gt;LU-3322&lt;/del&gt;&lt;/a&gt;, the values do not have to match so it is now safe to enable this code so peer_credits can be set per NI.&lt;/p&gt;</description>
                <environment></environment>
        <key id="38880">LU-8507</key>
            <summary>DLC: Enable peer_credit management</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="doug">Doug Oucharek</assignee>
                                    <reporter username="doug">Doug Oucharek</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Aug 2016 16:51:54 +0000</created>
                <updated>Fri, 4 Aug 2017 18:55:21 +0000</updated>
                            <resolved>Fri, 2 Sep 2016 04:44:01 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="162072" author="gerrit" created="Tue, 16 Aug 2016 16:57:47 +0000"  >&lt;p&gt;Doug Oucharek (doug.s.oucharek@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/21948&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/21948&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8507&quot; title=&quot;DLC: Enable peer_credit management&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8507&quot;&gt;&lt;del&gt;LU-8507&lt;/del&gt;&lt;/a&gt; lnet: Enable setting per NI peer_credits&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 54959518d88190ebccf3a1737344c6579a998842&lt;/p&gt;</comment>
                            <comment id="162082" author="simmonsja" created="Tue, 16 Aug 2016 17:21:45 +0000"  >&lt;p&gt;Will this be meant mostly for back porting since multi-rail fixes this.&lt;/p&gt;</comment>
                            <comment id="162460" author="doug" created="Thu, 18 Aug 2016 21:49:38 +0000"  >&lt;p&gt;I don&apos;t think multi-rail will fix this.  Customers may want to adjust the peer_credit value per NI using DLC even with multi-rail.&lt;/p&gt;</comment>
                            <comment id="162715" author="simmonsja" created="Mon, 22 Aug 2016 18:35:14 +0000"  >&lt;p&gt;With this patch I will no longer need to have a ko2ilnd modprobe config file which is awesome. So I tried your patch but I&apos;m seeing some changes in what values are being set. With a modprobe config file with peer_credits=63 I see the following with lnetctl export &amp;gt; settings.conf.&lt;br/&gt;
This is the desired settings and what I placed in my setting.conf for lnetctl import.&lt;/p&gt;

&lt;p&gt;BTW the command I used to setup my configure for both cases is:&lt;/p&gt;

&lt;p&gt;modprobe lnet;lnetctl lnet configure;lnetctl import &amp;lt; ~/settings.conf&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;net: o2ib1&lt;br/&gt;
      nid: 10.37.202.11@o2ib1&lt;br/&gt;
      status: up&lt;br/&gt;
      interfaces:&lt;br/&gt;
          0: ib0&lt;br/&gt;
          lnd tunables:&lt;br/&gt;
              peercredits_hiw: 62&lt;br/&gt;
              map_on_demand: 16&lt;br/&gt;
              concurrent_sends: 31&lt;br/&gt;
              fmr_pool_size: 1280&lt;br/&gt;
              fmr_flush_trigger: 1024&lt;br/&gt;
              fmr_cache: 1&lt;br/&gt;
      tunables:&lt;br/&gt;
          peer_timeout: 180&lt;br/&gt;
          peer_credits: 63&lt;br/&gt;
          peer_buffer_credits: 0&lt;br/&gt;
          credits: 2560&lt;br/&gt;
          CPT: &quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0&amp;#93;&lt;/span&gt;&quot;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Here is the default settings when I remove my modprobe conf file with lnetctl export &amp;gt; setttings.conf&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;net: o2ib1&lt;br/&gt;
      nid: 10.37.202.11@o2ib1&lt;br/&gt;
      status: up&lt;br/&gt;
      interfaces:&lt;br/&gt;
          0: ib0&lt;br/&gt;
          lnd tunables:&lt;br/&gt;
              peercredits_hiw: 7&lt;br/&gt;
              map_on_demand: 16&lt;br/&gt;
              concurrent_sends: 16&lt;br/&gt;
              fmr_pool_size: 1280&lt;br/&gt;
              fmr_flush_trigger: 1024&lt;br/&gt;
              fmr_cache: 1&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;As you can see peercredits_hiw and concurrent_sends is set to what I want. Any ideas why?&lt;/p&gt;</comment>
                            <comment id="163363" author="simmonsja" created="Mon, 29 Aug 2016 03:41:00 +0000"  >&lt;p&gt;Dough I figured out the problem. Its a old bug so this need to be back ported to several branches. Basically the data the user passed in using&lt;br/&gt;
struct lnet_ioctl_config_data wasn&apos;t being used to set struct lnet_ni fields like ni-&amp;gt;ni_peertxcredits until after lnd-&amp;gt;lnd_startup() was called. This meant the o2iblnd driver was never seeing the ni-&amp;gt;ni_peerXXX fields changed by the lnet_ioctl_config_data. So I moved the setting of the ni-&amp;gt;ni_peerXXX fields with the lnet_ioctl_config_data before the call to lnd-&amp;gt;lnd_startup(). Give it a try now.&lt;/p&gt;</comment>
                            <comment id="164741" author="gerrit" created="Fri, 2 Sep 2016 02:23:26 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/21948/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/21948/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8507&quot; title=&quot;DLC: Enable peer_credit management&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8507&quot;&gt;&lt;del&gt;LU-8507&lt;/del&gt;&lt;/a&gt; lnet: Enable setting per NI peer_credits&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ebac11d264b306b694684f1ee91080a5e31684d4&lt;/p&gt;</comment>
                            <comment id="164768" author="pjones" created="Fri, 2 Sep 2016 04:44:01 +0000"  >&lt;p&gt;Landed for 2.9&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzykvj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>