<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:02:21 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-13566] socklnd: wrong NID to interface mapping</title>
                <link>https://jira.whamcloud.com/browse/LU-13566</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In a Multi-Rail setup using ethernet interfaces, it appears like there is a wrong mapping between the LNet level NID and the ethernet interfaces.&lt;br/&gt;
 When sending traffic, LNet reports all NIDs are being used for traffic, but when we use &lt;tt&gt;netstat -i&lt;/tt&gt; to monitor LNet traffic, we only see traffic on a subset of the interfaces.&lt;/p&gt;

&lt;p&gt;When we restrict traffic from LNet on a subset of the NIDs, even for that subset, the interfaces don&apos;t match. For example &lt;tt&gt;netstat -i&lt;/tt&gt; can show traffic on eth0 and eth2. But LNet shows that it&apos;s using eth1 and eth2.&lt;/p&gt;

&lt;p&gt;However, when using iperf, all ethernet interfaces are used according to &lt;tt&gt;netstat -i&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;This behavior is easily reproducible on a simple 2 VM MR setup.&lt;/p&gt;</description>
                <environment></environment>
        <key id="59204">LU-13566</key>
            <summary>socklnd: wrong NID to interface mapping</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="ashehata">Amir Shehata</reporter>
                        <labels>
                    </labels>
                <created>Fri, 15 May 2020 15:53:20 +0000</created>
                <updated>Wed, 29 Jul 2020 19:07:29 +0000</updated>
                            <resolved>Sun, 28 Jun 2020 15:02:54 +0000</resolved>
                                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="270853" author="adilger" created="Thu, 21 May 2020 17:06:51 +0000"  >&lt;p&gt;Is this happening with multiple Ethernet interfaces on the same subnet?  I recall ages ago that there was a problem with &quot;source routing&quot; for ethernet, in that the kernel would select whatever interface it wanted on that subnet, even if LNet is trying to use a specific interface for outgoing packets.&lt;/p&gt;

&lt;p&gt;This &lt;em&gt;might&lt;/em&gt; be helped by patch &lt;a href=&quot;https://review.whamcloud.com/37702&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37702&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10391&quot; title=&quot;LNET: Support IPv6&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10391&quot;&gt;LU-10391&lt;/a&gt; socklnd: use interface index to track local addr&lt;/tt&gt;&quot; to ensure that the specific interface is used rather than trying to use the address to guide interface selection.&lt;/p&gt;</comment>
                            <comment id="270891" author="ashehata" created="Fri, 22 May 2020 02:42:53 +0000"  >&lt;p&gt;I actually found a problem with that patch. It breaks binding a socket to the correct interface. As a result we keep binding to the same interface.&lt;/p&gt;

&lt;p&gt;However, even when I fixed this issue netstat -i still shows all traffic going over only one of the interfaces. I&apos;m continuing my investigation.&lt;/p&gt;

&lt;p&gt;*Correction the same problem was there from the beginning in socklnd. It was not introduced by the patch.&lt;/p&gt;</comment>
                            <comment id="271382" author="gerrit" created="Thu, 28 May 2020 03:38:08 +0000"  >&lt;p&gt;Amir Shehata (ashehata@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38743&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38743&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13566&quot; title=&quot;socklnd: wrong NID to interface mapping&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13566&quot;&gt;&lt;del&gt;LU-13566&lt;/del&gt;&lt;/a&gt; socklnd: fix local interface binding&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 6ba5f24c9f3845dc991bb45d344172af0c9e6d90&lt;/p&gt;</comment>
                            <comment id="271383" author="ashehata" created="Thu, 28 May 2020 03:40:23 +0000"  >&lt;p&gt;For tcp workloads it&apos;s important to properly set the ARP, reverse path filtering and routing config, to make sure packets egress over the intended interfaces in a multi-rail setup.&lt;/p&gt;</comment>
                            <comment id="273912" author="gerrit" created="Sun, 28 Jun 2020 02:48:04 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/38743/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38743/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13566&quot; title=&quot;socklnd: wrong NID to interface mapping&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13566&quot;&gt;&lt;del&gt;LU-13566&lt;/del&gt;&lt;/a&gt; socklnd: fix local interface binding&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: a7c9aba5eb96dd1e53899108a65af381b49e657b&lt;/p&gt;</comment>
                            <comment id="273935" author="pjones" created="Sun, 28 Jun 2020 15:02:54 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="59980">LU-13790</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|i010hj:</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>