<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:07:28 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-14172] DIR Stat performance regression in striped dir</title>
                <link>https://jira.whamcloud.com/browse/LU-14172</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;&#160;There is a metadata (DIR Stat) performance regression in 2.12.6 (RC1). It looks like that regression is exist in the part of striped directory and server side.&lt;br/&gt;
 Here is a reproducer and test results.&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;client: version=2.12.6_RC1_1_g327c8b7
server: version=2.12.6_RC1_1_g327c8b7 or lustre-2.12.5
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;# mkdir /ai400x/mdt0
# lfs setdirstripe -c 4 /ai400x/mdt_stripe
# lfs setdirstripe -c 4 -D /ai400x/mdt_stripe

#  salloc -p 40n -N 40 --ntasks-per-node=16  mpirun -mca btl_openib_if_include mlx5_1:1 -x UCX_NET_DEVICES=mlx5_1:1 --bind-to core:overload-allowed --allow-run-as-root /work/tools/bin/mdtest -i 3 -p 10 -n 1500 -u -D -d $PATH
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Single MDT without DNE&lt;br/&gt;
 Server: Lustre-2.12.5&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;SUMMARY rate: (of 3 iterations)
   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation        :      54315.552      50037.128      52618.576       1855.106
   Directory stat            :     186516.109     184354.609     185726.143        972.887
   Directory removal         :      66572.651      64990.546      65627.103        681.777
   Tree creation             :         46.771         24.099         36.301          9.336
   Tree removal              :         16.926         13.890         15.720          1.316
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Server: Lustre-2.12.6-RC1&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;SUMMARY rate: (of 3 iterations)
   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation        :      68098.113      59185.349      62208.643       4164.966
   Directory stat            :     193338.869     192650.348     193031.824        285.743
   Directory removal         :      65905.804      64842.618      65212.728        490.440
   Tree creation             :         44.234         33.906         39.452          4.251
   Tree removal              :         17.024         15.068         16.279          0.864
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Stripe Directory across four MDTs&lt;br/&gt;
 Server: Lustre-2.12.5&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;SUMMARY rate: (of 3 iterations)
   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation        :       6385.748       5929.670       6113.851        196.251
   Directory stat            :     166190.895     162991.180     164733.372       1321.263
   Directory removal         :       4789.518       4294.122       4584.600        211.099
   Tree creation             :         13.200          1.102          6.937          4.948
   Tree removal              :          9.126          8.479          8.810          0.264
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Server: Lustre-2.12.6-RC1&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;SUMMARY rate: (of 3 iterations)
   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation        :       6694.539       6505.265       6613.160         79.512
   Directory stat            :      49873.850      48817.530      49260.117        447.881   &amp;lt;--- This is regression.
   Directory removal         :       4768.841       4253.124       4592.927        240.327
   Tree creation             :         13.490          0.705          7.321          5.229
   Tree removal              :          9.051          8.441          8.774          0.252
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="61835">LU-14172</key>
            <summary>DIR Stat performance regression in striped dir</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="sihara">Shuichi Ihara</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Dec 2020 07:04:15 +0000</created>
                <updated>Wed, 9 Dec 2020 14:26:06 +0000</updated>
                            <resolved>Wed, 9 Dec 2020 14:26:06 +0000</resolved>
                                    <version>Lustre 2.12.6</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                    <fixVersion>Lustre 2.12.6</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="286477" author="pjones" created="Wed, 2 Dec 2020 14:37:36 +0000"  >&lt;p&gt;Lai&lt;/p&gt;

