<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:01:59 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-13520] a performance regression on directory creation</title>
                <link>https://jira.whamcloud.com/browse/LU-13520</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;&apos;git bisect&apos; pointed out a performance regression on directory creation and commit &quot;b7cd65a &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12988&quot; title=&quot;improve mount time on huge ldiskfs filesystem&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12988&quot;&gt;&lt;del&gt;LU-12988&lt;/del&gt;&lt;/a&gt; ldiskfs: mballoc to prefetch groups&quot; caused regression.&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;mpirun -np 640 mdtest -D -C -r -u -n 1000 -vv -p 10 -i 3 -d /scratch/mdt0
&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;master 52b5f4a LU-10401 tests: fix error from &apos;tr -d=&apos;
SUMMARY rate: (of 3 iterations)
   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation        :      44270.444      42144.617      43138.707        873.040
   Directory stat            :          0.000          0.000          0.000          0.000
   Directory removal         :      46058.435      44429.196      45452.138        726.962
   Tree creation             :         39.058         30.573         35.586          3.631
   Tree removal              :         32.583         31.615         32.014          0.413
V-1: Entering PrintTimestamp...
&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;b7cd65a LU-12988 ldiskfs: mballoc to prefetch groups
SUMMARY rate: (of 3 iterations)
   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation        :      44626.926      43321.707      43810.517        580.641
   Directory stat            :          0.000          0.000          0.000          0.000
   Directory removal         :      46902.932      45311.241      46091.593        649.716
   Tree creation             :         39.966         25.251         34.092          6.363
   Tree removal              :         32.608         25.252         30.093          3.424
V-1: Entering PrintTimestamp...
&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;59a3d72 LU-12043 llite: move tunable params to sysfs_memparse()
SUMMARY rate: (of 3 iterations)
   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation        :      76243.849      62728.925      69264.981       5525.345
   Directory stat            :          0.000          0.000          0.000          0.000
   Directory removal         :      47895.918      47533.099      47709.202        147.805
   Tree creation             :         43.638         38.047         41.193          2.336
   Tree removal              :         33.540         27.030         31.193          2.951
V-1: Entering PrintTimestamp...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="59061">LU-13520</key>
            <summary>a performance regression on directory creation</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="bzzz">Alex Zhuravlev</assignee>
                                    <reporter username="sihara">Shuichi Ihara</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 May 2020 08:02:25 +0000</created>
                <updated>Sat, 6 Jun 2020 15:02:51 +0000</updated>
                            <resolved>Sat, 6 Jun 2020 15:02:51 +0000</resolved>
                                    <version>Lustre 2.13.0</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="269396" author="bzzz" created="Wed, 6 May 2020 08:31:10 +0000"  >&lt;p&gt;can you please try with disabled prefetching, on MDS:&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;echo 0 &amp;gt;/sys/fs/ldiskfs/&amp;lt;mdt-device&amp;gt;mb_prefetch_limit&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="269397" author="sihara" created="Wed, 6 May 2020 08:47:23 +0000"  >&lt;p&gt;attached are two framegraphes on commit 59a3d72(master) 52b5f4a(an commit &quot;b7cd65a &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12988&quot; title=&quot;improve mount time on huge ldiskfs filesystem&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12988&quot;&gt;&lt;del&gt;LU-12988&lt;/del&gt;&lt;/a&gt; ldiskfs: mballoc to prefetch groups&quot;) and it pointed out the latest master spent a lot of CPU time on ldiskfs_read_block_bitmap_nowait() with spinlock which doesn&apos;t see same CPU time on commit 52b5f4a.&lt;/p&gt;</comment>
                            <comment id="269398" author="bzzz" created="Wed, 6 May 2020 08:55:23 +0000"  >&lt;p&gt;which kernel did you use?&lt;br/&gt;
(I&apos;ll try to cook a quick patch for that kernel)&lt;/p&gt;</comment>
                            <comment id="269399" author="sihara" created="Wed, 6 May 2020 08:58:02 +0000"  >&lt;p&gt;looks better after &quot;echo 0 &amp;gt;/sys/fs/ldiskfs/&amp;lt;mdt-device&amp;gt;mb_prefetch_limit&quot;&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;master 52b5f4a LU-10401 tests: fix error from &apos;tr -d=&apos; with &quot;echo 0 &amp;gt;/sys/fs/ldiskfs/&amp;lt;mdt-device&amp;gt;mb_prefetch_limit&quot;

