<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:54:53 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-5828] DLC: Cannot verify if the routing buffer has been set or not</title>
                <link>https://jira.whamcloud.com/browse/LU-5828</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Cannot verify if the routing buffer has been set or not, the same happens on small and large buffers as well.&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[root@onyx-27 proc]# more /sys/module/lnet/parameters/forwarding 
enabled
[root@onyx-27 proc]# lnetctl set tiny_buffers 2048
[root@onyx-27 proc]# 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
    - enable: 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>server and client: lustre-master build #2702</environment>
        <key id="27386">LU-5828</key>
            <summary>DLC: Cannot verify if the routing buffer has been set or not</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="sarah">Sarah Liu</reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 Oct 2014 21:49:33 +0000</created>
                <updated>Fri, 20 Feb 2015 15:13:00 +0000</updated>
                            <resolved>Fri, 20 Feb 2015 15:13:00 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="98114" author="ashehata" created="Fri, 31 Oct 2014 23:09:09 +0000"  >&lt;p&gt;When I tested on my VM it works.  Please try the following steps:&lt;/p&gt;

&lt;p&gt;1. Unload lnet&lt;br/&gt;
2. reload lnet&lt;br/&gt;
3. enable routing via &quot;lnetctl set routing 1&quot;&lt;br/&gt;
4. check values via &quot;lnetctl routing show&quot;&lt;br/&gt;
5. increase the value of one of the buffers via &quot;lnetctl set tiny_buffers &amp;lt;number&amp;gt;&quot;&lt;br/&gt;
6. check values via &quot;lnetctl routing show&quot;&lt;br/&gt;
7. Please paste the output of the above commands in this bug.&lt;/p&gt;

&lt;p&gt;Also note that if you reduce the number of buffers the reduction doesn&apos;t show immediately, as buffers are freed when they have been used and are being returned.  So as traffic starts up, you&apos;ll see that the buffers are reduced.&lt;/p&gt;

&lt;p&gt;The best way to test so you can immediately see, is to increase the number of buffers.&lt;/p&gt;</comment>
                            <comment id="98212" author="sarah" created="Mon, 3 Nov 2014 19:07:24 +0000"  >&lt;p&gt;Hi this is what I got&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[root@onyx-27 ~]# lsmod|grep lnet
[root@onyx-27 ~]# modprobe lnet
LNet: HW CPU cores: 32, npartitions: 4
alg: No test for adler32 (adler32-zlib)
alg: No test for crc32 (crc32-table)
alg: No test for crc32 (crc32-pclmul)
padlock: VIA PadLock Hash Engine not detected.
[root@onyx-27 ~]# lsmod|grep lnet
lnet                  343308  0 
libcfs                491216  1 lnet
[root@onyx-27 ~]# lnetctl set routing 1
add:
    - routing:
          errno: -100
          descr: &quot;cannot enable routing Network is down&quot;
[root@onyx-27 ~]# lctl network up
LNet: Added LNI 192.168.4.65@o2ib [8/256/0/180]
LNet: Added LNI 10.2.4.65@tcp [8/256/0/180]
LNet: Accept secure, port 7988
LNET configured
[root@onyx-27 ~]# lnetctl set routing 1
[root@onyx-27 ~]# 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
    - enable: 1
[root@onyx-27 ~]# lnetctl set tiny_buffers 1024
[root@onyx-27 ~]# 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
    - enable: 1
[root@onyx-27 ~]# 

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="98246" author="ashehata" created="Tue, 4 Nov 2014 00:32:58 +0000"  >&lt;p&gt;can you look at /var/log/messages to see if there are any errors?&lt;/p&gt;</comment>
                            <comment id="98481" author="ashehata" created="Wed, 5 Nov 2014 22:42:41 +0000"  >&lt;p&gt;onyx-27 has 4 CPTs.  However due to overloading of iterator variable in the show routing information function, only the first CPT was displayed.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/12593&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12593&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Just note however, the number of buffers specified on the lnetctl command line is the total number of buffers for all CPTs.  That value is then divided by the number of CPTs, so that each CPT has an equal number of buffers.  The per CPT number of buffers need to be greater than the minimum per buffer type:&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;#define LNET_NRB_TINY_MIN&#187;&#183;&#183;&#183;&#183;&#183;&#183;512&#187;&#183;&#183;&#183;&#183;&lt;span class=&quot;code-comment&quot;&gt;/* min value &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; each CPT */&lt;/span&gt;
#define LNET_NRB_SMALL_MIN&#187;&#183;&#183;&#183;&#183;&#183;4096&#187;&#183;&#183;&#183;&lt;span class=&quot;code-comment&quot;&gt;/* min value &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; each CPT */&lt;/span&gt;
#define LNET_NRB_LARGE_MIN&#187;&#183;&#183;&#183;&#183;&#183;256&#187;&#183;&#183;&#183;&#183;&lt;span class=&quot;code-comment&quot;&gt;/* min value &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; each CPT */&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The logic is that if you try to set the per CPT number of buffers below the minimum, it&apos;s not accepted silently.&lt;/p&gt;

&lt;p&gt;As an example the minimum per CPT for tiny buffers is 512&lt;br/&gt;
If you have 4 CPTs and you try to set the value of the total number of tiny buffers to 1024.  1024/4 = 256 &amp;lt; 512 so you don&apos;t see the change.&lt;/p&gt;</comment>
                            <comment id="101062" author="gerrit" created="Tue, 9 Dec 2014 08:12:45 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/12593/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12593/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5828&quot; title=&quot;DLC: Cannot verify if the routing buffer has been set or not&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5828&quot;&gt;&lt;del&gt;LU-5828&lt;/del&gt;&lt;/a&gt; lnet: showing buffers problem with mulitple CPTs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b4b00be8a93cf06f232d3edc613f03d06b112d32&lt;/p&gt;</comment>
                            <comment id="103691" author="sarah" created="Thu, 15 Jan 2015 23:35:42 +0000"  >&lt;p&gt;This has been verified in build #2808&lt;/p&gt;</comment>
                            <comment id="107489" author="jlevi" created="Fri, 20 Feb 2015 15:12:51 +0000"  >&lt;p&gt;Reopening to add fix version.&lt;/p&gt;</comment>
                    </comments>
                    <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|hzwzv3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16349</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>