<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:12:39 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-14773] reduce run_one() overhead</title>
                <link>https://jira.whamcloud.com/browse/LU-14773</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There could be some simple changes made to reduce individual subtest time and unmount/mount/format times that would help speed up every test session .&lt;/p&gt;

&lt;p&gt;Individual sanity subtests that are not doing more than &quot;touch file; check if file exists&quot; currently take 6-7 seconds because they are doing a &lt;b&gt;lot&lt;/b&gt; of different things in the background in &lt;tt&gt;run_one()&lt;/tt&gt; with multiple &quot;&lt;tt&gt;do_nodes&lt;/tt&gt;&quot; commands:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;reset fail_loc&lt;/li&gt;
	&lt;li&gt;check if the network is working on every node (kind of pointless given that other commands are being run on the nodes before and after this check)&lt;/li&gt;
	&lt;li&gt;check grant correctness&lt;/li&gt;
	&lt;li&gt;check dmesg for VFS inodes busy&lt;/li&gt;
	&lt;li&gt;check for LBUG&lt;/li&gt;
	&lt;li&gt;check for multiop still running&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;When sanity was first written, these subtests took a fraction of a second each (i.e. they would scroll quickly up the screen).  While I think the above checks are useful, the overhead could be reduced.&lt;/p&gt;

&lt;p&gt;I think the large part of this slowness is that each of these checks runs as a separate ssh/mcmd command, to each remote VM in series, and each ssh invocation is relatively slow. &lt;/p&gt;

&lt;p&gt;Speeding up the ssh invocation itself (via &lt;tt&gt;do_facet()/do_node()&lt;/tt&gt;) would of course be desirable, but is not something I can control directly.&lt;/p&gt;

&lt;p&gt;Running the per-node checks in parallel would be a win (e.g. use real &quot;&lt;tt&gt;pdsh&lt;/tt&gt;&quot; or &quot;&lt;tt&gt;clush&lt;/tt&gt;&quot;), as would combining all of the checks into a single command that is run with a single ssh invocation to each node.  The latter is something that can be done directly in test-framework, and is the main target of this ticket.&lt;/p&gt;</description>
                <environment></environment>
        <key id="64782">LU-14773</key>
            <summary>reduce run_one() overhead</summary>
                <type id="3" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11318&amp;avatarType=issuetype">Task</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="wc-triage">WC Triage</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Jun 2021 20:33:35 +0000</created>
                <updated>Sun, 23 Jul 2023 01:20:04 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="304957" author="gerrit" created="Fri, 18 Jun 2021 21:00:59 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/44033&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/44033&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14773&quot; title=&quot;reduce run_one() overhead&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14773&quot;&gt;LU-14773&lt;/a&gt; tests: skip check_network() on working node&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: d085468b6bc06c4bbdfcfbc26afa23d4b752aa64&lt;/p&gt;</comment>
                            <comment id="304958" author="adilger" created="Fri, 18 Jun 2021 21:02:24 +0000"  >&lt;p&gt;Note that the 44033 patch is &lt;b&gt;NOT&lt;/b&gt; the only thing that should be fixed, but is a simple patch that may produce immediate benefits (at a minimum it will avoid a lot of useless visual clutter in the subtest logs from the check_network() output).&lt;/p&gt;</comment>
                            <comment id="304960" author="gerrit" created="Fri, 18 Jun 2021 21:37:25 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/44034&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/44034&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14773&quot; title=&quot;reduce run_one() overhead&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14773&quot;&gt;LU-14773&lt;/a&gt; tests: quiet down some verbose messages&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f23adfd71ee46dfbbf18b8b544ad311c96468fd3&lt;/p&gt;</comment>
                            <comment id="310511" author="gerrit" created="Wed, 18 Aug 2021 01:59:18 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/44033/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/44033/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14773&quot; title=&quot;reduce run_one() overhead&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14773&quot;&gt;LU-14773&lt;/a&gt; tests: skip check_network() on working node&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 67752f6db2c1a7062a73bd6674ee53ad670b392e&lt;/p&gt;</comment>
                            <comment id="311117" author="gerrit" created="Wed, 25 Aug 2021 06:23:00 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/44034/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/44034/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14773&quot; title=&quot;reduce run_one() overhead&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14773&quot;&gt;LU-14773&lt;/a&gt; tests: quiet down some verbose messages&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 86f16910645d9d9cad17c0f53ca1a375121e3f4c&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="64781">LU-14772</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="65630">LU-14936</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|i01x9z:</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>