<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:22:59 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-9069] ZFS sanity: FAIL: test_255a Speedup with willread is less than  XX%, got YY%</title>
                <link>https://jira.whamcloud.com/browse/LU-9069</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;sanity: FAIL: test_255a Speedup with willread is less than XX%, got YY%&lt;/p&gt;

&lt;p&gt;Test is expecting willreads to be faster than cache reads, but willreads are slower:&lt;/p&gt;

&lt;p&gt;From test_log:&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: 228%
Iter 1/10: ladvise speedup: 24%

Iter 2/10: cache speedup: 147%
Iter 2/10: ladvise speedup: 20%

Iter 3/10: cache speedup: 170%
Iter 3/10: ladvise speedup: 10%
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Related to &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;, but that issue was attributed to VM slowness.  This issue is also seen on physical machines.&lt;/p&gt;

&lt;p&gt;Info required for matching: sanity 255a&lt;/p&gt;</description>
                <environment>onyx-64 thru 67&lt;br/&gt;
Full Group test, RHEL7.3/ZFS&lt;br/&gt;
master branch, b3499</environment>
        <key id="43452">LU-9069</key>
            <summary>ZFS sanity: FAIL: test_255a Speedup with willread is less than  XX%, got YY%</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="jcasper">James Casper</reporter>
                        <labels>
                            <label>always_except</label>
                            <label>zfs</label>
                    </labels>
                <created>Tue, 31 Jan 2017 23:26:52 +0000</created>
                <updated>Fri, 1 Dec 2017 19:53:33 +0000</updated>
                                            <version>Lustre 2.10.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="187043" author="adilger" created="Fri, 3 Mar 2017 23:40:20 +0000"  >&lt;p&gt;It turns out that all of these real-world test failures are only failing with ZFS backends.  That implies some problem with ladvise not prefetching the pages properly for ZFS, since the cached reads run much faster but ladvise reads sometimes do not run faster with ZFS.&lt;/p&gt;

&lt;p&gt;Looking at the output more closely, it appears that the cases where ZFS is passing are only because the cached speedup is below the threshold:&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/sub_tests/64172ba6-f9df-11e6-8b38-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/sub_tests/64172ba6-f9df-11e6-8b38-5254006e85c2&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;Iter 1/10: reading without willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 1/10: Reading again without willread hint
Iter 1/10: reading with willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 1/10: cache speedup:  6.79256/6.53006=4%
Iter 1/10: ladvise speedup:  6.59651/6.53006=1%
Iter 2/10: reading without willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 2/10: Reading again without willread hint
Iter 2/10: reading with willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 2/10: cache speedup:  7.24601/6.77954=6%
Iter 2/10: ladvise speedup:  6.651/6.77954=-1%
Iter 3/10: reading without willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 3/10: Reading again without willread hint
Iter 3/10: reading with willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 3/10: cache speedup:  6.82836/6.4925=5%
Iter 3/10: ladvise speedup:  6.39501/6.4925=-1%
Iter 4/10: reading without willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 4/10: Reading again without willread hint
Iter 4/10: reading with willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 4/10: cache speedup:  6.80656/6.68438=1%
Iter 4/10: ladvise speedup:  6.52108/6.68438=-2%
Iter 5/10: reading without willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 5/10: Reading again without willread hint
Iter 5/10: reading with willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 5/10: cache speedup:  7.23196/6.44395=12%
Iter 5/10: ladvise speedup:  6.67935/6.44395=3%
Iter 6/10: reading without willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 6/10: Reading again without willread hint
Iter 6/10: reading with willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 6/10: cache speedup:  6.90188/6.73113=2%
Iter 6/10: ladvise speedup:  6.61056/6.73113=-1%
Iter 7/10: reading without willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 7/10: Reading again without willread hint
Iter 7/10: reading with willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 7/10: cache speedup:  6.93889/6.67545=3%
Iter 7/10: ladvise speedup:  6.4859/6.67545=-2%
Iter 8/10: reading without willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 8/10: Reading again without willread hint
Iter 8/10: reading with willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 8/10: cache speedup:  7.03663/6.86692=2%
Iter 8/10: ladvise speedup:  6.60757/6.86692=-3%
Iter 9/10: reading without willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 9/10: Reading again without willread hint
Iter 9/10: reading with willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 9/10: cache speedup:  7.18227/6.64533=8%
Iter 9/10: ladvise speedup:  6.56245/6.64533=-1%
Iter 10/10: reading without willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 10/10: Reading again without willread hint
Iter 10/10: reading with willread hint
CMD: trevis-34vm4 echo 3 &amp;gt; /proc/sys/vm/drop_caches
Iter 10/10: cache speedup:  6.96441/6.69985=3%
Iter 10/10: ladvise speedup:  6.46659/6.69985=-3%
Speedup with cache is less than 20% (4%), skipping check of speedup with willread:  -1%
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So it looks like the real problem is that &quot;echo 3 &amp;gt; /proc/sys/vm/drop_caches&quot; doesn&apos;t actually flush the cache for ZFS servers, so the &quot;uncached speed&quot; test is invalid.&lt;/p&gt;

&lt;p&gt;What is needed is to implement the &quot;dontneed&quot; ladvice for ZFS so that the test can use it to flush the server ARC cache for this file and run a valid test.&lt;/p&gt;</comment>
                            <comment id="187045" author="adilger" created="Fri, 3 Mar 2017 23:56:21 +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-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; tests: improve output of sanity test_255a&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 5&lt;br/&gt;
Commit: 99c7ca0110affd39c33afda073d09e6c1335ac81&lt;/p&gt;</comment>
                            <comment id="194056" author="gerrit" created="Mon, 1 May 2017 18:31:43 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in 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-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; tests: improve output of sanity test_255a&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: bdd470ff9765cb81d94b888ee1067e1c420303bc&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="28723">LU-6254</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="49519">LU-10314</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="39198">LU-8565</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="25133" name="sanity_2017-01-31_2138.zip" size="18736407" author="jcasper" created="Tue, 31 Jan 2017 23:25:17 +0000"/>
                    </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|hzz25z:</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>