<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:51:58 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-12367] readahead page count calculation is incorrect for unaligned reads</title>
                <link>https://jira.whamcloud.com/browse/LU-12367</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While looking at at 47K strided read workload, I noticed that there were a lot of 1 page read RPCs, roughly half as many as the larger RPCs:&lt;/p&gt;

&lt;p&gt;read write&lt;br/&gt;
pages per rpc rpcs % cum % | rpcs % cum %&lt;br/&gt;
1: 12 35 35 | 0 0 0&lt;br/&gt;
2: 0 0 35 | 0 0 0&lt;br/&gt;
4: 0 0 35 | 0 0 0&lt;br/&gt;
8: 0 0 35 | 0 0 0&lt;br/&gt;
16: 22 64 100 | 0 0 0&lt;/p&gt;

&lt;p&gt;read write&lt;br/&gt;
rpcs in flight rpcs % cum % | rpcs % cum %&lt;br/&gt;
0: 0 0 0 | 0 0 0&lt;br/&gt;
1: 34 100 100 | 0 0 0&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I dug in to this, and I eventually figured out that when a read is unaligned on both the first and last page, the length calculation used to determine the count of pages for readahead is incorrect.&#160; A 47K read is 12 pages in length, but when it is unaligned at start and end, the total page count is 13 pages.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;The fix is pretty simple, and the 1 page RPCs disappear from the workload.&lt;/p&gt;



&lt;p&gt;This should significantly increase performance for unaligned read workloads of this type.&#160; I&apos;ll try to get some benchmarks to include in the patch.&lt;/p&gt;</description>
                <environment></environment>
        <key id="55809">LU-12367</key>
            <summary>readahead page count calculation is incorrect for unaligned reads</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="pfarrell">Patrick Farrell</assignee>
                                    <reporter username="pfarrell">Patrick Farrell</reporter>
                        <labels>
                    </labels>
                <created>Fri, 31 May 2019 16:53:07 +0000</created>
                <updated>Sat, 7 Sep 2019 14:23:01 +0000</updated>
                            <resolved>Fri, 16 Aug 2019 19:55:06 +0000</resolved>
                                                    <fixVersion>Lustre 2.13.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="248120" author="gerrit" created="Fri, 31 May 2019 16:57:52 +0000"  >&lt;p&gt;Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35015&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35015&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12367&quot; title=&quot;readahead page count calculation is incorrect for unaligned reads&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12367&quot;&gt;&lt;del&gt;LU-12367&lt;/del&gt;&lt;/a&gt; llite: Fix page count for unaligned reads&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7af46dfb50f22becd566e897ca28be4594e87cd9&lt;/p&gt;</comment>
                            <comment id="248740" author="gerrit" created="Fri, 7 Jun 2019 19:21:30 +0000"  >&lt;p&gt;Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35109&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35109&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12367&quot; title=&quot;readahead page count calculation is incorrect for unaligned reads&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12367&quot;&gt;&lt;del&gt;LU-12367&lt;/del&gt;&lt;/a&gt; llite: Disable strided readahead&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 511c58e1222c89db179db43d962f704c8b51a220&lt;/p&gt;</comment>
                            <comment id="253218" author="pfarrell" created="Fri, 16 Aug 2019 19:55:06 +0000"  >&lt;p&gt;Shilong is doing a large scale fix of strided readahead under &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12644&quot; title=&quot;correct fast read &amp;amp; strided readahead interaction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12644&quot;&gt;&lt;del&gt;LU-12644&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="254317" author="gerrit" created="Sat, 7 Sep 2019 01:51:40 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35015/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35015/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12367&quot; title=&quot;readahead page count calculation is incorrect for unaligned reads&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12367&quot;&gt;&lt;del&gt;LU-12367&lt;/del&gt;&lt;/a&gt; llite: Fix page count for unaligned reads&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d4a54de84c0554a21b215621b4df5fdd93e38f74&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="56613">LU-12644</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|i00hbz:</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>