<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:31:09 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-9998] Default partition setup is not optimal for best metadata performance</title>
                <link>https://jira.whamcloud.com/browse/LU-9998</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Here is MDS&apos;s CPU configuration.&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;[root@mds11 ~]# lscpu 
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                48
On-line CPU(s) list:   0-47
Thread(s) per core:    2
Core(s) per socket:    24
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 85
Model name:            Intel(R) Xeon(R) Platinum 8160 CPU @ 2.10GHz
Stepping:              4
CPU MHz:               2101.000
BogoMIPS:              4200.00
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              1024K
L3 cache:              33792K
NUMA node0 CPU(s):     0-47

[root@mds11 ~]# numactl -H
available: 1 nodes (0)
node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
node 0 size: 96940 MB
node 0 free: 90229 MB
node distances:
node   0 
  0:  10 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;only single partition created by default for single CPU configuration.&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;[root@mds11 ~]# cat /proc/sys/lnet/cpu_partition_table 
0	: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This default partition configuration is not optimal and affects huge metadata performance impact. especially stats and read operations.&lt;br/&gt;
Please see below test results with default and manual setting with 6 partitions.&lt;/p&gt;

&lt;p&gt;Default partition (npartition=1)&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;mpirun -np 128 /work/tools/bin/mdtest -n 5000 -v -d /scratch0/dir0 -F -i 3 -p 10 -w 0 -u

SUMMARY: (of 3 iterations)
   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   File creation     :      90269.484      73210.911      83067.818       7212.787
   File stat         :     192519.466     191217.586     191843.135        532.702
   File read         :      84278.190      74407.351      78726.036       4123.061
   File removal      :     152552.089     141405.693     148541.612       5058.776
   Tree creation     :        576.227        129.569        332.039        184.718
   Tree removal      :         28.016         12.466         18.019          7.083
V-1: Entering timestamp...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;npartition=6&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;[root@mds11 ~]# cat /proc/sys/lnet/cpu_partition_table 
0	: 0 1 2 3 24 25 26 27
1	: 4 5 6 7 28 29 30 31
2	: 8 9 10 11 32 33 34 35
3	: 12 13 14 15 36 37 38 39
4	: 16 17 18 19 40 41 42 43
5	: 20 21 22 23 44 45 46 47
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;mpirun -np 128 /work/tools/bin/mdtest -n 5000 -v -d /scratch0/dir0 -F -i 3 -p 10 -w 0 -u
SUMMARY: (of 3 iterations)
   Operation                      Max            Min           Mean        Std Dev
   ---------                      ---            ---           ----        -------
   File creation     :     130215.199     112298.894     123903.497       8216.228
   File stat         :     447219.644     422373.391     436421.078      10400.374
   File read         :     224856.656     216383.752     219513.555       3796.625
   File removal      :     142603.040     138102.147     139843.976       1973.252
   Tree creation     :        561.879        170.631        379.767        160.865
   Tree removal      :         41.908         41.042         41.509          0.357
V-1: Entering timestamp...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>b2_10</environment>
        <key id="48341">LU-9998</key>
            <summary>Default partition setup is not optimal for best metadata performance</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="dmiter">Dmitry Eremin</assignee>
                                    <reporter username="ihara">Shuichi Ihara</reporter>
                        <labels>
                    </labels>
                <created>Sat, 16 Sep 2017 15:02:45 +0000</created>
                <updated>Fri, 9 Feb 2018 21:53:02 +0000</updated>
                            <resolved>Fri, 22 Dec 2017 12:47:17 +0000</resolved>
                                                    <fixVersion>Lustre 2.11.0</fixVersion>
                    <fixVersion>Lustre 2.10.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="208650" author="jgmitter" created="Mon, 18 Sep 2017 17:17:59 +0000"  >&lt;p&gt;Hi Dmitry,&lt;/p&gt;

&lt;p&gt;Can you please investigate and advise?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;br/&gt;
Joe&lt;/p&gt;</comment>
                            <comment id="211265" author="gerrit" created="Tue, 17 Oct 2017 09:02:58 +0000"  >&lt;p&gt;Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/29645&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29645&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9998&quot; title=&quot;Default partition setup is not optimal for best metadata performance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9998&quot;&gt;&lt;del&gt;LU-9998&lt;/del&gt;&lt;/a&gt; libcfs: split single NUMA node into partitions&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4d373f2793ef32b47284a88d672433d574a14c20&lt;/p&gt;</comment>
                            <comment id="211266" author="dmiter" created="Tue, 17 Oct 2017 09:05:21 +0000"  >&lt;p&gt;I would like to propose workaround for this. In my patch I return old behavior for machines with single NUMA node.&lt;/p&gt;</comment>
                            <comment id="217047" author="gerrit" created="Fri, 22 Dec 2017 06:49:17 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/29645/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29645/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9998&quot; title=&quot;Default partition setup is not optimal for best metadata performance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9998&quot;&gt;&lt;del&gt;LU-9998&lt;/del&gt;&lt;/a&gt; libcfs: split single NUMA node into partitions&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c9d14a01263bd0fb7a5fac853b5e2d34ff8cadab&lt;/p&gt;</comment>
                            <comment id="217109" author="pjones" created="Fri, 22 Dec 2017 12:47:17 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                            <comment id="217311" author="gerrit" created="Tue, 2 Jan 2018 16:07:51 +0000"  >&lt;p&gt;Minh Diep (minh.diep@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/30690&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30690&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9998&quot; title=&quot;Default partition setup is not optimal for best metadata performance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9998&quot;&gt;&lt;del&gt;LU-9998&lt;/del&gt;&lt;/a&gt; libcfs: split single NUMA node into partitions&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 6b337d0e241ce998b88e3b3475089fe330997d82&lt;/p&gt;</comment>
                            <comment id="220601" author="gerrit" created="Fri, 9 Feb 2018 16:57:46 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/30690/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30690/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9998&quot; title=&quot;Default partition setup is not optimal for best metadata performance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9998&quot;&gt;&lt;del&gt;LU-9998&lt;/del&gt;&lt;/a&gt; libcfs: split single NUMA node into partitions&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f8736cdfe48ca70a6d293d55ad184dc6b34af312&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </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|hzzkbb:</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>