<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:48:35 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-5106] Test failure sanity test_123a: ls 10000 files is slower with statahead!</title>
                <link>https://jira.whamcloud.com/browse/LU-5106</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Nathaniel Clark &amp;lt;nathaniel.l.clark@intel.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run:&lt;br/&gt;
&lt;a href=&quot;http://maloo.whamcloud.com/test_sets/a4d76d66-baba-11e3-a27d-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://maloo.whamcloud.com/test_sets/a4d76d66-baba-11e3-a27d-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://maloo.whamcloud.com/test_sets/e3f486ac-e317-11e3-93d9-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://maloo.whamcloud.com/test_sets/e3f486ac-e317-11e3-93d9-52540035b04c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The sub-test test_123a failed with the following error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;ls 10000 files is slower with statahead!&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Info required for matching: sanity 123a&lt;/p&gt;</description>
                <environment></environment>
        <key id="24827">LU-5106</key>
            <summary>Test failure sanity test_123a: ls 10000 files is slower with statahead!</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 May 2014 14:50:38 +0000</created>
                <updated>Sat, 13 Feb 2021 09:55:37 +0000</updated>
                            <resolved>Wed, 19 Jul 2017 03:41:58 +0000</resolved>
                                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>12</watches>
                                                                            <comments>
                            <comment id="84922" author="adilger" created="Tue, 27 May 2014 15:36:08 +0000"  >&lt;p&gt;This is most likely related to the VM being slow or similar.&lt;/p&gt;</comment>
                            <comment id="86191" author="yujian" created="Tue, 10 Jun 2014 09:33:32 +0000"  >&lt;p&gt;Lustre Build: &lt;a href=&quot;http://build.whamcloud.com/job/lustre-b2_5/61/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://build.whamcloud.com/job/lustre-b2_5/61/&lt;/a&gt;&lt;br/&gt;
Distro/Arch: RHEL6.5/x86_64 + SLES11SP3/x86_64 (Server + Client)&lt;/p&gt;

&lt;p&gt;The same failure occurred: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/82588a38-ef83-11e3-b8c2-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/82588a38-ef83-11e3-b8c2-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="128459" author="bogl" created="Fri, 25 Sep 2015 14:07:00 +0000"  >&lt;p&gt;another seen with el6.7 client/server on master:&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/69e7442c-6321-11e5-b25a-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/69e7442c-6321-11e5-b25a-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="133606" author="jamesanunez" created="Mon, 16 Nov 2015 16:47:25 +0000"  >&lt;p&gt;More failures on master:&lt;br/&gt;
2015-11-14 06:00:54  - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/1d980b04-8add-11e5-86aa-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/1d980b04-8add-11e5-86aa-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-11-18 02:21:57 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/588d486c-8de1-11e5-a4b1-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/588d486c-8de1-11e5-a4b1-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-02 06:56:45 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/ae2b6ed8-9913-11e5-aeec-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/ae2b6ed8-9913-11e5-aeec-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-07 14:40:39 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/17b4eaa2-9d40-11e5-ade6-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/17b4eaa2-9d40-11e5-ade6-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-09 05:53:36 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/cd3cb85e-9e86-11e5-87a9-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/cd3cb85e-9e86-11e5-87a9-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-09 18:40:23 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/24479cda-9ef6-11e5-ba94-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/24479cda-9ef6-11e5-ba94-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2016-01-04 03:38:41 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/21928502-b2df-11e5-aa1f-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/21928502-b2df-11e5-aa1f-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2016-01-14 21:54:15 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/2efcd76e-bb50-11e5-acbb-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/2efcd76e-bb50-11e5-acbb-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2016-01-20 09:06:34 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/642dee9c-bf9b-11e5-a659-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/642dee9c-bf9b-11e5-a659-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2016-01-24 07:57:29  - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/e1d05f34-c2b5-11e5-8d4d-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/e1d05f34-c2b5-11e5-8d4d-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2016-01-26 09:25:22 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/2a3e8606-c455-11e5-8866-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/2a3e8606-c455-11e5-8866-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2016-02-02 08:13:41 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/264d4cb4-c9d0-11e5-b71a-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/264d4cb4-c9d0-11e5-b71a-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2016-02-15 14:02:16 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/5798cb4c-d437-11e5-aabf-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/5798cb4c-d437-11e5-aabf-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2016-02-22 16:05:58 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/b40373ea-d9c9-11e5-8b17-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/b40373ea-d9c9-11e5-8b17-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="145022" author="rhenwood" created="Wed, 9 Mar 2016 17:12:44 +0000"  >&lt;p&gt;Another failure on Master:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/287c20f2-e48b-11e5-bbef-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/287c20f2-e48b-11e5-bbef-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="198903" author="laisiyao" created="Mon, 12 Jun 2017 14:36:53 +0000"  >&lt;p&gt;I reproduced this in local system, and found the root cause is that on DNE system, it takes long time to prepare a page for readdir, because dirents are distributed on several stripes, but the directory page should be in hash order, so it will iterate each stripes for a single dirent until it fills a directory page, it looks like statahead is often slower than &apos;ls&apos; in building directory page, so &apos;lookup&apos; from &apos;ls&apos; couldn&apos;t find cached statahead entries, thus statahead failed and quit later. In the end &apos;ls&apos; without statahead is often faster.&lt;/p&gt;

