<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:09:47 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-14442] lctl get_param &apos;-w&apos; option to dump only tunable parameters</title>
                <link>https://jira.whamcloud.com/browse/LU-14442</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;For debugging system performance (eg. IO500) it is desirable to have an easy way to collect all of the Lustre tuning parameters for each run. Since &quot;&lt;tt&gt;lctl get_param&lt;/tt&gt;&quot; lists both statistics &lt;b&gt;and&lt;/b&gt; tunable parameters, just doing &quot;&lt;tt&gt;lctl get_param -R &apos;&amp;#42;&apos;&lt;/tt&gt;&quot; dumps far too much information to be useful.&lt;/p&gt;

&lt;p&gt;Running &quot;&lt;tt&gt;lctl list_param -RF &apos;&amp;#42;&apos; | grep &apos;=&apos;&lt;/tt&gt;&quot; will list all of the &lt;em&gt;writable&lt;/em&gt; parameters, but unfortunately many of the statistics files are writable so that the statistics can be reset. Most of the statistics parameters have &quot;&lt;tt&gt;stats&lt;/tt&gt;&quot; in the name. The symlinks from &lt;tt&gt;lov/target_obds/&lt;/tt&gt; and &lt;tt&gt;lmv/target_obds/&lt;/tt&gt; to the osc and mdc devices are redundant and should be skipped.  There are also a few parameters that are write-only that should be skipped, but there is no easy way to tell this externally.&lt;/p&gt;

&lt;p&gt;Something equivalent to the following command that lists only read+writable parameters, and exclude some, is close to providing the proper list of tunable parameters:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;lctl list_param -RF &apos;*&apos; | grep = | tr -d &apos;=&apos; |
    egrep -v &quot;console|debug_|fail_|force|import|\&amp;lt;nis\&amp;gt;|panic_|peers|sepol|stats|target_obd&quot; |
    sed -e &apos;s/OST[0-9]*/OST*/&apos; -e &apos;s/MDT[0-9]*/MDT*/&apos; -e &quot;s/$(lfs getname  -i)/*/&quot; | sort -u
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Having something like &quot;&lt;tt&gt;dshbak&lt;/tt&gt;&quot; or &quot;&lt;tt&gt;bash_completion&lt;/tt&gt;&quot; to collapse common parameters with a &apos;&lt;tt&gt;&amp;#42;&lt;/tt&gt;&apos; would both make the output more compact and easier to read, and make it clear if there are some osc/mdc devices that are tuned differently, whether on purpose or accidentally.&lt;/p&gt;</description>
                <environment></environment>
        <key id="62924">LU-14442</key>
            <summary>lctl get_param &apos;-w&apos; option to dump only tunable parameters</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="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>
                            <label>easy</label>
                            <label>lad23dd</label>
                    </labels>
                <created>Wed, 17 Feb 2021 17:27:12 +0000</created>
                <updated>Thu, 18 Jan 2024 18:47:32 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="63691">LU-14590</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="78645">LU-17237</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="79943">LU-17416</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|i01mw7:</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>