<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:41:44 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-11191] Striped DIR accross 2 MDTs very slow</title>
                <link>https://jira.whamcloud.com/browse/LU-11191</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;May be dup of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8118&quot; title=&quot;very slow metadata performance with shared striped directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8118&quot;&gt;LU-8118&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We have 2 MDSs each with 1 MDT. Running mdtest&#160; on mdt0 or mdt1 directory is fast but a striped (using -D) dir across both is very slow.&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;
 $ lfs getdirstripe ../MDT0
lmv_stripe_count: 0 lmv_stripe_offset: 0 lmv_hash_type: none

$ lfs getdirstripe ../MDT0_and_1/
lmv_stripe_count: 2 lmv_stripe_offset: 0 lmv_hash_type: fnv_1a_64
mdtidx		 FID[seq:oid:ver]
     0		 [0x200002340:0x3:0x0]		
     1		 [0x240002340:0x3:0x0]		


&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;STRIPE DIR&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;
-- started at 07/29/2018 22:47:01 --

mdtest-1.9.3 was launched with 8 total task(s) on 8 node(s)
Command line used: /home/mhanafi/bin/mdtest -z 4 -b 3 -n 500 -i 5 -u -d MDT0_and_1/
Path: /nobackuptest/mhanafi/MDTESTS/MDT0_and_1
FS: 3250.9 TiB   Used FS: 0.3%   Inodes: 102.4 Mi   Used Inodes: 0.0%

8 tasks, 3872 files/directories

SUMMARY: (of 5 iterations)
   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation:      11555.863      11347.736      11457.891         85.542
   Directory stat    :      27105.495      25926.197      26639.416        389.884
   Directory removal :       1101.478        932.399        986.495         65.291
   File creation     :      26333.527      22289.699      25075.189       1451.802
   File stat         :      32253.499      28994.953      30613.853       1247.751
   File read         :      41577.227      37023.290      39056.222       1766.014
   File removal      :      50925.204      46150.431      47627.634       1694.602
   Tree creation     :       1215.416       1194.374       1205.364          8.445
   Tree removal      :        142.877        101.763        130.532         15.266

-- finished at 07/29/2018 22:47:31 --

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;SINGLE STRIPE DIR&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;
-- started at 07/29/2018 22:47:37 --

mdtest-1.9.3 was launched with 8 total task(s) on 8 node(s)
Command line used: /home/mhanafi/bin/mdtest -z 4 -b 3 -n 500 -i 5 -u -d MDT0/
Path: /nobackuptest/mhanafi/MDTESTS/MDT0
FS: 3250.9 TiB   Used FS: 0.3%   Inodes: 102.4 Mi   Used Inodes: 0.0%

8 tasks, 3872 files/directories

SUMMARY: (of 5 iterations)
   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   Directory creation:      57733.445      50424.700      53351.848       2550.582
   Directory stat    :      79237.751      68950.262      72220.457       3684.412
   Directory removal :      60426.946      56294.687      57780.897       1518.306
   File creation     :      29322.719      28476.241      28922.159        336.506
   File stat         :      32544.144      29101.692      31061.575       1346.628
   File read         :      39504.498      36896.728      38229.842       1128.910
   File removal      :      50177.351      43709.006      46399.363       2125.337
   Tree creation     :       6880.380       5797.328       6223.052        392.540
   Tree removal      :       8109.055       7364.743       7683.243        243.272

-- finished at 07/29/2018 22:47:40 --

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Client: sles12 SP3 Lustre2.10.3&lt;br/&gt;
servers: cent7.4 Lustre 2.10.3</environment>
        <key id="52855">LU-11191</key>
            <summary>Striped DIR accross 2 MDTs very slow</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="3">Duplicate</resolution>
                                        <assignee username="adilger">Andreas Dilger</assignee>
                                    <reporter username="mhanafi">Mahmoud Hanafi</reporter>
                        <labels>
                    </labels>
                <created>Mon, 30 Jul 2018 05:52:59 +0000</created>
                <updated>Wed, 29 Aug 2018 18:28:59 +0000</updated>
                            <resolved>Wed, 29 Aug 2018 18:28:50 +0000</resolved>
                                    <version>Lustre 2.10.3</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="231051" author="mhanafi" created="Mon, 30 Jul 2018 06:09:29 +0000"  >&lt;p&gt;I uploaded debug logs to ftp site. &lt;a href=&quot;ftp://uploads/dne_debug_LU-11191.tgz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ftp://uploads/dne_debug_LU-11191.tgz&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="231074" author="adilger" created="Mon, 30 Jul 2018 16:22:24 +0000"  >&lt;p&gt;Using the &quot;-D&quot; option means that this will set the default striping for all subdirectories created in this directory tree. Creating a striped directory has more overhead, since this is creating 2 (or N) separate directories, and a distributed transaction to coordinate between the MDTs.&lt;/p&gt;

&lt;p&gt;Typically, &quot;-D&quot; should be used on the directory above the per-job or per-tinestep output directory when these leaf directories will have millions of files, or be accessed concurrently by hundreds of clients.&lt;/p&gt;

&lt;p&gt;There is work underway in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4684&quot; title=&quot;DNE3: allow migrating DNE striped directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4684&quot;&gt;&lt;del&gt;LU-4684&lt;/del&gt;&lt;/a&gt; to make the transition from single-stripe to multi-stripe directories automatic, but until then the striped directories should be used when they are needed instead of for all directories. &lt;/p&gt;</comment>
                            <comment id="231076" author="anhua" created="Mon, 30 Jul 2018 16:42:29 +0000"  >&lt;p&gt;@Andreas Dilger, how about using &quot;lfs mkdir -c &amp;lt;count&amp;gt;&quot;? What is the difference than &quot;-D&quot;? As I have not been using &quot;-D&quot; before.&lt;/p&gt;</comment>
                            <comment id="231087" author="adilger" created="Mon, 30 Jul 2018 17:58:01 +0000"  >&lt;p&gt;The difference is that using &lt;tt&gt;-c N&lt;/tt&gt; creates a directory with &apos;N&apos; stripes, but any subdirectories will be single-striped.  Using the &lt;tt&gt;-D&lt;/tt&gt; option will set the default directory stripe count for any subdirectories created in that directory, but this doesn&apos;t affect the directory on which the default directory layout is set, only new subdirectories.  For example, having a directory structure like:&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;/home/adilger/jobs/bigdirs/d0001/f000001..f999999
/home/adilger/jobs/bigdirs/d0002/f000001..f999999
/home/adilger/jobs/bigdirs/d0003/f000001..f999999
/home/adilger/jobs/bigdirs/d0004/f000001..f999999
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It makes sense to use &quot;&lt;tt&gt;lfs mkdir -c 4 jobs/bigdirs/d0001&lt;/tt&gt;&quot; to create the output directories with multiple stripes.  Alternately, the default directory striping could be set with &quot;&lt;tt&gt;lfs mkdir -D -c 4 jobs/bigdirs&lt;/tt&gt;&quot; and all subdirectories created under &lt;tt&gt;bigdirs&lt;/tt&gt; will have 4 directory stripes.&lt;/p&gt;</comment>
                            <comment id="232757" author="mhanafi" created="Wed, 29 Aug 2018 18:12:23 +0000"  >&lt;p&gt;You can close this case. We will track the work under &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4684&quot; title=&quot;DNE3: allow migrating DNE striped directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4684&quot;&gt;&lt;del&gt;LU-4684&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="232760" author="pjones" created="Wed, 29 Aug 2018 18:28:50 +0000"  >&lt;p&gt;ok sure&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="23373">LU-4684</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|i0000f:</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>