&lt;p&gt;I&apos;ll see how this can be improved.&lt;/p&gt;</comment>
                            <comment id="199311" author="adilger" created="Thu, 15 Jun 2017 08:48:37 +0000"  >&lt;p&gt;Lai, the generation of DNE2 readdir pages is something that I discussed with Di in the past.  Essentially, the llite-level readdir is a merge sort of the individual readdir pages from the various MDTs, which are already in hash order.  Currently, it appears that this is implemented in a sub-optimal manner - essentially an O(n^2) sort currently.&lt;/p&gt;

&lt;p&gt;One option would be to implement a secondary readdir cache at the llite level that maintains the entries in sorted order, possibly in a linked list of dentries.  This would allow fixing the readdir vs. unlink problem in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3308&quot; title=&quot;large readdir chunk size slows unlink/&amp;quot;rm -r&amp;quot; performance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3308&quot;&gt;LU-3308&lt;/a&gt;, and would potentially allow unlinks to drop dentries from the readdir list at lock cancellation, rather than having to drop all whenever the directory lock is lost.&lt;/p&gt;</comment>
                            <comment id="199349" author="gerrit" created="Thu, 15 Jun 2017 16:14:00 +0000"  >&lt;p&gt;Lai Siyao (lai.siyao@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/27663&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27663&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5106&quot; title=&quot;Test failure sanity test_123a: ls 10000 files is slower with statahead!&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5106&quot;&gt;&lt;del&gt;LU-5106&lt;/del&gt;&lt;/a&gt; readdir: improve striped readdir&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 596f4129e8d9763febe297f6c82cd95efb405fbd&lt;/p&gt;</comment>
                            <comment id="199438" author="gerrit" created="Fri, 16 Jun 2017 10:10:58 +0000"  >&lt;p&gt;Lai Siyao (lai.siyao@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/27683&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27683&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5106&quot; title=&quot;Test failure sanity test_123a: ls 10000 files is slower with statahead!&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5106&quot;&gt;&lt;del&gt;LU-5106&lt;/del&gt;&lt;/a&gt; statahead: support striped directory&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 852c199f31da0ae9a64ef0ee63398c973373cca4&lt;/p&gt;</comment>
                            <comment id="199439" author="laisiyao" created="Fri, 16 Jun 2017 10:14:39 +0000"  >&lt;p&gt;Andreas, this may not be so complicated, in &lt;a href=&quot;https://review.whamcloud.com/27663&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27663&lt;/a&gt; I introduced a struct lmv_dir_ctxt which saves directory page and current dirent for all stripes, so to get the next dirent for this directory, it only needs to compare current dirent of all stripes and find the one with the smallest hash. This is O&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/thumbs_down.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; IMO.&lt;/p&gt;

&lt;p&gt;BTW, to pass sanity.sh 123a, both patches are needed.&lt;/p&gt;</comment>
                            <comment id="202579" author="gerrit" created="Wed, 19 Jul 2017 03:28:57 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/27683/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27683/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5106&quot; title=&quot;Test failure sanity test_123a: ls 10000 files is slower with statahead!&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5106&quot;&gt;&lt;del&gt;LU-5106&lt;/del&gt;&lt;/a&gt; statahead: support striped directory&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9e7952c045a3ce2041a2fa325cc4a147be6549bb&lt;/p&gt;</comment>
                            <comment id="202580" author="gerrit" created="Wed, 19 Jul 2017 03:29:00 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/27663/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27663/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5106&quot; title=&quot;Test failure sanity test_123a: ls 10000 files is slower with statahead!&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5106&quot;&gt;&lt;del&gt;LU-5106&lt;/del&gt;&lt;/a&gt; readdir: improve striped readdir&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 98fc9a77446a1539bca18215ad57f21712218ecc&lt;/p&gt;</comment>
                            <comment id="202639" author="pjones" created="Wed, 19 Jul 2017 03:41:58 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                            <comment id="271955" author="gerrit" created="Thu, 4 Jun 2020 13:43:58 +0000"  >&lt;p&gt;Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38826&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38826&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5106&quot; title=&quot;Test failure sanity test_123a: ls 10000 files is slower with statahead!&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5106&quot;&gt;&lt;del&gt;LU-5106&lt;/del&gt;&lt;/a&gt; readdir: improve striped readdir&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 23935cdc099876e5945979b11d9ef80863a5cb2f&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="40120">LU-8643</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|hzwn3z:</customfieldvalue>

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