<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:11:40 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-14659] sanity test_413a: subdirs shouldn&apos;t be evenly distributed</title>
                <link>https://jira.whamcloud.com/browse/LU-14659</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Vitaly Fertman &amp;lt;vitaly_fertman@xyratex.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.whamcloud.com/test_sets/9b91c699-3875-4fd0-a21b-f78bb5335464&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/9b91c699-3875-4fd0-a21b-f78bb5335464&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;test_413a failed with the following error:&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;subdirs shouldn&apos;t be evenly distributed
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;it seems &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12495&quot; title=&quot;sanity test_413b: subdirs shouldn&amp;#39;t be evenly distributed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12495&quot;&gt;&lt;del&gt;LU-12495&lt;/del&gt;&lt;/a&gt; appeared again&lt;/p&gt;





&lt;p&gt;VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV&lt;br/&gt;
sanity test_413a - subdirs shouldn&apos;t be evenly distributed&lt;/p&gt;</description>
                <environment></environment>
        <key id="64006">LU-14659</key>
            <summary>sanity test_413a: subdirs shouldn&apos;t be evenly distributed</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Fri, 30 Apr 2021 17:38:01 +0000</created>
                <updated>Sat, 21 Oct 2023 17:41:13 +0000</updated>
                            <resolved>Sun, 17 Oct 2021 23:09:30 +0000</resolved>
                                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="300240" author="adilger" created="Fri, 30 Apr 2021 18:44:55 +0000"  >&lt;p&gt;Vitaly,&lt;br/&gt;
the test failure you linked here is on an early version of my patch &lt;a href=&quot;https://review.whamcloud.com/#/c/43445/3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/43445/3&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13439&quot; title=&quot;DNE3: MDT QOS tuning to avoid full MDTs completely&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13439&quot;&gt;&lt;del&gt;LU-13439&lt;/del&gt;&lt;/a&gt; lmv: qos stay on current MDT if less full&lt;/tt&gt;&quot; that is modifying the DNE MDT selection algorithm and had a bug in it.  However, that bug was fixed and the more recent versions of that patch have been passing test_413&lt;span class=&quot;error&quot;&gt;&amp;#91;abc&amp;#93;&lt;/span&gt;, so it isn&apos;t clear why you filed this issue?&lt;/p&gt;</comment>
                            <comment id="302696" author="hornc" created="Wed, 26 May 2021 16:45:16 +0000"  >&lt;p&gt;+1 on master &lt;a href=&quot;https://testing.whamcloud.com/test_sets/857c693d-64af-48d6-a029-b641395d9b1a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/857c693d-64af-48d6-a029-b641395d9b1a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="306380" author="adilger" created="Tue, 6 Jul 2021 20:46:16 +0000"  >&lt;p&gt;This should be fixed by patch &lt;a href=&quot;https://review.whamcloud.com/43997&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/43997&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14762&quot; title=&quot;qos subdirectory creation stay on parent MDT if less full than average doesn&amp;#39;t work as expected&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14762&quot;&gt;&lt;del&gt;LU-14762&lt;/del&gt;&lt;/a&gt; lmv: compare space to mkdir on parent MDT&lt;/tt&gt;&quot;&lt;/p&gt;</comment>
                            <comment id="309933" author="adilger" created="Wed, 11 Aug 2021 16:33:56 +0000"  >&lt;p&gt;Lai, it looks like this is still being hit on master. Looking at a recent failure, I think there are two issues:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/3d05b60b-1939-4440-859d-55b5a2bec858&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/3d05b60b-1939-4440-859d-55b5a2bec858&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;Check for uneven MDTs: 
weight diff=0% must be &amp;gt; 100% ...Fill MDT0 with 100 files: loop 0
weight diff=0% must be &amp;gt; 100% ...Fill MDT0 with 100 files: loop 1
weight diff=0% must be &amp;gt; 100% ...Fill MDT0 with 100 files: loop 2
MDT filesfree available: 834976 834538 835384 835497
MDT blocks available: 416644 1045656 1044312 1042392
weight diff=150%
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;It looks like statfs is being cached inside the loop, so the loop is running more times than needed. This is probably also causing &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14898&quot; title=&quot;sanity test_413a: (max - min) * 100 / min: division by 0 (error token is &amp;quot;min&amp;quot;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14898&quot;&gt;&lt;del&gt;LU-14898&lt;/del&gt;&lt;/a&gt; (divide by zero error) because the loop doesn&apos;t stop until the MDT has no free space left. Also, since inodes are weighted higher than space, maybe we need to re-add some amount of regular file creation into the loop (maybe creating only 64KB DoM files instead of 1MB) so the MDTs are more imbalanced by inodes also?&lt;/p&gt;

&lt;p&gt;The second issue is that the &quot;imbalance check&quot; appears to be using the minimum imbalance instead of the maximum imbalance?&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;179 directories created on MDT0
188 directories created on MDT1
222 directories created on MDT2
211 directories created on MDT3
 sanity test_413a: @@@@@@ FAIL: subdirs shouldn&apos;t be evenly distributed: 188 - 179 &amp;lt; 20
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The 189 directories on MDT1 is only higher by 9, but the other MDTs are higger by 43 and 32.  Since the MDT selection is random, maybe this should compare the average difference &amp;gt; 20, and that no single MDT is less than 5 higher?&lt;/p&gt;</comment>
                            <comment id="310034" author="laisiyao" created="Thu, 12 Aug 2021 07:06:24 +0000"  >&lt;p&gt;Mmm, this can be improved. And the reason the &quot;imbalance check&quot; looks to be minimum imbalance is the most empty MDT is checked before IO, due to the cached statfs result and randomness in MDT choosing, it may not be the MDT most directories are created. It should be changed to check after creation.&lt;/p&gt;</comment>
                            <comment id="310076" author="gerrit" created="Thu, 12 Aug 2021 15:34:06 +0000"  >&lt;p&gt;&quot;Lai Siyao &amp;lt;lai.siyao@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/44649&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/44649&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14659&quot; title=&quot;sanity test_413a: subdirs shouldn&amp;#39;t be evenly distributed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14659&quot;&gt;&lt;del&gt;LU-14659&lt;/del&gt;&lt;/a&gt; test: improve generate_uneven_mdts() in sanity.sh&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 074354d0a3282a72957eef178338d1e8cd14af7b&lt;/p&gt;</comment>
                            <comment id="315799" author="gerrit" created="Sun, 17 Oct 2021 18:11:33 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/44649/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/44649/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14659&quot; title=&quot;sanity test_413a: subdirs shouldn&amp;#39;t be evenly distributed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14659&quot;&gt;&lt;del&gt;LU-14659&lt;/del&gt;&lt;/a&gt; test: improve generate_uneven_mdts() in sanity.sh&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d45be79a069f527657c1ce91630183031ea42b27&lt;/p&gt;</comment>
                            <comment id="315811" author="pjones" created="Sun, 17 Oct 2021 23:09:30 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="64648">LU-14762</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="57094">LU-12831</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="65011">LU-14824</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="65460">LU-14898</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|i01tiv:</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>