<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:09:31 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-14412] changing max_read_ahead_whole_mb results in error &quot;Numerical result out of range? &quot;</title>
                <link>https://jira.whamcloud.com/browse/LU-14412</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Trying to change client side max_read_ahead_whole_mb setting returns error.&#160;&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;
r633i6n8 ~ # lctl get_param llite.nbp12-ffff95b4806d1800.max_read_ahead_mb
llite.nbp12-ffff95b4806d1800.max_read_ahead_mb=4096
r633i6n8 ~ # lctl set_param llite.nbp12-ffff95b4806d1800.max_read_ahead_whole_mb=512
error: set_param: setting /sys/kernel/debug/lustre/llite/nbp12-ffff95b4806d1800/max_read_ahead_whole_mb=512: Numerical result out of range? &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="62821">LU-14412</key>
            <summary>changing max_read_ahead_whole_mb results in error &quot;Numerical result out of range? &quot;</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="ys">Yang Sheng</assignee>
                                    <reporter username="mhanafi">Mahmoud Hanafi</reporter>
                        <labels>
                    </labels>
                <created>Wed, 10 Feb 2021 18:54:16 +0000</created>
                <updated>Thu, 18 Mar 2021 21:19:24 +0000</updated>
                            <resolved>Thu, 18 Mar 2021 21:19:24 +0000</resolved>
                                    <version>Lustre 2.12.5</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="291651" author="adilger" created="Wed, 10 Feb 2021 19:11:57 +0000"  >&lt;p&gt;It looks like this parameter can&apos;t be larger than &lt;tt&gt;llite.*.max_read_ahead_per_file_mb&lt;/tt&gt;.  It should have printed a message on the console like:&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;nbp12: can&apos;t set max_read_ahead_whole_mb=512 &amp;gt; max_read_ahead_per_file_mb=256
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;or similar.  &lt;/p&gt;</comment>
                            <comment id="291652" author="adilger" created="Wed, 10 Feb 2021 19:14:48 +0000"  >&lt;p&gt;One option to make this more usable, would be rather than returning an error in this case to increase &lt;tt&gt;max_read_ahead_per_file_mb&lt;/tt&gt; to match the specified &lt;tt&gt;max_read_ahead_whole_mb&lt;/tt&gt; value if it is not large enough.&lt;/p&gt;</comment>
                            <comment id="291653" author="simmonsja" created="Wed, 10 Feb 2021 19:16:35 +0000"  >&lt;p&gt;You can&apos;t set&#160;max_read_ahead_whole_mb to be larger than&#160;max_read_ahead_per_file_mb. That is why you see this error.&lt;/p&gt;</comment>
                            <comment id="291659" author="mhanafi" created="Wed, 10 Feb 2021 19:47:30 +0000"  >&lt;p&gt;Got it thanks.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="291662" author="adilger" created="Wed, 10 Feb 2021 19:59:45 +0000"  >&lt;p&gt;On a side note, I would be interested to understand what your motivation is for setting &lt;tt&gt;max_read_ahead_whole_mb=512&lt;/tt&gt;?  IMHO, this is &lt;em&gt;probably&lt;/em&gt; not desirable as a general tuning, unless you have a random read workload that accesses the whole file, but the file is small enough to fit into cache (e.g. like &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11416&quot; title=&quot;Improve readahead for random read of small/medium files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11416&quot;&gt;LU-11416&lt;/a&gt;)?  Or is your workload always accessing large files and the overhead of detecting sequential access is worse than fetching files up to 512MB to the client is negligible?&lt;/p&gt;</comment>
                            <comment id="291664" author="mhanafi" created="Wed, 10 Feb 2021 20:07:56 +0000"  >&lt;p&gt;We have a very specific work load that opens lots of small files (&amp;lt;100MB) and will do small read (4KB or less). The job memory foot print is small so the client has lots of memory for cache. We are experimenting with these setting hoping to increase their read performance. &#160;&lt;/p&gt;</comment>
                            <comment id="295378" author="mhanafi" created="Thu, 18 Mar 2021 21:14:05 +0000"  >&lt;p&gt;we can close this&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|i01m9r:</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>