<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:41:45 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-11192] console warning for TBF on client</title>
                <link>https://jira.whamcloud.com/browse/LU-11192</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The I/O rates of users can be throttled by TBF NRS policy. However,&lt;br/&gt;
normal users have no way to know whether the low performance is&lt;br/&gt;
cause by congestion of the system itself or caused by any TBF rule&lt;br/&gt;
added by the administer. They don&apos;t have any information about how&lt;br/&gt;
TBF NRS policy is affecting their I/O rate, thus cannot do anything&lt;br/&gt;
to react to the QoS situation.&lt;/p&gt;

&lt;p&gt;To solve the problem, this patch print warning messages to the user&apos;s&lt;br/&gt;
consoles just like what quota mechanism is doing. When the I/O of an&lt;br/&gt;
application matches an TBF rule on the server side, a message will be&lt;br/&gt;
printed to the console of the process on the client side. The message&lt;br/&gt;
includes information of the rule name, the classification of&lt;br/&gt;
the RPC, the start/end time of the QoS period and whether further&lt;br/&gt;
limitation will be enforced later if more thresholds are reached.&lt;/p&gt;

&lt;p&gt;This new feature assumes that a centralized tool will be used to&lt;br/&gt;
monitor the I/O performance of the whole file system and manage the&lt;br/&gt;
global configuration of TBF rules on all Lustre services. That tool&lt;br/&gt;
will monitor aggregate the I/O throughput (or metadata operations)&lt;br/&gt;
for each user (or job/client/group etc.) during a given time period.&lt;br/&gt;
And when a global threshold of the I/O throughput has been reached by&lt;br/&gt;
the user since the start time of the QoS period, TBF limitations will&lt;br/&gt;
be enforced on the whole Lustre file system. That tool will configure&lt;br/&gt;
TBF rules with enough information about this QoS decision. Two new&lt;br/&gt;
options have been added into the TBF rule for this purpose:&lt;br/&gt;
&quot;start_epoch&quot; and &quot;end_epoch&quot;. If these two options are configured in&lt;br/&gt;
a TBF rule, the printed message will notify the users about the&lt;br/&gt;
start (or end) time of the QoS period.&lt;/p&gt;

&lt;p&gt;There could be multiple QoS thresholds, e.g. one soft threshold and&lt;br/&gt;
one hard threshold. When user reached soft threshold, the RPC rate of&lt;br/&gt;
the user will be reduced to a slightly small value. And if the user&lt;br/&gt;
keeps on doing a lot of I/O and finally reached the hard threshold,&lt;br/&gt;
the global management tool might decide to enforce a very strict RPC&lt;br/&gt;
limitation. Thus, another option has been added to the TBF rule: &lt;br/&gt;
&quot;further_throttle&quot;. If this options is configured in a TBF rule, the&lt;br/&gt;
printed message will notify the users that he/she needs to slow down&lt;br/&gt;
the I/O rate until the end of this QoS period, otherwise, further&lt;br/&gt;
limitation will be enforced as a penalty.&lt;/p&gt;

&lt;p&gt;To avoid the flood of messages to the user&apos;s console, the same&lt;br/&gt;
message can only printed to a console after a time interval. This&lt;br/&gt;
can be tuned as &quot;qos_message_interval&quot; parameter of ptlrpc module.&lt;/p&gt;

&lt;p&gt;In order to know whether a message has been printed to a console&lt;br/&gt;
or not, a history of message will be kept in a hash table. The&lt;br/&gt;
size of the hash table can be configured as &quot;qos_message_history_size&quot;&lt;br/&gt;
parameter of ptlrpc module.&lt;/p&gt;</description>
                <environment></environment>
        <key id="52857">LU-11192</key>
            <summary>console warning for TBF on client</summary>
                <type id="2" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11311&amp;avatarType=issuetype">New Feature</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="lixi_wc">Li Xi</assignee>
                                    <reporter username="lixi_wc">Li Xi</reporter>
                        <labels>
                    </labels>
                <created>Mon, 30 Jul 2018 09:53:39 +0000</created>
                <updated>Wed, 26 Sep 2018 07:25:13 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="231055" author="gerrit" created="Mon, 30 Jul 2018 09:55:01 +0000"  >&lt;p&gt;Li Xi (lixi@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32898&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32898&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11192&quot; title=&quot;console warning for TBF on client&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11192&quot;&gt;LU-11192&lt;/a&gt; ptlrpc: console warning for TBF on client&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1f08765eee5c54fb28af942f68bbf54828ffae4d&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                            <outwardlinks description="is blocking">
                                        <issuelink>
            <issuekey id="53426">LU-11431</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|i0000v:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>