<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:50: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-12158] Don&apos;t have large stripe_width and stride to prevent unexpected performance regression</title>
                <link>https://jira.whamcloud.com/browse/LU-12158</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;stripe width and stride was calculated based on optimal_io_size that kernel got from backend storage devices. If storage controller returns large optimal io size (e.g. 16MB) to kernel, stripe_width and stride are are large value (e.g. optimal_io_size/blcok size) at mkfs.&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@es18k-vm1 ~]# dumpe2fs -h /dev/sda  | grep RAID
dumpe2fs 1.44.3.wc1 (23-July-2018)
RAID stride:              4096
RAID stripe width:        4096
[root@es18k-vm1 ~]# dumpe2fs -h /dev/sdi  | grep RAID
dumpe2fs 1.44.3.wc1 (23-July-2018)
RAID stride:              512
RAID stripe width:        512

[root@es18k-vm1 ~]# cat /sys/block/sda/queue/optimal_io_size 
16777216
[root@es18k-vm1 ~]# cat /sys/block/sdi/queue/optimal_io_size 
2097152
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;However, such large stripe_width and stride size causes performance regression. because ext4 takes more costs to find stripe_width-sized free chunks.&lt;/p&gt;
&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;&#160;&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;2MB Chunk size&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;&#160;&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;256K Chunk size&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;&#160;&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;&#160;&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Write(MB/s)&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Read(MB/s)&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Write(MB/s)&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Read(MB/s)&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;stripe_width=512,stride=512&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;10,810&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;10,124&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;10,492&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;6,923&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;stripe_width=1024,stride=1024&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;10,793&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;10,064&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;10,431&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;6,921&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;stripe_width=2048,stride=2048&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;8,047&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;10,080&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;6,629&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;7,381&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;stripe_width=4096,stride=4096&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;7,350&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;10,089&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;6,505&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;7,282&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;


&lt;p&gt;Also, stripe_width and stride are tunable (e.g. -E stripe_width= 4096,stride=4096) option to mkfs.&#160; If administrator formats OSTs with wrong stripe_width and stride, it may cause unexpected performance regressions.&lt;/p&gt;

&lt;p&gt;mkfs.lustre should avoid such large stripe_width/stride and prints a warning message if it&apos;s trying to configure.&lt;/p&gt;</description>
                <environment>master</environment>
        <key id="55350">LU-12158</key>
            <summary>Don&apos;t have large stripe_width and stride to prevent unexpected performance regression</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="wshilong">Wang Shilong</assignee>
                                    <reporter username="sihara">Shuichi Ihara</reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 Apr 2019 04:36:21 +0000</created>
                <updated>Wed, 6 May 2020 19:29:41 +0000</updated>
                            <resolved>Sat, 15 Jun 2019 03:00:01 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="246406" author="gerrit" created="Fri, 26 Apr 2019 15:23:43 +0000"  >&lt;p&gt;Wang Shilong (wshilong@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34767&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34767&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12158&quot; title=&quot;Don&amp;#39;t have large stripe_width and stride to prevent unexpected performance regression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12158&quot;&gt;&lt;del&gt;LU-12158&lt;/del&gt;&lt;/a&gt; mke2fs: avoid too large stride and stripe_width&lt;br/&gt;
Project: tools/e2fsprogs&lt;br/&gt;
Branch: master-lustre&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 07b62f26bed99602f492b2b6ff1c932fbb3048c7&lt;/p&gt;</comment>
                            <comment id="248606" author="gerrit" created="Fri, 7 Jun 2019 00:17:56 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34767/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34767/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12158&quot; title=&quot;Don&amp;#39;t have large stripe_width and stride to prevent unexpected performance regression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12158&quot;&gt;&lt;del&gt;LU-12158&lt;/del&gt;&lt;/a&gt; mke2fs: avoid too large stride and stripe_width&lt;br/&gt;
Project: tools/e2fsprogs&lt;br/&gt;
Branch: master-lustre&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 045ec3ce0f16d35f2ee90f9c3adba3471dbfd625&lt;/p&gt;</comment>
                            <comment id="249313" author="pjones" created="Sat, 15 Jun 2019 03:00:01 +0000"  >&lt;p&gt;Looks like this is fixed and just needs a new e2fsprogs release so it is available&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|i00ehz:</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>