&lt;p&gt;Is this related to the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13437&quot; title=&quot;rename may miss revoking LOOKUP lock to cause stale dentry on client&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13437&quot;&gt;&lt;del&gt;LU-13437&lt;/del&gt;&lt;/a&gt; changes?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="286706" author="laisiyao" created="Fri, 4 Dec 2020 04:21:30 +0000"  >&lt;p&gt;Yes, and the cause is that directory stripe revalidate takes more time in checking it&apos;s a stripe (see mdt_object_is_shard()), I made a simple fix and the result looks good, I&apos;ll tidy it up and push later.&lt;/p&gt;</comment>
                            <comment id="286717" author="gerrit" created="Fri, 4 Dec 2020 06:20:25 +0000"  >&lt;p&gt;Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40863&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40863&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14172&quot; title=&quot;DIR Stat performance regression in striped dir&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14172&quot;&gt;&lt;del&gt;LU-14172&lt;/del&gt;&lt;/a&gt; lmv: optimize dir shard revalidate&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1e31225721c98ab48c8a4572cc59b3661cbe1dda&lt;/p&gt;</comment>
                            <comment id="286736" author="sihara" created="Fri, 4 Dec 2020 14:33:50 +0000"  >&lt;p&gt;Here is test results on master branch (commit:e5c8f66) and reproduced same regression in DIR stat that I saw on lustre-2.12.6-RC1.&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;   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation        :       6323.394       6141.754       6238.210         74.580
   Directory stat            :      48295.593      46827.765      47645.451        610.794
   Directory removal         :       4336.014       4274.571       4315.516         28.952
   Tree creation             :         11.842          0.614          4.587          5.138
   Tree removal              :          9.204          8.894          9.048          0.126
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;And, unfortunueotry, patch 40863 against master doesn&apos;t solve 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;   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation        :       6437.097       6084.071       6279.844        146.672
   Directory stat            :      47235.709      44762.233      46347.987       1123.868
   Directory removal         :       4745.993       4348.202       4504.821        173.053
   Tree creation             :          6.530          0.789          2.762          2.665
   Tree removal              :          8.983          8.477          8.741          0.207
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="286779" author="gerrit" created="Fri, 4 Dec 2020 21:34:03 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40872&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40872&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14172&quot; title=&quot;DIR Stat performance regression in striped dir&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14172&quot;&gt;&lt;del&gt;LU-14172&lt;/del&gt;&lt;/a&gt; mds: disable GETATTR_PFID feature&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: df61386547f026e6d4f6ca7878d1485d15f7e784&lt;/p&gt;</comment>
                            <comment id="286801" author="sihara" created="Sat, 5 Dec 2020 01:15:04 +0000"  >&lt;p&gt;It looks that patch &lt;a href=&quot;https://review.whamcloud.com/40863&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40863&lt;/a&gt; fixes regression after patch applied both server and client side. Previous test was that the patch only applied on server side, but I realized changes in patch contained both server and client.&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;   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation        :       6417.575       6007.465       6186.944        171.288
   Directory stat            :     143940.330     139376.396     141106.210       2020.042
   Directory removal         :       4677.840       4377.965       4569.627        135.902
   Tree creation             :         13.348          0.656          5.006          5.901
   Tree removal              :          8.832          8.782          8.810          0.021
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This numbers is still a bit lower than 2.12.5, but I don&apos;t have baseline number on master without this regression impacts. So, it might be other issues in master if we compare against 2.12.5.&lt;br/&gt;
 Anyway, for b2_12, let me back b2_12 and check with backport patch Lai provided if the performance is back as same level of 2.12.5.&lt;/p&gt;</comment>
                            <comment id="286802" author="gerrit" created="Sat, 5 Dec 2020 02:58:12 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40875&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40875&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14172&quot; title=&quot;DIR Stat performance regression in striped dir&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14172&quot;&gt;&lt;del&gt;LU-14172&lt;/del&gt;&lt;/a&gt; lmv: optimize dir shard revalidate&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0d603e858ee236c779516d7672c14deaa6749e5c&lt;/p&gt;</comment>
                            <comment id="286804" author="sihara" created="Sat, 5 Dec 2020 04:57:15 +0000"  >&lt;p&gt;Here is final test results apple to apple.&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;# mkdir /ai400x/mdt0
# lfs setdirstripe -c 4 /ai400x/mdt_stripe
# lfs setdirstripe -c 4 -D /ai400x/mdt_stripe

#  salloc -p 40n -N 40 --ntasks-per-node=16  mpirun -mca btl_openib_if_include mlx5_1:1 -x UCX_NET_DEVICES=mlx5_1:1 --bind-to core:overload-allowed --allow-run-as-root /work/tools/bin/mdtest -i 3 -p 10 -n 1500 -u -D -d $PATH
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;2.12.5&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;   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation        :       6173.268       5805.240       5933.825        169.465
   Directory stat            :     151800.690     148071.970     150256.305       1587.764
   Directory removal         :       4648.674       4173.113       4417.583        194.376
   Tree creation             :         12.984          0.756          6.940          4.993
   Tree removal          
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;2.12.6-RC1&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;   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation        :       6344.954       5834.617       6020.427        230.277
   Directory stat            :      44887.807      43460.779      43964.038        654.049
   Directory removal         :       4559.802       4114.146       4392.390        198.099
   Tree creation             :         13.336          0.734          7.153          5.148
   Tree removal              :          8.723          8.120          8.359          0.261
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;2.12.6-RC1 + &lt;a href=&quot;https://review.whamcloud.com/40872&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40872&lt;/a&gt;&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;   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation        :       6117.054       5850.628       5941.143        124.404
   Directory stat            :     151638.423     143319.490     148509.338       3695.492
   Directory removal         :       4498.161       3971.102       4219.711        216.202
   Tree creation             :         12.974          0.990          8.916          5.605
   Tree removal              :          8.616          8.349          8.458          0.114
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;2.12.6-RC1 + patch &lt;a href=&quot;https://review.whamcloud.com/40875&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40875&lt;/a&gt;&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;   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation        :       6328.334       5993.743       6113.977        151.946
   Directory stat            :     154744.046     148145.747     152434.570       3035.537
   Directory removal         :       4628.371       4174.092       4457.011        201.538
   Tree creation             :         13.789          1.132          7.503          5.167
   Tree removal              :          8.654          8.373          8.499          0.117
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I think that patch 40875 solves the regression and the numbers are consistent.&lt;/p&gt;</comment>
                            <comment id="286851" author="gerrit" created="Mon, 7 Dec 2020 06:05:08 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/40875/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40875/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14172&quot; title=&quot;DIR Stat performance regression in striped dir&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14172&quot;&gt;&lt;del&gt;LU-14172&lt;/del&gt;&lt;/a&gt; lmv: optimize dir shard revalidate&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 94ec63ed67c6f09a2b15b2227ef6b189df623f4d&lt;/p&gt;</comment>
                            <comment id="287057" author="gerrit" created="Wed, 9 Dec 2020 07:48:39 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/40863/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40863/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14172&quot; title=&quot;DIR Stat performance regression in striped dir&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14172&quot;&gt;&lt;del&gt;LU-14172&lt;/del&gt;&lt;/a&gt; lmv: optimize dir shard revalidate&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: de47c7671f29b2a3a79f6a126b7e01f0b2c5991a&lt;/p&gt;</comment>
                            <comment id="287094" author="pjones" created="Wed, 9 Dec 2020 14:26:06 +0000"  >&lt;p&gt;Landed for 2.14 and 2.12.6&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="58698">LU-13437</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="61738">LU-14146</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|i01g73:</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="10021"><![CDATA[2]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>