<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:09:13 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-7475] lnetctl import not honoring nbuffers, credits, or mincredits </title>
                <link>https://jira.whamcloud.com/browse/LU-7475</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Using &lt;tt&gt;lnetctl import&lt;/tt&gt; produces different results than using &lt;tt&gt;lnet&lt;/tt&gt; module parameters.  &lt;/p&gt;

&lt;p&gt;Entry in &lt;tt&gt;lnet.conf&lt;/tt&gt; modprobe file:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;options lnet check_routers_before_use=1 \
             router_ping_timeout=130 \
             dead_router_check_interval=300 \
             live_router_check_interval=600\
             tiny_router_buffers=8192 \
             small_router_buffers=131072 \
             large_router_buffers=4096 \
             peer_buffer_credits=64

options lnet forwarding=&lt;span class=&quot;code-quote&quot;&gt;&quot;enabled&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Will create the following setup:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;# lnetctl routing show
routing:
    - cpt[0]:
          tiny:
              npages: 0
              nbuffers: 2048
              credits: 2048
              mincredits: 2048
          small:
              npages: 1
              nbuffers: 32768
              credits: 32768
              mincredits: 32768
          large:
              npages: 256
              nbuffers: 1024
              credits: 1024
              mincredits: 1024
......
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But, specifying these parameters in &lt;tt&gt;/etc/sysconfig/lnet.conf&lt;/tt&gt; does not.  Entry in &lt;tt&gt;/etc/sysconfig/lnet.conf&lt;/tt&gt;:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;routing:
    - cpt[0]:
          tiny:
              npages: 0
              nbuffers: 2048
              credits: 2048
              mincredits: 2048
          small:
              npages: 1
              nbuffers: 32768
              credits: 32768
              mincredits: 32768
          large:
              npages: 256
              nbuffers: 1024
              credits: 1024
              mincredits: 1024
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Result:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;# lnetctl routing show
routing:
    - cpt[0]:
          tiny:
              npages: 0
              nbuffers: 512
              credits: 512
              mincredits: 512
          small:
              npages: 1
              nbuffers: 4096
              credits: 4096
              mincredits: 4096
          large:
              npages: 256
              nbuffers: 256
              credits: 256
              mincredits: 256
......
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Are these settings not supported by &lt;tt&gt;lnetctl&lt;/tt&gt;, or is using the module parameters still the preferred method?&lt;/p&gt;

&lt;p&gt;Thanks!&lt;br/&gt;
&amp;#8211;&lt;br/&gt;
Jesse&lt;/p&gt;
</description>
                <environment>RHEL 6.6&lt;br/&gt;
lustre-client-2.7.1-2.6.32_504.30.3.el6.x86_64_g43f9fd9.x86_64</environment>
        <key id="33324">LU-7475</key>
            <summary>lnetctl import not honoring nbuffers, credits, or mincredits </summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</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="ashehata">Amir Shehata</assignee>
                                    <reporter username="hanleyja">Jesse Hanley</reporter>
                        <labels>
                    </labels>
                <created>Tue, 24 Nov 2015 19:57:01 +0000</created>
                <updated>Sat, 16 Jan 2016 05:05:31 +0000</updated>
                            <resolved>Mon, 14 Dec 2015 05:29:05 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="134474" author="ashehata" created="Tue, 24 Nov 2015 23:41:33 +0000"  >&lt;p&gt;The syntax to configure buffers from YAML is:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;routing:
        enable: 1

buffers:
        tiny: 8192
        small: 131072
        large: 4096
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="134489" author="adilger" created="Wed, 25 Nov 2015 02:06:15 +0000"  >&lt;p&gt;Amir, it should be possible to take the output of lnetctl show and use that as the input (i.e. the input and output should describe the same parameters in the same way).&lt;/p&gt;</comment>
                            <comment id="134519" author="hanleyja" created="Wed, 25 Nov 2015 13:32:44 +0000"  >&lt;p&gt;Thanks for the info Amir.  I just tested it and it appears to work as expected. Does this just mean that the buffers section should be added to &lt;tt&gt;lnetctl export&lt;/tt&gt; and to the man page?&lt;/p&gt;</comment>
                            <comment id="134549" author="ashehata" created="Wed, 25 Nov 2015 17:09:00 +0000"  >&lt;p&gt;I think the best way to do it is to sum up the output of the routing YAML block for each of the tiny/small/large buffers and add it in the show block as the buffers section. I think we need to do that because if you have multiple CPTs in the system, then when you show routing, each CPT will show the number of buffers assigned to it. But if you want to use the output to configure and get the exact same result, the total number of buffers should be fed back to LNet, and the only way to do that is to sum up the buffers for all the CPTs. Technically, you can do that in the LNet module, but I would rather keep these type of calculations in user space.&lt;/p&gt;

&lt;p&gt;I&apos;ll create a patch for this.&lt;/p&gt;</comment>
                            <comment id="134630" author="gerrit" created="Fri, 27 Nov 2015 03:33:25 +0000"  >&lt;p&gt;Amir Shehata (amir.shehata@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/17370&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17370&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7475&quot; title=&quot;lnetctl import not honoring nbuffers, credits, or mincredits &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7475&quot;&gt;&lt;del&gt;LU-7475&lt;/del&gt;&lt;/a&gt; lnet: ensure buffer config symmetry&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5f7939976652e16bdc9eb4b5dcbe023fc75f80ea&lt;/p&gt;</comment>
                            <comment id="134758" author="hanleyja" created="Mon, 30 Nov 2015 18:08:31 +0000"  >&lt;p&gt;Thanks Amir.&lt;/p&gt;

&lt;p&gt;Will this also allow us to set the lnet params for &lt;tt&gt;check_routers_before_use&lt;/tt&gt;, &lt;tt&gt;avoid_asym_router_failure&lt;/tt&gt;, &lt;tt&gt;live_router_check_interval&lt;/tt&gt;, &lt;tt&gt;dead_router_check_interval&lt;/tt&gt;, and &lt;tt&gt;router_ping_timeout&lt;/tt&gt;, or will we still need to use a modprofile file for this?&lt;/p&gt;

&lt;p&gt;Thanks again,&lt;br/&gt;
&amp;#8211;&lt;br/&gt;
Jesse&lt;/p&gt;</comment>
                            <comment id="134864" author="simmonsja" created="Tue, 1 Dec 2015 15:45:12 +0000"  >&lt;p&gt;Currently there is no way to set those values outside of the modprobe config file &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="136165" author="gerrit" created="Sun, 13 Dec 2015 20:57:56 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/17370/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17370/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7475&quot; title=&quot;lnetctl import not honoring nbuffers, credits, or mincredits &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7475&quot;&gt;&lt;del&gt;LU-7475&lt;/del&gt;&lt;/a&gt; lnet: ensure buffer config symmetry&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e48f5a556f05e8dd6f2ffc57ad7c1220c24c9be1&lt;/p&gt;</comment>
                            <comment id="136181" author="pjones" created="Mon, 14 Dec 2015 05:29:06 +0000"  >&lt;p&gt;Landed for .2.8&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <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|hzxu7z:</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>