<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:18:40 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-8565] sanity test 255a fails with &#8216;Speedup with willread is less than X%, got Y%&#8217;</title>
                <link>https://jira.whamcloud.com/browse/LU-8565</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;sanity test 255a fails with &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;sanity test_255a: @@@@@@ FAIL: Speedup with willread is less than 88%, got 7% 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;where the percentage values differ for each failure. &lt;/p&gt;

&lt;p&gt;From one of the test failures, we can see that using the WILLREAD advice does not help with read and, for this test, does not out perform the benefits of reading from cache&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;Iter 1/10: cache speedup: 98%
Iter 1/10: ladvise speedup: -7%

Iter 3/10: cache speedup: 131%
Iter 3/10: ladvise speedup: 8%

Iter 8/10: cache speedup: 108%
Iter 8/10: ladvise speedup: 0%
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;For this test, we are comparing the speed up gained with the WILLREAD advice versus (half) the benefit of reading from cache:&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;local lowest_speedup=$((average_cache / 2))
	[ $average_ladvise -gt $lowest_speedup ] ||
		error &quot;Speedup with willread is less than $lowest_speedup%,&quot;\
			&quot;got $average_ladvise%&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So, the expected speed up of the willread advice to ladvise is not as great as expected. &lt;/p&gt;

&lt;p&gt;The WILLREAD hint was added with patch &lt;a href=&quot;http://review.whamcloud.com/#/c/12458&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/12458&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Logs for recent failures are at&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/3ed61acc-6d90-11e6-b058-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/3ed61acc-6d90-11e6-b058-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/5eaddd70-6bca-11e6-8a8c-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/5eaddd70-6bca-11e6-8a8c-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/f10db2be-69cf-11e6-9258-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/f10db2be-69cf-11e6-9258-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/e2c962c6-696f-11e6-9258-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/e2c962c6-696f-11e6-9258-5254006e85c2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Info required for matching: sanity 255a&lt;/p&gt;</description>
                <environment>autotest</environment>
        <key id="39198">LU-8565</key>
            <summary>sanity test 255a fails with &#8216;Speedup with willread is less than X%, got Y%&#8217;</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="1">Fixed</resolution>
                                        <assignee username="lixi">Li Xi</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                    </labels>
                <created>Mon, 29 Aug 2016 17:39:30 +0000</created>
                <updated>Thu, 9 Feb 2017 19:24:46 +0000</updated>
                            <resolved>Thu, 8 Sep 2016 07:52:19 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="163623" author="cheneva1" created="Tue, 30 Aug 2016 17:31:55 +0000"  >&lt;p&gt;Li Xi, can you help to take a look of this ticket? &lt;/p&gt;</comment>
                            <comment id="163624" author="green" created="Tue, 30 Aug 2016 17:32:38 +0000"  >&lt;p&gt;So it&apos;s clear the test needs to be revisited.&lt;br/&gt;
Considering that we run our testing in VMs with other parallel workloads, and also out VMs are short on memory, the effects could be somewhat less pronounced and jumpy and the test needs to take thtat into account not to fail unnecessary and frustrating people?&lt;/p&gt;</comment>
                            <comment id="165077" author="lixi" created="Wed, 7 Sep 2016 11:57:16 +0000"  >&lt;p&gt;I agree that the test should be skipped right now. It seems the performance improvement of &quot;ladvise willread&quot; is not so high as expected in some environments.&lt;/p&gt;</comment>
                            <comment id="165192" author="adilger" created="Wed, 7 Sep 2016 19:58:09 +0000"  >&lt;p&gt;Li Xi, can you please submit a patch to change test_255a to not fail if the performance isn&apos;t as expected when running in a VM, like test_248:&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;test_248() {
        local my_error=error

        :
        :
        # This test &lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt; is time sensitive and Maloo uses KVM to run autotest.
        # Therefore the complete time of I/O task is unreliable and depends on
        # the workload on the host machine when the task is running.
        local virt=$(running_in_vm)
        [ -n &lt;span class=&quot;code-quote&quot;&gt;&quot;$virt&quot;&lt;/span&gt; ] &amp;amp;&amp;amp; echo &lt;span class=&quot;code-quote&quot;&gt;&quot;running in VM &lt;span class=&quot;code-quote&quot;&gt;&apos;$virt&apos;&lt;/span&gt;, ignore error&quot;&lt;/span&gt; &amp;amp;&amp;amp;
                  my_error=&lt;span class=&quot;code-quote&quot;&gt;&quot;error_ignore env=$virt&quot;&lt;/span&gt;
        :
        :
        # verify that fast read is 4 times faster &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; cache read
        [ $(bc &amp;lt;&amp;lt;&amp;lt; &lt;span class=&quot;code-quote&quot;&gt;&quot;4 * $t_fast &amp;lt; $t_slow&quot;&lt;/span&gt;) -eq 1 ] ||
                $my_error &lt;span class=&quot;code-quote&quot;&gt;&quot;fast read was not 4 times faster: $t_fast vs $t_slow&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is causing failures about once a day on other patches.&lt;/p&gt;</comment>
                            <comment id="165248" author="gerrit" created="Thu, 8 Sep 2016 03:07:57 +0000"  >&lt;p&gt;Gu Zheng (gzheng@ddn.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/22375&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/22375&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8565&quot; title=&quot;sanity test 255a fails with &#8216;Speedup with willread is less than X%, got Y%&#8217;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8565&quot;&gt;&lt;del&gt;LU-8565&lt;/del&gt;&lt;/a&gt; test: change sanity 255a to not fail for performance when running in VM&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5df2d8671e0ebe74a47376bbe765b26d5607e1ee&lt;/p&gt;</comment>
                            <comment id="165273" author="gerrit" created="Thu, 8 Sep 2016 07:49:16 +0000"  >&lt;p&gt;Andreas Dilger (andreas.dilger@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/22375/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/22375/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8565&quot; title=&quot;sanity test 255a fails with &#8216;Speedup with willread is less than X%, got Y%&#8217;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8565&quot;&gt;&lt;del&gt;LU-8565&lt;/del&gt;&lt;/a&gt; test: change sanity 255a to not fail for performance when running in VM&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 09b0ef0c85ad73f06e517632f1b4ffa3a7174c2b&lt;/p&gt;</comment>
                            <comment id="165274" author="adilger" created="Thu, 8 Sep 2016 07:52:19 +0000"  >&lt;p&gt;Patch landed for 2.9.0.  Other patches would need to rebase to get this fix, but it is also unlikely that they would hit the same failure twice if retesting.  There may still be a few failures in the next few days before patches are updated to include this fix. &lt;/p&gt;</comment>
                            <comment id="180916" author="gerrit" created="Mon, 16 Jan 2017 21:25:34 +0000"  >&lt;p&gt;Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/24907&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24907&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8565&quot; title=&quot;sanity test 255a fails with &#8216;Speedup with willread is less than X%, got Y%&#8217;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8565&quot;&gt;&lt;del&gt;LU-8565&lt;/del&gt;&lt;/a&gt; tests: improve output of test_255a&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 34fe68f93d9926e4261126b77988b4d9ff872839&lt;/p&gt;</comment>
                            <comment id="184198" author="adilger" created="Thu, 9 Feb 2017 19:24:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9069&quot; title=&quot;ZFS sanity: FAIL: test_255a Speedup with willread is less than  XX%, got YY%&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9069&quot;&gt;LU-9069&lt;/a&gt; is for test failures on real hardware.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="39197">LU-8564</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="43452">LU-9069</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="24298">LU-4931</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|hzymh3:</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>