<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:41:48 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-11199] mdsrate open() performance degradation</title>
                <link>https://jira.whamcloud.com/browse/LU-11199</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;A change in &lt;a href=&quot;https://review.whamcloud.com/#/c/30246/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/30246/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10269&quot; title=&quot;Fixes for selective trybits&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10269&quot;&gt;&lt;del&gt;LU-10269&lt;/del&gt;&lt;/a&gt; ldlm: fix the issues introduced by try bits)&lt;/p&gt;

&lt;p&gt;introduced a major regression in open() performance in at least an mdsrate open() benchmark:&lt;/p&gt;

&lt;p&gt;On a real system, this mdsrate open benchmark drops from 35K opens/second to around 11K.&lt;br/&gt;
This is 10K opens per process, 64 processes, opens are random files from among 300000 existing files (created by mdsrate earlier):&#160;&lt;br/&gt;
aprun -n 64 /usr/lib64/lustre/tests/mdsrate -d /mnt/lustre/mdsrate --open --iters 10000 --nfile=300000&lt;/p&gt;

&lt;p&gt;On a much smaller VM, I see a drop from 8K opens/second to 4K with this benchmark.&lt;br/&gt;
This is 8K opens per process, 4 processes, opens randomly selected from among 30000 existing files:&lt;br/&gt;
mpirun -n 4 /usr/lib64/lustre/tests/mdsrate -d /mnt/lustre/mdsrate --open --iters 8000 --nfile=30000&lt;/p&gt;

&lt;p&gt;The specific change is no longer attempting to grant the LOOKUP lock on opens.&lt;/p&gt;

&lt;p&gt;Oleg has a patch in flight which reverses this change, but also includes a number of other attempted optimizations:&lt;br/&gt;
&lt;a href=&quot;https://review.whamcloud.com/#/c/32156/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/32156/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Andreas suggested I push the simpler patch to revert, with the idea that that patch can land quickly and Oleg&apos;s further optimizations can be considered separately.&lt;/p&gt;</description>
                <environment></environment>
        <key id="52886">LU-11199</key>
            <summary>mdsrate open() performance degradation</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="paf">Patrick Farrell</assignee>
                                    <reporter username="paf">Patrick Farrell</reporter>
                        <labels>
                    </labels>
                <created>Thu, 2 Aug 2018 19:50:00 +0000</created>
                <updated>Sat, 13 Oct 2018 04:58:33 +0000</updated>
                            <resolved>Sat, 13 Oct 2018 04:58:33 +0000</resolved>
                                                    <fixVersion>Lustre 2.12.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="231340" author="gerrit" created="Thu, 2 Aug 2018 19:59:56 +0000"  >&lt;p&gt;Patrick Farrell (paf@cray.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32929&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32929&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11199&quot; title=&quot;mdsrate open() performance degradation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11199&quot;&gt;&lt;del&gt;LU-11199&lt;/del&gt;&lt;/a&gt; mdt: Attempt lookup lock on open&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 3061c2836db7f917a0dc394fba9cc3fe32b0d4c9&lt;/p&gt;</comment>
                            <comment id="234873" author="gerrit" created="Fri, 12 Oct 2018 23:50:46 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/32929/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32929/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11199&quot; title=&quot;mdsrate open() performance degradation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11199&quot;&gt;&lt;del&gt;LU-11199&lt;/del&gt;&lt;/a&gt; mdt: Attempt lookup lock on open&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8b9105d8281f10b500d47a00458631a586c7f1d4&lt;/p&gt;</comment>
                            <comment id="234881" author="pjones" created="Sat, 13 Oct 2018 04:58:33 +0000"  >&lt;p&gt;Landed for 2.12&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="49426">LU-10269</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="52011">LU-10957</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="51963">LU-10948</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|i0007b:</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>