<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:42:15 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>[LUDOC-354] cpu partitions missing lots of information and examples</title>
                <link>https://jira.whamcloud.com/browse/LUDOC-354</link>
                <project id="10070" key="LUDOC">Lustre Documentation</project>
                    <description>&lt;p&gt;In seciton 26.4. &quot;libcfs Tuning&quot; there is mention of the way CPU partitions (CPT) are made, but no examples how they are used. For example, for cpu_patterns, you would use:&lt;/p&gt;

&lt;p&gt;   options libcfs cpu_pattern=&quot;0&lt;span class=&quot;error&quot;&gt;&amp;#91;0-17&amp;#93;&lt;/span&gt; 1&lt;span class=&quot;error&quot;&gt;&amp;#91;18-36&amp;#93;&lt;/span&gt;&quot;&lt;/p&gt;

&lt;p&gt;to define it. There is nothing that shows what to do with it once it is defined. There are several ways to use CPU partitions.. I discovered these from a LAD 2012 presentation:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.eofs.eu/_media/events/lad12/09_gregoire_pichon_bull_lustre_smp_scalability.pdf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.eofs.eu/_media/events/lad12/09_gregoire_pichon_bull_lustre_smp_scalability.pdf&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The tuneable that can use the CPT&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;MDS threads : mds_num_cpts, mds_rdpg_num_cpts, mds_attr_num_cpts&lt;/li&gt;
	&lt;li&gt;OSS threads : oss_cpts, oss_io_cpts&lt;/li&gt;
	&lt;li&gt;ldlm threads : ldlm_cpts&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This, and if there are other, should be documented in the manual.&lt;/p&gt;

&lt;p&gt;You can also tie an interface to a CPT by adding a &quot;&lt;a href=&quot;#&amp;gt;&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;&amp;lt;CPU partition #&amp;gt;&lt;/a&gt;&quot;. For example when you define the interface in lustre.conf as  &quot;o2ib0(ib0)&quot; to have this interface use CPT 1, you would use &quot;o2ib0(ib0) [1}&quot;.&lt;/p&gt;

&lt;p&gt;An example lustre.conf would be:&lt;/p&gt;

&lt;p&gt;options libcfs cpu_pattern=&quot;0&lt;span class=&quot;error&quot;&gt;&amp;#91;0-17&amp;#93;&lt;/span&gt; 1&lt;span class=&quot;error&quot;&gt;&amp;#91;18-36&amp;#93;&lt;/span&gt;&quot;&lt;br/&gt;
options lnet networks=&quot;o2ib0(ib0)&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;&quot;&lt;br/&gt;
options ost oss_io_cpts=&quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;&quot; oss_cpts=&quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;&quot;&lt;/p&gt;

&lt;p&gt;assigned 02ib0 to CPT1,  OSS I/O to CPT1 and non-io to CPT1&lt;/p&gt;
</description>
                <environment></environment>
        <key id="39920">LUDOC-354</key>
            <summary>cpu partitions missing lots of information and examples</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="LM-Triage">Lustre Manual Triage</assignee>
                                    <reporter username="ghagensen">Gary Hagensen</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 Sep 2016 20:32:38 +0000</created>
                <updated>Mon, 19 Sep 2016 20:32:38 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                    <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|hzyozr:</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>