<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:58:43 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-13138] sanity test 101d fails with &apos;readahead 283s &gt; no-readahead 134s 500M&apos;</title>
                <link>https://jira.whamcloud.com/browse/LU-13138</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;sanity test_101d fails with &apos;readahead 283s &amp;gt; no-readahead 134s 500M&apos;. The first time this test failed with this error was on 25 FEB 2019 while testing a patch for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11157&quot; title=&quot;sanity test_42e: invalid arithmetic operator (error token is &amp;quot;.9&amp;quot;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11157&quot;&gt;&lt;del&gt;LU-11157&lt;/del&gt;&lt;/a&gt; with the first failure at &lt;a href=&quot;https://testing.whamcloud.com/test_sets/9377a2ee-3967-11e9-b88b-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/9377a2ee-3967-11e9-b88b-52540065bddc&lt;/a&gt;. These failures for this patch are a mix of RHEL and other client testing and look like they are different from the branch testing failures. &lt;/p&gt;

&lt;p&gt;The first time this test failed with this error in non-patch review testing was on 02 MARCH 2019 for Ubuntu 18.04 client testing at &lt;a href=&quot;https://testing.whamcloud.com/test_sets/02946220-3e27-11e9-a256-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/02946220-3e27-11e9-a256-52540065bddc&lt;/a&gt;. And again for Ubuntu 18.04 client testing on 05 MAY 2019 at &lt;a href=&quot;https://testing.whamcloud.com/test_sets/9cbca45c-705e-11e9-bd0e-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/9cbca45c-705e-11e9-bd0e-52540065bddc&lt;/a&gt;. Since that time, we&#8217;ve seen about 20 failures in branch testing for Ubuntu and PPC testing.&lt;/p&gt;

&lt;p&gt;There is one case where this test fails for RHEL clients in branch testing where the dd time output does not match what the test is reporting; see the suite_log for the failure at &lt;a href=&quot;https://testing.whamcloud.com/test_sets/55424ea8-34d8-11ea-80b4-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/55424ea8-34d8-11ea-80b4-52540065bddc&lt;/a&gt;. The test reports that reading the 500M file with read ahead turned off took about 134 seconds and the dd output confirms this&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;Disable read-ahead
Reading the test file /mnt/lustre/f101d.sanity with read-ahead disabled
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 133.321 s, 3.9 MB/s
Cancel LRU locks on lustre client to flush the client cache
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Next we turn on read ahead and read the same file. In this case, dd reports that the read took about 17 seconds, but the test reports that the read took 283 seconds&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;Enable read-ahead with 40MB
0
Reading the test file /mnt/lustre/f101d.sanity with read-ahead enabled
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 16.516 s, 31.7 MB/s
read-ahead disabled time read 134
read-ahead enabled  time read 283
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Looking at do_and_time() in test-framework.sh, we see &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;6834 do_and_time () {
6835     local cmd=$1
6836     local rc
6837 
6838     SECONDS=0
6839     eval &apos;$cmd&apos;
6840 
6841     [ ${PIPESTATUS[0]} -eq 0 ] || rc=1
6842 
6843     echo $SECONDS
6844     return $rc
6845 }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The way this function is used, the return code of do_and_time() is saved as the time dd takes. Although I don&#8217;t think this is the issue, an improvement would be for do_and_time() to only echo/return one value.&lt;/p&gt;</description>
                <environment>Ubuntu or PPC clients</environment>
        <key id="57804">LU-13138</key>
            <summary>sanity test 101d fails with &apos;readahead 283s &gt; no-readahead 134s 500M&apos;</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="adilger">Andreas Dilger</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>ppc</label>
                            <label>ubuntu</label>
                    </labels>
                <created>Wed, 15 Jan 2020 00:38:17 +0000</created>
                <updated>Wed, 13 Dec 2023 15:21:37 +0000</updated>
                            <resolved>Wed, 12 Jan 2022 00:27:30 +0000</resolved>
                                    <version>Lustre 2.13.0</version>
                    <version>Lustre 2.14.0</version>
                    <version>Lustre 2.12.4</version>
                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="268910" author="adilger" created="Wed, 29 Apr 2020 22:07:51 +0000"  >&lt;p&gt;Also a problem is that &quot;&lt;tt&gt;$SECONDS&lt;/tt&gt;&quot; is a global value in the shell, and should not be changed.  &lt;tt&gt;do_and_time()&lt;/tt&gt; should just read &quot;&lt;tt&gt;$SECONDS&lt;/tt&gt;&quot; before the test starts, and then again after it is finished, and return the difference.&lt;/p&gt;

