<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:48:47 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-11999] DNE performance improvement</title>
                <link>https://jira.whamcloud.com/browse/LU-11999</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There exists a case that DNE would create remote files slow. When a remote directory is created, and if the process has to walk path to create files under that remote directory, excessive UPDATE lock request and revocation is seen. To reproduce this problem:&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; # lfs mkdir -i 0 /mnt/lustre/dir1
 # lfs mkdir -i 1 /mnt/lustre/dir1/dir2
 # touch&#160;/mnt/lustre/dir1/dir2/f1
 # touch /mnt/lustre/dir1/dir2/f2
 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Each time when a file is created under &lt;tt&gt;/mnt/lustre/dir1/dir2&lt;/tt&gt;, client will walk the path, and a UPDATE lock is requested in function &lt;tt&gt;lmv_intent_remote()&lt;/tt&gt; since this is a remote directory; as the code shows:&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;
        /*
         * Unfortunately, we have to lie to MDC/MDS to retrieve
         * attributes llite needs and provideproper locking.
         */
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (it-&amp;gt;it_op &amp;amp; IT_LOOKUP)
                it-&amp;gt;it_op = IT_GETATTR;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The above code will cause UPDATE + PERM lock to be returned.&lt;/p&gt;

&lt;p&gt;Then when the create intent RPC is sent to the MDS, the UPDATE lock will be revoked by the MDT. This pattern will go on over and over again as this operation continues.&lt;/p&gt;

&lt;p&gt;This piece of code was written before PERM lock was introduced, and it&apos;s causing drastic performance degradation. Now we have PERM lock in place, the code is no longer required.&lt;/p&gt;

&lt;p&gt;Thanks Di for providing the insight of DNE code.&lt;/p&gt;

&lt;p&gt;Patch and test are coming soon.&lt;/p&gt;</description>
                <environment></environment>
        <key id="54970">LU-11999</key>
            <summary>DNE performance improvement</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="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="Jinshan">Jinshan Xiong</assignee>
                                    <reporter username="Jinshan">Jinshan Xiong</reporter>
                        <labels>
                    </labels>
                <created>Sun, 24 Feb 2019 22:21:42 +0000</created>
                <updated>Fri, 21 Feb 2020 23:24:00 +0000</updated>
                            <resolved>Thu, 21 Mar 2019 04:50:31 +0000</resolved>
                                                    <fixVersion>Lustre 2.13.0</fixVersion>
                    <fixVersion>Lustre 2.12.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="242641" author="gerrit" created="Sun, 24 Feb 2019 22:40:18 +0000"  >&lt;p&gt;Jinshan Xiong (jinshan.xiong@gmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34291&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34291&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11999&quot; title=&quot;DNE performance improvement&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11999&quot;&gt;&lt;del&gt;LU-11999&lt;/del&gt;&lt;/a&gt; dne: performance improvement for file creation&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5ebe2b12f3e9a623b2b8188ed78792bdbf598352&lt;/p&gt;</comment>
                            <comment id="242642" author="jinshan" created="Sun, 24 Feb 2019 22:44:25 +0000"  >&lt;p&gt;Di provided the above patch to fix the problem. The test result is as follows:&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;Test case:
rm -rf /mnt/lustre_purple/testdir
lfs mkdir -i 0 /mnt/lustre_purple/testdir
lfs mkdir -i 2 /mnt/lustre_purple/testdir/dir2
./lustre-release/lustre/tests/createmany -o \
	/mnt/lustre_purple/testdir/dir2/f 10000

Before the patch is applied:
total: 10000 open/close in 12.82 seconds: 780.22 ops/second

After the patch is applied:
total: 10000 open/close in 4.89 seconds: 2044.75 ops/second
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="244353" author="gerrit" created="Thu, 21 Mar 2019 03:42:13 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34291/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34291/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11999&quot; title=&quot;DNE performance improvement&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11999&quot;&gt;&lt;del&gt;LU-11999&lt;/del&gt;&lt;/a&gt; dne: performance improvement for file creation&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: bfbd062e6b177cf934b75d6be2db695b9fe1648b&lt;/p&gt;</comment>
                            <comment id="244379" author="pjones" created="Thu, 21 Mar 2019 04:50:31 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="244680" author="gerrit" created="Tue, 26 Mar 2019 17:29:36 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34505&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34505&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11999&quot; title=&quot;DNE performance improvement&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11999&quot;&gt;&lt;del&gt;LU-11999&lt;/del&gt;&lt;/a&gt; dne: performance improvement for file creation&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 9b71ee07073b1316e7949c2f93076c5a89ab592c&lt;/p&gt;</comment>
                            <comment id="244760" author="adilger" created="Wed, 27 Mar 2019 18:10:51 +0000"  >&lt;p&gt;Another possible performance issue is that for DNE cross-MDT operations (e.g. &lt;tt&gt;mkdir()&lt;/tt&gt; or &lt;tt&gt;rename()&lt;/tt&gt;) there is only a single OSP modify RPC in flight per remote target, since the patch &lt;a href=&quot;https://review.whamcloud.com/14375&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/14375&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6864&quot; title=&quot;DNE3: Support multiple modify RPCs in flight for MDT-MDT connection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6864&quot;&gt;&lt;del&gt;LU-6864&lt;/del&gt;&lt;/a&gt; osp: manage number of modify RPCs in flight&lt;/tt&gt;&quot; is not landed yet.&lt;/p&gt;</comment>
                            <comment id="245364" author="gerrit" created="Mon, 8 Apr 2019 06:27:14 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34505/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34505/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11999&quot; title=&quot;DNE performance improvement&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11999&quot;&gt;&lt;del&gt;LU-11999&lt;/del&gt;&lt;/a&gt; dne: performance improvement for file creation&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 182731f92c4a61d2b7793a798950439a467d9365&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="31120">LU-6864</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="45824">LU-9436</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|i00c5z:</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>