<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:12:20 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-979] Barriers should be disabled by default on RHEL6</title>
                <link>https://jira.whamcloud.com/browse/LU-979</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Formatting a lustre filesystem in RHEL6 barriers are enabled by default with our Lustre 2.0 (same for Lustre 2.1). The impact on small IO performance is very important if we don&apos;t specify nobarrier as an MDT mount option. A single fileop bench running with &apos;-f 15&apos; will take more than 2m30sec while the one with nobarrier as mount option on MDT will take less than a minute. Compiling a kernel in Lustre is also a good way to see the problem due to jbd2 barriers.&lt;/p&gt;

&lt;p&gt;This problem had already been addressed in SLES with ldiskfs patch ext4-disable-write-bar-by-default.patch. I adapted a similar patch to RHEL6.1. I&apos;ll try to submit it as soon as possible.&lt;/p&gt;</description>
                <environment>RHEL6.1 with Lustre2.0/2.1</environment>
        <key id="12853">LU-979</key>
            <summary>Barriers should be disabled by default on RHEL6</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="3">Duplicate</resolution>
                                        <assignee username="ys">Yang Sheng</assignee>
                                    <reporter username="dmoreno">Diego Moreno</reporter>
                        <labels>
                            <label>ldiskfs</label>
                            <label>performance</label>
                            <label>rhel</label>
                    </labels>
                <created>Tue, 10 Jan 2012 10:03:22 +0000</created>
                <updated>Fri, 31 May 2013 18:21:33 +0000</updated>
                            <resolved>Tue, 10 Jan 2012 10:33:52 +0000</resolved>
                                    <version>Lustre 2.1.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="26245" author="johann" created="Tue, 10 Jan 2012 10:08:04 +0000"  >&lt;p&gt;I think the latest patchset of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-751&quot; title=&quot;Kernel update [RHEL6.2 2.6.32-220.el6]&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-751&quot;&gt;&lt;del&gt;LU-751&lt;/del&gt;&lt;/a&gt; (available here &lt;a href=&quot;http://review.whamcloud.com/#change,1892&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,1892&lt;/a&gt;) already takes care of this.&lt;/p&gt;</comment>
                            <comment id="26246" author="pjones" created="Tue, 10 Jan 2012 10:09:28 +0000"  >&lt;p&gt;YangSheng&lt;/p&gt;

&lt;p&gt;Please consider this when working on the RHEL6.2 support&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="26247" author="lustre-bull" created="Tue, 10 Jan 2012 10:12:19 +0000"  >&lt;p&gt;Right Johann,&lt;/p&gt;

&lt;p&gt;thanks!&lt;/p&gt;</comment>
                            <comment id="26249" author="pjones" created="Tue, 10 Jan 2012 10:33:52 +0000"  >&lt;p&gt;Ah good - thanks YangSheng\Johann!&lt;/p&gt;</comment>
                            <comment id="30808" author="dmoreno" created="Mon, 12 Mar 2012 10:04:40 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Coming back to this issue, I couldn&apos;t see in the patch where are you disabling barriers for rhel6.2.&lt;/p&gt;</comment>
                            <comment id="34383" author="dmoreno" created="Tue, 10 Apr 2012 09:17:07 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Coming back to this issue, could you please specify where are barriers disabled on lustre 2.1 code? I cannot see anywhere any code disabling barriers by default. This question also stands for lustre 2.2 but in this case the patch is there but it&apos;s not applied.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;</comment>
                            <comment id="34428" author="ys" created="Tue, 10 Apr 2012 13:21:44 +0000"  >&lt;p&gt;Hi, Diego, As Andreas point out in gerrit:&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;I think we should leave barriers enabled by default, and if performance is down for specific types of hardware then the administrator can choose to mount with &quot;-o nobarrier&quot; by themselves. I&apos;m not sure this will happen, because the kernel barrier implementation has improved significantly since SLES10 when it was first needed, and it is enabled by default for both ext3 and ext4 in all modern kernels.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</comment>
                            <comment id="59781" author="ihara" created="Fri, 31 May 2013 18:21:33 +0000"  >&lt;p&gt;I think nobarrier option for OSTs really helps to improve direct IO perforamnce. I saw dramatically performance improvements with nobarrier option.&lt;br/&gt;
In the direct IO mode, journal transaction starts for each RPC to commit to disk and jbd issues barrier to storage for each journal commit. If there are battery backup raid cache and cache mirroring feature between storage controllers, nobarrier can  be enabled and help a lot to reduce the latency for journal commeit. thgouht?&lt;/p&gt;</comment>
                    </comments>
                    <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|hzvhjj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6491</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>