<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:28:07 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-9660] reduce ptlrpcd wakeups on idle system</title>
                <link>https://jira.whamcloud.com/browse/LU-9660</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When a client is not actively using Lustre, there is still background activity (dirty page flushing, lock cancellation, pings, etc.) that wakes a number of different threads.  This background activity can cause small delays in user-space threads, and in tightly-coupled HPC applications running across a large number of clients (typically MPI with barriers) this jitter causes all of the clients to be delayed all of the time.&lt;/p&gt;

&lt;p&gt;It would be beneficial to determine which threads are commonly being woken when there is no work to be done (in particular &lt;tt&gt;ptlrpcd&lt;/tt&gt;) and:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;avoid waking them on a periodic basis (e.g. 1s) and instead only wake them when there is work to be done (e.g. send ping, cancel a lock, etc)&lt;/li&gt;
	&lt;li&gt;coordinate wakeups across clients (e.g. on even multiples of 1s, 5s, etc) so that the delays are affecting all clients at one time rather than spread continuously across the application timesteps.  This can potentially be problematic, if it causes large load spikes on the servers (essentially DDOS).&lt;/li&gt;
	&lt;li&gt;pre-emptively perform work that would happen in the near future (e.g. cancel locks that will expire in the next few seconds, send an earlier ping, etc).&lt;/li&gt;
	&lt;li&gt;completely disconnect from the server(s) if there is no activity (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7236&quot; title=&quot;connections on demand&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7236&quot;&gt;&lt;del&gt;LU-7236&lt;/del&gt;&lt;/a&gt;) to avoid pings completely and reduce the number of clients they need to recover when the system is idle.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="46688">LU-9660</key>
            <summary>reduce ptlrpcd wakeups on idle system</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="1">Fixed</resolution>
                                        <assignee username="bzzz">Alex Zhuravlev</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>medium</label>
                    </labels>
                <created>Tue, 13 Jun 2017 22:44:56 +0000</created>
                <updated>Tue, 19 Dec 2017 21:28:43 +0000</updated>
                            <resolved>Mon, 16 Oct 2017 13:42:52 +0000</resolved>
                                                    <fixVersion>Lustre 2.11.0</fixVersion>
                    <fixVersion>Lustre 2.10.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="199155" author="adilger" created="Wed, 14 Jun 2017 01:02:31 +0000"  >&lt;p&gt;If a single application was batching up operations for the servers in a coordinated manner between clients, this should be staggered to avoid contention between jobs.  Something like ping on &lt;tt&gt;time % (hash(jobid) &amp;amp; 15)&lt;/tt&gt; or similar could be used to coordinate autonomously between clients running the same job.&lt;/p&gt;</comment>
                            <comment id="207028" author="bzzz" created="Thu, 31 Aug 2017 05:50:09 +0000"  >&lt;p&gt;&lt;a href=&quot;https://review.whamcloud.com/28776&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28776&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="211144" author="gerrit" created="Mon, 16 Oct 2017 03:22:55 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/28776/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28776/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9660&quot; title=&quot;reduce ptlrpcd wakeups on idle system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9660&quot;&gt;&lt;del&gt;LU-9660&lt;/del&gt;&lt;/a&gt; ptlrpc: do not wakeup every second&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e81847bd06519dd9847c31244abe6da978bcd016&lt;/p&gt;</comment>
                            <comment id="211167" author="pjones" created="Mon, 16 Oct 2017 13:42:52 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                            <comment id="212997" author="gerrit" created="Tue, 7 Nov 2017 17:51:17 +0000"  >&lt;p&gt;Minh Diep (minh.diep@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/29969&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29969&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9660&quot; title=&quot;reduce ptlrpcd wakeups on idle system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9660&quot;&gt;&lt;del&gt;LU-9660&lt;/del&gt;&lt;/a&gt; ptlrpc: do not wakeup every second&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2142990299805080eab5a17ad7a80486072487f0&lt;/p&gt;</comment>
                            <comment id="216744" author="gerrit" created="Tue, 19 Dec 2017 18:29:01 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/29969/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29969/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9660&quot; title=&quot;reduce ptlrpcd wakeups on idle system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9660&quot;&gt;&lt;del&gt;LU-9660&lt;/del&gt;&lt;/a&gt; ptlrpc: do not wakeup every second&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 7faa2fec32b9d8a8f9dd646ca0b418c754cd8d0a&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="32398">LU-7236</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="45844">LU-9441</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hzzf1j:</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>