<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:49:22 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-5197] A performance regression of &quot;FileRead&quot; metadata operation</title>
                <link>https://jira.whamcloud.com/browse/LU-5197</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There is a perforamnce regression of &quot;FileRead&quot; metadata operation caused by fixes of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4398&quot; title=&quot;mdt_object_open_lock() may not flush conflicting handles&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4398&quot;&gt;&lt;del&gt;LU-4398&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Please see below performance difference with/without &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4398&quot; title=&quot;mdt_object_open_lock() may not flush conflicting handles&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4398&quot;&gt;&lt;del&gt;LU-4398&lt;/del&gt;&lt;/a&gt; patches.&lt;/p&gt;

&lt;p&gt;It&apos;s simple mdtest run on single client with single thread.&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 1 -ppn 1 -hostfile ./hostfile ./mdtest -n 100000 -i 1 -p 5 -u -v -F -d mdtest.out

v2_5_2_RC1

SUMMARY: (of 1 iterations)
   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   File creation     :       3478.187       3478.187       3478.187          0.000
   File stat         :       4514.273       4514.273       4514.273          0.000
   File read         :        515.113        515.113        515.113          0.000
   File removal      :       6499.513       6499.513       6499.513          0.000
   Tree creation     :       3908.951       3908.951       3908.951          0.000
   Tree removal      :        428.646        428.646        428.646          0.000

v2_5_2_RC1 + revert &quot;LU-4398 mdt: acquire an open lock for write or execute&quot; (97bfe7a3c0fc74fb0e56cbc1ea9cb827fb657b48)
SUMMARY: (of 1 iterations)
   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   File creation     :       3575.570       3575.570       3575.570          0.000
   File stat         :       4708.052       4708.052       4708.052          0.000
   File read         :       5348.987       5348.987       5348.987          0.000
   File removal      :       6509.834       6509.834       6509.834          0.000
   Tree creation     :       3816.473       3816.473       3816.473          0.000
   Tree removal      :        400.143        400.143        400.143          0.000
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="25158">LU-5197</key>
            <summary>A performance regression of &quot;FileRead&quot; metadata operation</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="jhammond">John Hammond</assignee>
                                    <reporter username="ihara">Shuichi Ihara</reporter>
                        <labels>
                            <label>HB</label>
                    </labels>
                <created>Sat, 14 Jun 2014 19:32:00 +0000</created>
                <updated>Tue, 13 Jan 2015 13:55:39 +0000</updated>
                            <resolved>Mon, 23 Jun 2014 23:17:05 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                    <version>Lustre 2.5.2</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>13</watches>
                                                                            <comments>
                            <comment id="86642" author="pjones" created="Sun, 15 Jun 2014 00:25:03 +0000"  >&lt;p&gt;John&lt;/p&gt;

&lt;p&gt;You are the author of the patch in question. Do you have any suggestions here?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="86645" author="jhammond" created="Sun, 15 Jun 2014 13:59:44 +0000"  >&lt;p&gt;Investigating.&lt;/p&gt;</comment>
                            <comment id="86688" author="jhammond" created="Mon, 16 Jun 2014 15:03:08 +0000"  >&lt;p&gt;Ihara,&lt;/p&gt;

&lt;p&gt;Could you try with &lt;a href=&quot;http://review.whamcloud.com/10725?&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10725?&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also I see that mdtest_read() calls open() with O_RDWR. Would it be possible to change that to O_RDONLY and rerun?&lt;/p&gt;</comment>
                            <comment id="86708" author="adilger" created="Mon, 16 Jun 2014 17:24:39 +0000"  >&lt;p&gt;There were a few patches under &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4367&quot; title=&quot;unlink performance regression on lustre-2.5.52 client&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4367&quot;&gt;&lt;del&gt;LU-4367&lt;/del&gt;&lt;/a&gt; that also affected the open performance that we were not considering as critical for 2.6.0, but may also help performance here.&lt;/p&gt;

&lt;p&gt;Have you tested with any of those patches applied, in particular &lt;a href=&quot;http://review.whamcloud.com/9696&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9696&lt;/a&gt;.  The patch &lt;a href=&quot;http://review.whamcloud.com/9697&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9697&lt;/a&gt; also looks very similar to John&apos;s patch here.&lt;/p&gt;</comment>
                            <comment id="87013" author="ihara" created="Thu, 19 Jun 2014 13:32:26 +0000"  >&lt;p&gt;Sorry, dealy of this testing, I got some test resutls today. still bad file read operation.&lt;/p&gt;
&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;branch&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; File read (ops/sec)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;master&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; 620 &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;master+10725&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; 623&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;master+9696&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; 625&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;

</comment>
                            <comment id="87019" author="jhammond" created="Thu, 19 Jun 2014 14:35:13 +0000"  >&lt;p&gt;Hi Ihara,&lt;/p&gt;

&lt;p&gt;Could you provide the results for master + revert of 97bfe7a3c0fc74fb0e56cbc1ea9cb827fb657b48?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;John&lt;/p&gt;</comment>
                            <comment id="87026" author="ihara" created="Thu, 19 Jun 2014 14:58:35 +0000"  >&lt;p&gt;John,&lt;/p&gt;

&lt;p&gt;You mean revert  708d85a652a77f85153790e6cca1b7a2b91947cf (Revert &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4398&quot; title=&quot;mdt_object_open_lock() may not flush conflicting handles&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4398&quot;&gt;&lt;del&gt;LU-4398&lt;/del&gt;&lt;/a&gt; mdt: acquire an open lock for write or execute&quot;), right? I couldn&apos;t find 97bfe7a3c0fc74fb0e56cbc1ea9cb827fb657b48 in the master.&lt;/p&gt;

&lt;p&gt;Anyway, here is results of master + revert of it. The FileRead operation is back to normal.&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: (of 1 iterations)
   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   File creation     :       4331.477       4331.477       4331.477          0.000
   File stat         :       5040.508       5040.508       5040.508          0.000
   File read         :       5780.921       5780.921       5780.921          0.000
   File removal      :       7401.880       7401.880       7401.880          0.000
   Tree creation     :       3184.741       3184.741       3184.741          0.000
   Tree removal      :        366.283        366.283        366.283          0.000
V-1: Entering timestamp...

-- finished at 06/19/2014 23:53:31 --
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="87329" author="jlevi" created="Mon, 23 Jun 2014 23:17:05 +0000"  >&lt;p&gt;Patch from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4398&quot; title=&quot;mdt_object_open_lock() may not flush conflicting handles&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4398&quot;&gt;&lt;del&gt;LU-4398&lt;/del&gt;&lt;/a&gt; causing this issue was reverted.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="22390">LU-4367</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22524">LU-4398</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzwp2v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14517</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>