<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:24:17 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-9221] Create pid-based hash to enhance Jobstats performance</title>
                <link>https://jira.whamcloud.com/browse/LU-9221</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Currently jobstats gets information by either dedicating an entire node to a single job (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7195&quot; title=&quot;Allow for static string content for jobstats jobid_var&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7195&quot;&gt;&lt;del&gt;LU-7195&lt;/del&gt;&lt;/a&gt;) or reading from the userspace environment for each call.  The first is very fast, but can be inaccurate, the second introduces a significant performance penalty on the client.  This patch creates a cache of JobID names mapped to PIDs.  It has several fallback mechanisms in order to present the most accurate info available.&lt;/p&gt;</description>
                <environment></environment>
        <key id="44785">LU-9221</key>
            <summary>Create pid-based hash to enhance Jobstats performance</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="bevans">Ben Evans</assignee>
                                    <reporter username="bevans">Ben Evans</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Mar 2017 16:04:42 +0000</created>
                <updated>Thu, 25 Apr 2019 14:28:47 +0000</updated>
                            <resolved>Thu, 21 Sep 2017 12:18:08 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>10</watches>
                                                                            <comments>
                            <comment id="193096" author="spitzcor" created="Fri, 21 Apr 2017 23:33:45 +0000"  >&lt;p&gt;Patch up for review is at &lt;a href=&quot;https://review.whamcloud.com/#/c/25208/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/25208/&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="196384" author="spitzcor" created="Thu, 18 May 2017 19:06:21 +0000"  >&lt;p&gt;@hdoreau, the OpenSFS LWG is looking to you to be the reviewer of record for this enhancement.  Can you accept?  We&apos;re getting close to code cut-off for v2.10 and we were hoping that you would have time for reviews.  Thanks!&lt;/p&gt;</comment>
                            <comment id="196537" author="pjones" created="Sat, 20 May 2017 14:25:34 +0000"  >&lt;p&gt;Could still make 2.10 if reviews complete in time but otherwise will be in 2.10.1&lt;/p&gt;</comment>
                            <comment id="196793" author="hdoreau" created="Tue, 23 May 2017 20:09:27 +0000"  >&lt;p&gt;@cory: I&apos;d be glad to help but it will not have much time to review Ben&apos;s patch before LUG...&lt;/p&gt;

&lt;p&gt;As seen in first revisions of the patch, introducing such a new cache comes with a risk of subtle race conditions and memory leaks. Therefore reviewing and testing it seriously cannot be done in a rush.&lt;/p&gt;</comment>
                            <comment id="197184" author="bevans" created="Fri, 26 May 2017 17:15:57 +0000"  >&lt;p&gt; &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/attachment/26818/26818_JobID+Cache+Proposal.docx&quot; title=&quot;JobID Cache Proposal.docx attached to LU-9221&quot;&gt;JobID Cache Proposal.docx&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.whamcloud.com/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; &lt;br/&gt;
Updated doc&lt;/p&gt;</comment>
                            <comment id="199245" author="bevans" created="Wed, 14 Jun 2017 19:53:26 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.hpdd.intel.com/browse/LUDOC-381&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jira.hpdd.intel.com/browse/LUDOC-381&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="203951" author="panda" created="Mon, 31 Jul 2017 17:17:30 +0000"  >&lt;p&gt;Another interesting tool which might be useful to implement this feature is the linux key management system (see man keyctl).&lt;/p&gt;

&lt;p&gt;One can create a key with some data attached and link it to one of the available keyrings (thread, process, session, default session, etc). The key will be stored on a temporal or permanent basis. The cache can be easily searched from the kernel using request_key().&lt;/p&gt;

&lt;p&gt;It&apos;s also possible to create a key type so that requested keys are created using a userspace upcall (see /sbin/request-key, /etc/request-key.conf).&lt;/p&gt;</comment>
                            <comment id="209000" author="gerrit" created="Thu, 21 Sep 2017 06:13:16 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/25208/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25208/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9221&quot; title=&quot;Create pid-based hash to enhance Jobstats performance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9221&quot;&gt;&lt;del&gt;LU-9221&lt;/del&gt;&lt;/a&gt; jobstats: Create a pid-based hash for jobid values&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 08479b74ec3599ee91e14f3f646389bb0aca4575&lt;/p&gt;</comment>
                            <comment id="209031" author="pjones" created="Thu, 21 Sep 2017 12:18:08 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="46708">LUDOC-381</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="26818" name="JobID Cache Proposal.docx" size="113348" author="bevans" created="Fri, 26 May 2017 17:15:40 +0000"/>
                            <attachment id="26049" name="JobID Cache Proposal.docx" size="108639" author="bevans" created="Wed, 29 Mar 2017 18:23:19 +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_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>Performance</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzz7av:</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>