<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:19:19 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-8641] speedup run_metabech () : make cleanup optional</title>
                <link>https://jira.whamcloud.com/browse/LU-8641</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;1&lt;br/&gt;
on real HW clusters we run metabench with parameters :&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;mbench_NFILES=50000
mbench_THREADS=16
+ /test-tools/mpich2/metabench/src/metabench -w /mnt/fs1/d0.metabench -c 50000 -C -S -k -p /test-tools/mpich2/metabench/dictionary
+ chmod 0777 /mnt/fs1
drwxrwxrwx 5 root root 270336 Apr 25 10:02 /mnt/fs1
+ su mpiuser sh -c &lt;span class=&quot;code-quote&quot;&gt;&quot;/usr/bin/mpirun      -np 112 /test-tools/mpich2/metabench/src/metabench -w /mnt/fs1/d0.metabench -c 50000 -C -S -k -p /test-tools/mpich2/metabench/dictionary &quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;test itself comleted in 20 minutes with creation rate :&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;------------- ------------ ---------- ---------- ----------
Total                         5600000   1112.045   5035.769
Elapsed                       5600000   1112.047   5035.758
------------- ------------ ---------- ---------- ----------
Average                         50000   1097.669     45.556
Std Dev                                   11.592      0.489 (   1.06%) (   1.07%)

[2016-04-0025 10:21:30] Leaving par_create_multidir
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;then test runs rm -rf &amp;lt;dir&amp;gt; with 5 millions file and can not be completed in 1.5 hours.&lt;/p&gt;

&lt;p&gt;2. On real cluster it makes sense  to leave files not deleted, so total number of files would grow with time.&lt;/p&gt;</description>
                <environment></environment>
        <key id="40068">LU-8641</key>
            <summary>speedup run_metabech () : make cleanup optional</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="wc-triage">WC Triage</assignee>
                                    <reporter username="egryaznova">Elena Gryaznova</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Mon, 26 Sep 2016 18:42:02 +0000</created>
                <updated>Sun, 23 Apr 2017 03:52:26 +0000</updated>
                            <resolved>Sun, 23 Apr 2017 03:52:26 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="167920" author="gerrit" created="Fri, 30 Sep 2016 18:19:18 +0000"  >&lt;p&gt;Elena Gryaznova (elena.gryaznova@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/22852&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/22852&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8641&quot; title=&quot;speedup run_metabech () : make cleanup optional&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8641&quot;&gt;&lt;del&gt;LU-8641&lt;/del&gt;&lt;/a&gt; tests: tests: speedup metabench&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 8e33d6aca1411f524e40493f0e39e44b02054e48&lt;/p&gt;</comment>
                            <comment id="187937" author="adilger" created="Sat, 11 Mar 2017 07:15:50 +0000"  >&lt;p&gt;Instead of using &quot;rm -r $dir&quot; to empty directories, it is likely much faster to use &quot;find $dir -print0 -type f | xargs -0 unlink; rm -r $dir&quot; to delete the files first, then the remaining directories (if any).&lt;/p&gt;

&lt;p&gt;Ideally it would be better to actually fix the &quot;rm -r&quot; performance for large directories, rather than just fixing the test script, since this is a performance problem that also affects users.  This is discussed 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;, including options to reduce readdir() RPC chunksize (possibly dynamically when contention is present), and alternately keeping the directory contents cached on the client after the DLM lock has been cancelled (as allowed by POSIX) to avoid cache ping-pong.&lt;/p&gt;</comment>
                            <comment id="193119" author="gerrit" created="Sun, 23 Apr 2017 03:11:07 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/22852/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/22852/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8641&quot; title=&quot;speedup run_metabech () : make cleanup optional&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8641&quot;&gt;&lt;del&gt;LU-8641&lt;/del&gt;&lt;/a&gt; tests: tests: speedup metabench&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: a9339b851789348348e77a02bff16f8d3af69091&lt;/p&gt;</comment>
                            <comment id="193128" author="pjones" created="Sun, 23 Apr 2017 03:52:26 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="18787">LU-3308</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|hzypmv:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>