SUMMARY rate: (of 3 iterations)
   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation        :      72279.489      62814.460      67811.718       3881.214
   Directory stat            :          0.000          0.000          0.000          0.000
   Directory removal         :      47547.120      47419.048      47503.194         58.836
   Tree creation             :         53.445         40.462         47.929          5.477
   Tree removal              :         32.093         27.697         30.574          2.036
V-1: Entering PrintTimestamp...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="269400" author="sihara" created="Wed, 6 May 2020 08:58:54 +0000"  >&lt;blockquote&gt;
&lt;p&gt;which kernel did you use?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I&apos;m testing RHEL7.7 kernel.&lt;/p&gt;</comment>
                            <comment id="269401" author="bzzz" created="Wed, 6 May 2020 09:48:16 +0000"  >&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;
   Directory creation        :      76243.849      62728.925      69264.981       5525.345
...
   Directory creation        :      72279.489      62814.460      67811.718       3881.214
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;even with mb_prefetch_limit=0 it&apos;s still behind ? can you please try again with fs remount? thanks a lot&lt;/p&gt;</comment>
                            <comment id="269402" author="bzzz" created="Wed, 6 May 2020 10:23:16 +0000"  >&lt;p&gt;also, how empty/full MDT was? probably just created?&lt;/p&gt;</comment>
                            <comment id="269403" author="sihara" created="Wed, 6 May 2020 10:43:45 +0000"  >&lt;p&gt;I think performance with mb_prefetch_limit=0 is fine. here is resutls after remounted MDT.&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        :      75747.972      64178.225      70424.704       4767.309
   Directory stat            :          0.000          0.000          0.000          0.000
   Directory removal         :      50648.239      44288.365      47869.443       2657.031
   Tree creation             :         44.080         29.518         37.821          6.118
   Tree removal              :         32.954         28.309         30.811          1.913
V-1: Entering PrintTimestamp...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;also, how empty/full MDT was? probably just created?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;MDT is emply and yes, it was just created.&lt;/p&gt;</comment>
                            <comment id="269406" author="gerrit" created="Wed, 6 May 2020 12:36:21 +0000"  >&lt;p&gt;Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38513&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38513&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13520&quot; title=&quot;a performance regression on directory creation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13520&quot;&gt;&lt;del&gt;LU-13520&lt;/del&gt;&lt;/a&gt; ldiskfs: fastpath in prefetching&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e4267c5f83166bc31475eac7977a1a8ef1070dff&lt;/p&gt;</comment>
                            <comment id="269407" author="bzzz" created="Wed, 6 May 2020 12:42:45 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=sihara&quot; class=&quot;user-hover&quot; rel=&quot;sihara&quot;&gt;sihara&lt;/a&gt; can you please try the patch above? unfortunately I can test it with master branch only.&lt;/p&gt;</comment>
                            <comment id="269480" author="sihara" created="Thu, 7 May 2020 03:11:51 +0000"  >&lt;p&gt;patch solves problem even with default mb_prefetch_limit parameter.&lt;br/&gt;
master (52b5f4a) + 38513&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        :      83171.845      71796.197      77274.256       4652.121
   Directory stat            :          0.000          0.000          0.000          0.000
   Directory removal         :      55310.503      50699.606      52626.180       1956.720
   Tree creation             :         38.032         26.759         33.917          5.081
   Tree removal              :         32.981         30.756         31.565          1.004
V-1: Entering PrintTimestamp...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="269485" author="bzzz" created="Thu, 7 May 2020 05:14:36 +0000"  >&lt;p&gt;thanks! making patches for other kernels..&lt;/p&gt;</comment>
                            <comment id="272140" author="gerrit" created="Sat, 6 Jun 2020 14:02:57 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/38513/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38513/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13520&quot; title=&quot;a performance regression on directory creation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13520&quot;&gt;&lt;del&gt;LU-13520&lt;/del&gt;&lt;/a&gt; ldiskfs: fastpath in bitmap prefetching&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 6a15798f51a9dcb29333e8107a59c5551f607fff&lt;/p&gt;</comment>
                            <comment id="272153" author="pjones" created="Sat, 6 Jun 2020 15:02:51 +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">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="34842" name="mdt-52b5f4a.svg" size="638048" author="sihara" created="Wed, 6 May 2020 08:42:25 +0000"/>
                            <attachment id="34843" name="mdt-59a3d72.svg" size="1086508" author="sihara" created="Wed, 6 May 2020 08:42:26 +0000"/>
                    </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|i00zlz:</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>