<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:41:43 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>[LUDOC-286] Document the effects of LU-3322</title>
                <link>https://jira.whamcloud.com/browse/LUDOC-286</link>
                <project id="10070" key="LUDOC">Lustre Documentation</project>
                    <description>&lt;p&gt;The solution to &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; has made changes to how we can configure map_on_demand and peer_credits for o2iblnd-based connections.  In that ticket, Jeremy has outlined some good information which should be captured in our documentation to help users better understand how to work with three tuning parameters: map_on_demand, peer_credits, and concurrent_sends.&lt;/p&gt;

&lt;p&gt;We should also be documenting what good pre-sets to use for different node types: MDS/OSS, LNet routers, and clients.&lt;/p&gt;</description>
                <environment></environment>
        <key id="30403">LUDOC-286</key>
            <summary>Document the effects of LU-3322</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="LM-Triage">Lustre Manual Triage</assignee>
                                    <reporter username="doug">Doug Oucharek</reporter>
                        <labels>
                    </labels>
                <created>Wed, 27 May 2015 23:19:53 +0000</created>
                <updated>Tue, 10 Apr 2018 17:20:29 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="129798" author="adilger" created="Thu, 8 Oct 2015 07:59:09 +0000"  >&lt;p&gt;This patch has landed to master, but as yet there is no documentation patch for the manual.&lt;/p&gt;

&lt;p&gt;Comments from Jeremy in &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;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Summary:&lt;br/&gt;
Normally the Lustre ko2iblnd can only operate with identical peer_credits and map_on_demand between systems. The patch affects the active (initiator) connection in IB for clients/routers and the passive (responder) connections for IB with servers/routers. Passive connections will automatically negotiate down if the parameters permit and reject if they are to high for the remote request. Active connections will send their defaults initially and if rejected attempt to use the lower values from the reject message. If the values are higher the active connection won&apos;t retry because its not supported.&lt;/p&gt;

&lt;p&gt;There are 3 parameters in the ko2iblnd of interest here: peer_credits, map_on_demand, and concurrent_sends. The default settings for ko2iblnd are &lt;tt&gt;peer_credits=8&lt;/tt&gt;, &lt;tt&gt;concurrent_sends=8&lt;/tt&gt;, and &lt;tt&gt;map_on_demand=0&lt;/tt&gt; (disabled)&lt;/p&gt;

&lt;p&gt;peer_credits determines how many messages you can receive from a single connection (queue pair).&lt;br/&gt;
map_on_demand determines the number of DMA segments per credit that are sent. Each segment is usually (always?) a page and is sent as a separate work request so these are typically (256 &amp;#42; 4k pages) going across the wire.&lt;br/&gt;
concurrent_sends determines how many send messages you can queue at a time to a single connection, concurrent_sends can&apos;t be less than half of peer_credits but concurrent_sends needs to be &amp;lt;= 62 to not exceed the maximum number of work requests per queue pair in the standard Mellanox ConnectX[123] HCAs.&lt;/p&gt;

&lt;p&gt;The relation between those values is: work_requests_allocated = (map_on_demand + 1) &amp;#42; concurrent_sends&lt;/p&gt;

&lt;p&gt;You can see your max work requests per queue pair with:&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;    ibv_devinfo -v | grep max_qp_wr
    max_qp_wr: 16384
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;My recommendation is the following for maximum compatibility.&lt;br/&gt;
Lustre MDS/OSS Severs and Routers, use the patch and run with:&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;peer_credits=124 concurrent_sends=62 map_on_demand=256
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Existing Lustre clients:&lt;br/&gt;
Need to apply the patch or lower the current values for peer_credits and concurrent_sends to match the OSS/MDS setting.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Do we need to include some or all of Amir&apos;s compatibility matrix (&lt;a href=&quot;https://jira.hpdd.intel.com/secure/attachment/18893/compatibility%20matrix.xlsx&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jira.hpdd.intel.com/secure/attachment/18893/compatibility%20matrix.xlsx&lt;/a&gt;) in the manual to tell users what options exist for configuring with mixed-Lustre-version networks?&lt;/p&gt;

&lt;p&gt;The manual section related to this should be marked conditional for Lustre 2.8 using the &lt;tt&gt;&amp;lt;para condition=&quot;l28&quot;&amp;gt;&lt;/tt&gt; tag.&lt;/p&gt;</comment>
                            <comment id="134045" author="chunteraa" created="Fri, 20 Nov 2015 03:53:40 +0000"  >&lt;p&gt;The attached spreadsheet lists 4th case &quot;OPN = Map-on-demand-&amp;gt;on&quot; but likely should read &quot;OPN = Map-on-demand-&amp;gt; off&quot;&lt;/p&gt;


</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="18907">LU-3322</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="32836">LUDOC-310</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hzxedr:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>