<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:54: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-12631] Report latency of client operations</title>
                <link>https://jira.whamcloud.com/browse/LU-12631</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Add statistics on the client to measure and report latency of operations. &lt;/p&gt;

&lt;p&gt;The current &lt;tt&gt;llite.&amp;#42;.stats&lt;/tt&gt; file only reports the operation counts, not the time taken for each one. It should be simple to add stats to measure min/max/sum/sumsq for these metrics, including new &lt;tt&gt;read&lt;/tt&gt; and &lt;tt&gt;write&lt;/tt&gt; operations for the latency, as currently it reports &lt;tt&gt;read_bytes&lt;/tt&gt; and &lt;tt&gt;write_bytes&lt;/tt&gt;, which should also be kept.  It &lt;em&gt;might&lt;/em&gt; make sense to report sync writes separately as &lt;tt&gt;write_sync&lt;/tt&gt; (with &lt;tt&gt;file-&amp;gt;f_flags &amp;amp; (O_DIRECT | O_SYNC)&lt;/tt&gt; set) since the latency profile will be quite different compared to cached writes. &lt;/p&gt;</description>
                <environment></environment>
        <key id="56581">LU-12631</key>
            <summary>Report latency of client operations</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="adilger">Andreas Dilger</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>LTS12</label>
                    </labels>
                <created>Tue, 6 Aug 2019 16:11:37 +0000</created>
                <updated>Fri, 28 Oct 2022 15:57:48 +0000</updated>
                            <resolved>Tue, 12 Nov 2019 06:33:58 +0000</resolved>
                                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="252648" author="adilger" created="Wed, 7 Aug 2019 04:40:53 +0000"  >&lt;p&gt;The place that this should be done is &lt;tt&gt;llite_opcode_table&lt;/tt&gt; and add &lt;tt&gt;LPROCFS_CNTR_AVGMINMAX&lt;/tt&gt;  to all of the fields there, and maybe &lt;tt&gt;LPROCFS_CNTR_STDDEV&lt;/tt&gt; to the main ones that correspond to actual userspace VFS operations, not necessarily the &quot;internal&quot; stats like &lt;tt&gt;LPROC_LL_ALLOC_INODE&lt;/tt&gt;, &lt;tt&gt;LPROC_LL_GETXATTR_HITS&lt;/tt&gt;, and &lt;tt&gt;LPROC_LL_INODE_PERM&lt;/tt&gt;.  The &lt;tt&gt;LPROCFS_TYPE_REGS&lt;/tt&gt; type can be changed to &lt;tt&gt;LPROCFS_TYPE_USEC&lt;/tt&gt; for the &quot;&lt;tt&gt;usec&lt;/tt&gt;&quot; units since it isn&apos;t used anywhere.&lt;/p&gt;

&lt;p&gt;We need to record the start and end time for each operation using &lt;tt&gt;ktime_get()&lt;/tt&gt; and only convert the times to usec units only when printed.&lt;/p&gt;</comment>
                            <comment id="252899" author="pjones" created="Fri, 9 Aug 2019 17:26:11 +0000"  >&lt;p&gt;Jian&lt;/p&gt;

&lt;p&gt;Could you please assist with this?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="254255" author="gerrit" created="Fri, 6 Sep 2019 08:23:58 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36078&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36078&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12631&quot; title=&quot;Report latency of client operations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12631&quot;&gt;&lt;del&gt;LU-12631&lt;/del&gt;&lt;/a&gt; llite: report latency for filesystem ops&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c2acdf859997d91efbedfbfc80ece00323ee636e&lt;/p&gt;</comment>
                            <comment id="258115" author="gerrit" created="Tue, 12 Nov 2019 04:06:31 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36078/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36078/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12631&quot; title=&quot;Report latency of client operations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12631&quot;&gt;&lt;del&gt;LU-12631&lt;/del&gt;&lt;/a&gt; llite: report latency for filesystem ops&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ea58c4cfb0fc255befbbb7754bd4ed71704a2a2c&lt;/p&gt;</comment>
                            <comment id="258130" author="pjones" created="Tue, 12 Nov 2019 06:33:58 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="59797">LU-13733</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="59312">LU-13597</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|i00kqf:</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>