&lt;p&gt;That said, this test would probably be better to parse the output of &quot;dd&quot; to get the actual bandwidth, since the 1s granularity of &lt;tt&gt;$SECONDS&lt;/tt&gt; is probably not accurate enough, as can be seen with the following test failure:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/3366f64a-d49b-4851-8f07-fdffba254fc1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/3366f64a-d49b-4851-8f07-fdffba254fc1&lt;/a&gt;&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;Reading the test file /mnt/lustre/f101d.sanity with read-ahead disabled
20480+0 records in
20480+0 records out
83886080 bytes (84 MB, 80 MiB) copied, 5.52689 s, 15.2 MB/s
Cancel LRU locks on lustre client to flush the client cache
Enable read-ahead with 40MB
Reading the test file /mnt/lustre/f101d.sanity with read-ahead enabled
20480+0 records in
20480+0 records out
83886080 bytes (84 MB, 80 MiB) copied, 4.09317 s, 20.5 MB/s
read-ahead disabled time read 5
read-ahead enabled time read 5
 sanity test_101d: @@@@@@ FAIL: readahead 5s &amp;gt; no-readahead 5s 80M
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="268964" author="gerrit" created="Thu, 30 Apr 2020 10:29:51 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38427&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38427&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13138&quot; title=&quot;sanity test 101d fails with &amp;#39;readahead 283s &amp;gt; no-readahead 134s 500M&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13138&quot;&gt;&lt;del&gt;LU-13138&lt;/del&gt;&lt;/a&gt; tests: measure &apos;dd&apos; time more accurately&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 6a996fa0585de83cca8a8fd3f3c9b86545af17e4&lt;/p&gt;</comment>
                            <comment id="269510" author="gerrit" created="Thu, 7 May 2020 05:46:43 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/38427/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38427/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13138&quot; title=&quot;sanity test 101d fails with &amp;#39;readahead 283s &amp;gt; no-readahead 134s 500M&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13138&quot;&gt;&lt;del&gt;LU-13138&lt;/del&gt;&lt;/a&gt; tests: measure &apos;dd&apos; time more accurately&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 43ebfad490a02613ada66c9ac79e80d1d9feaac5&lt;/p&gt;</comment>
                            <comment id="273263" author="ys" created="Fri, 19 Jun 2020 08:09:01 +0000"  >&lt;p&gt;Other instance:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sessions/43fe4d5d-90df-4962-985e-604656b4bb1b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sessions/43fe4d5d-90df-4962-985e-604656b4bb1b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="288615" author="adilger" created="Mon, 4 Jan 2021 23:28:29 +0000"  >&lt;p&gt;+1 on Ubuntu:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/9e3458e2-41d5-49f5-b7ee-277b5132492d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/9e3458e2-41d5-49f5-b7ee-277b5132492d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="289135" author="adilger" created="Sat, 9 Jan 2021 20:33:53 +0000"  >&lt;p&gt;+1 on Ubuntu &lt;a href=&quot;https://testing.whamcloud.com/test_sets/93206725-9b65-4264-b6ae-87ac957f5c20&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/93206725-9b65-4264-b6ae-87ac957f5c20&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="290719" author="jamesanunez" created="Fri, 29 Jan 2021 17:39:06 +0000"  >&lt;p&gt;RHEL8.3 server/client failure at &lt;a href=&quot;https://testing.whamcloud.com/test_sets/0af23296-c754-4951-8e2e-40383febe41b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/0af23296-c754-4951-8e2e-40383febe41b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="294067" author="lixi_wc" created="Fri, 5 Mar 2021 09:13:22 +0000"  >&lt;p&gt;+1 on ES5.2 &lt;a href=&quot;https://testing.whamcloud.com/test_sets/59e0506b-8004-473f-aa44-753b27cc82f5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/59e0506b-8004-473f-aa44-753b27cc82f5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="297495" author="qian_wc" created="Thu, 1 Apr 2021 07:47:29 +0000"  >&lt;p&gt;+1 on ES6 &lt;a href=&quot;https://testing.whamcloud.com/test_sets/52982bf3-3774-4a63-a141-0ed0bfdb86e2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/52982bf3-3774-4a63-a141-0ed0bfdb86e2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="322393" author="simmonsja" created="Wed, 12 Jan 2022 00:27:30 +0000"  >&lt;p&gt;My testing on Ubuntu20.04 HWE shows double the performance when read ahead is enabled I see the same behaviour for RHEL7 as well. Thanks to the work of Wang Shilong. We can close this ticket but it can be reopened if someone reports this problem again.&lt;/p&gt;</comment>
                            <comment id="393679" author="gerrit" created="Tue, 21 Nov 2023 01:14:28 +0000"  >&lt;p&gt;&quot;Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53188&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53188&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13138&quot; title=&quot;sanity test 101d fails with &amp;#39;readahead 283s &amp;gt; no-readahead 134s 500M&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13138&quot;&gt;&lt;del&gt;LU-13138&lt;/del&gt;&lt;/a&gt; tests: improve sanity/101d &apos;dd&apos; parsing&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b32d4a2900e3b7ca7366f8b0f4583e4440152612&lt;/p&gt;</comment>
                            <comment id="396595" author="gerrit" created="Wed, 13 Dec 2023 12:22:46 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53188/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53188/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13138&quot; title=&quot;sanity test 101d fails with &amp;#39;readahead 283s &amp;gt; no-readahead 134s 500M&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13138&quot;&gt;&lt;del&gt;LU-13138&lt;/del&gt;&lt;/a&gt; tests: improve sanity/101d &apos;dd&apos; parsing&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 2d9b57dfc45d4ee247363f89e69021827916edee&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="59658">LU-13698</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="56879">LU-12748</issuekey>
        </issuelink>
                            </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|i00s1j:</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>