<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:53:02 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-5615] Lustre 2.5.2 with CGROUP</title>
                <link>https://jira.whamcloud.com/browse/LU-5615</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Dear Team,&lt;/p&gt;

&lt;p&gt;We are trying to setup CGROUP in our lustre environment.&lt;br/&gt;
In our setup lustre&lt;br/&gt;
MDT&lt;br/&gt;
OST&lt;/p&gt;

&lt;p&gt;Please share the guidance or simple setup example of cgroup with lustre .&lt;/p&gt;

&lt;p&gt;Thank You&lt;br/&gt;
Atul Yadav&lt;/p&gt;
</description>
                <environment>Lustre 2.5.2 CentOS 6.5 CGROUP</environment>
        <key id="26511">LU-5615</key>
            <summary>Lustre 2.5.2 with CGROUP</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="10200">Won&apos;t Do</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="atulyadavtech">Atul Yadav</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Sep 2014 09:59:47 +0000</created>
                <updated>Sat, 9 Oct 2021 06:32:47 +0000</updated>
                            <resolved>Sat, 9 Oct 2021 06:32:47 +0000</resolved>
                                    <version>Lustre 2.5.2</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="93849" author="rhenwood" created="Fri, 12 Sep 2014 15:42:16 +0000"  >&lt;p&gt;Hi Atul,&lt;/p&gt;

&lt;p&gt;Cgroups allow you to allocate resources&#8212;such as CPU time, system memory, network bandwidth, or combinations of these resources&#8212;among user-defined groups of tasks (processes) running on a system &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;. Given there is wide scope of Cgroups, please provide a use case for your setup to focus the discussion.&lt;/p&gt;

&lt;p&gt;thanks,&lt;br/&gt;
Richard&lt;/p&gt;

&lt;p&gt;1. &lt;a href=&quot;https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/ch01.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/ch01.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="93963" author="atulyadavtech" created="Mon, 15 Sep 2014 10:38:46 +0000"  >&lt;p&gt;Dear Team,&lt;/p&gt;

&lt;p&gt;Thanks for the info.&lt;br/&gt;
But after going through document, we came to know cgroup require pid to bind with cpu.&lt;/p&gt;

&lt;p&gt;In lustre we are unable to locate the PID.&lt;/p&gt;

&lt;p&gt;Please guide us to identify the PID for the lustre service.&lt;/p&gt;

&lt;p&gt;Thank you&lt;br/&gt;
Atul Yadav&lt;/p&gt;</comment>
                            <comment id="93977" author="rhenwood" created="Mon, 15 Sep 2014 15:09:37 +0000"  >&lt;p&gt;Hi Atul,&lt;/p&gt;

&lt;p&gt;To get an idea of the different threads that Lustre employs, I suggest searching the Operations Manual for &apos;thread&apos;:&lt;br/&gt;
&lt;a href=&quot;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You will see that Lustre uses multiple threads across multiple machines. Identifying the PID of the Lustre service is therefore different depending on which machine you are on.&lt;/p&gt;

&lt;p&gt;I suggest it will be more helpful for you to describe the system behaviour intending to satisfy by using cgroups. i.e. why are you looking into cgroups on Lustre?&lt;/p&gt;

&lt;p&gt;best regards,&lt;br/&gt;
Richard&lt;/p&gt;</comment>
                            <comment id="93987" author="atulyadavtech" created="Mon, 15 Sep 2014 16:06:30 +0000"  >&lt;p&gt;Dear Team,&lt;/p&gt;

&lt;p&gt;We want to configure cgroup in such a way that mds and oss services should run on cpu0 and cpu1 exclusively&lt;br/&gt;
For that we want to identify MDS and OSS service.&lt;/p&gt;

&lt;p&gt;Please guide to complete this activity .&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Atul Yadav&lt;/p&gt;</comment>
                            <comment id="94006" author="rread" created="Mon, 15 Sep 2014 17:18:02 +0000"  >&lt;p&gt;There is no PID for an  &quot;MDS&quot;  or  &quot;OSS&quot; service because all Lustre services are running in the kernel.  As Richard pointed out, there are numerous kernel threads that implement aspects of the services, and we also have some support for binding some service threads to specific CPUs (&lt;a href=&quot;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#dbdoclet.mdsbinding&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#dbdoclet.mdsbinding&lt;/a&gt;), though that is primarily to optimize rpc handling and not for isolation.  I believe the only way to isolate multiple Lustre services on a single physical node is to run  them in virtual machines. &lt;/p&gt;</comment>
                            <comment id="94130" author="atulyadavtech" created="Tue, 16 Sep 2014 06:59:24 +0000"  >&lt;p&gt;Dear Team,&lt;/p&gt;

&lt;p&gt;Thanks for the information and guidance.&lt;br/&gt;
But Were we can set &quot;mds_num_cpt&quot; for binding the CPU0 with MDS.&lt;/p&gt;

&lt;p&gt;Thank You&lt;br/&gt;
Atul Yadav&lt;/p&gt;</comment>
                            <comment id="94153" author="rhenwood" created="Tue, 16 Sep 2014 14:55:30 +0000"  >&lt;p&gt;I believe the section you need on configuring thread counts is immediately above in the Operations Manual:&lt;br/&gt;
&lt;a href=&quot;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#dbdoclet.mdstuning&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#dbdoclet.mdstuning&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please share your experiences.&lt;br/&gt;
best regards,&lt;br/&gt;
Richard&lt;/p&gt;</comment>
                            <comment id="94154" author="atulyadavtech" created="Tue, 16 Sep 2014 15:25:28 +0000"  >&lt;p&gt;Dear Admin,&lt;/p&gt;

&lt;p&gt;As per the info we added parameter under module file:&lt;br/&gt;
options lnet networks=tcp0(eth0)&lt;br/&gt;
options mdt mdt_num_cpts=&lt;span class=&quot;error&quot;&gt;&amp;#91;0-1&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;But when we load the lustre module, our mdt parameter is not coming like lnet we are getting.&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@io1 ~&amp;#93;&lt;/span&gt;# modprobe -v lustre&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/net/lustre/libcfs.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/lvfs.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/net/lustre/lnet.ko networks=tcp0(eth0)&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/obdclass.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/ptlrpc.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/fld.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/fid.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/mdc.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/osc.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/lov.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/lustre.ko&lt;/p&gt;


&lt;p&gt;Please guide us.&lt;/p&gt;

&lt;p&gt;Thank YOu&lt;br/&gt;
Atul Yadav&lt;/p&gt;</comment>
                            <comment id="94172" author="rhenwood" created="Tue, 16 Sep 2014 17:59:54 +0000"  >&lt;p&gt;in the documentation, the example given is::&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;options mds ...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;can you repeat, this time using &apos;mds&apos; instead of &apos;mdt&apos;?&lt;/p&gt;</comment>
                            <comment id="94208" author="atulyadavtech" created="Wed, 17 Sep 2014 02:15:51 +0000"  >&lt;p&gt;Dear Admin,&lt;/p&gt;

&lt;p&gt;Still same output, after changing &quot;mdt&quot; to &quot;mds&quot; .&lt;/p&gt;

&lt;p&gt;Thank You&lt;br/&gt;
Atul Yadav&lt;/p&gt;</comment>
                            <comment id="94215" author="atulyadavtech" created="Wed, 17 Sep 2014 05:50:28 +0000"  >&lt;p&gt;Dear team,&lt;/p&gt;

&lt;p&gt;Thanks now its working fine .....&lt;/p&gt;

&lt;p&gt;We will check and update you.&lt;/p&gt;

&lt;p&gt;Thank You&lt;br/&gt;
Atul Yadav&lt;/p&gt;</comment>
                            <comment id="94217" author="atulyadavtech" created="Wed, 17 Sep 2014 06:05:18 +0000"  >&lt;p&gt;Dear Team,&lt;/p&gt;

&lt;p&gt;The output of the commands are given below:-&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@IO1 ~&amp;#93;&lt;/span&gt;# modprobe -v mdt&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/net/lustre/libcfs.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/lvfs.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/net/lustre/lnet.ko networks=tcp0(em1),o2ib0(ib0),o2ib1(ib1)  forwarding=&quot;enabled&quot;&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/obdclass.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/ptlrpc.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/lquota.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/fld.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/fid.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/mdt.ko mds_num_cpts=&quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;0-3&amp;#93;&lt;/span&gt;&quot;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@IO1 ~&amp;#93;&lt;/span&gt;# modprobe -v lustre&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/mdc.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/osc.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/lov.ko&lt;br/&gt;
insmod /lib/modules/2.6.32-431.17.1.el6_lustre.x86_64/extra/kernel/fs/lustre/lustre.ko&lt;/p&gt;


&lt;p&gt;Thank You&lt;br/&gt;
Atul Yadav&lt;/p&gt;</comment>
                            <comment id="94233" author="rhenwood" created="Wed, 17 Sep 2014 14:28:08 +0000"  >&lt;p&gt;Thanks for working through this. I have couple of requests:&lt;/p&gt;

&lt;p&gt;1. Please share your progress and any learnings.&lt;/p&gt;

&lt;p&gt;2. Your work has identified an error in the manual. I have corrected this error. Can you please review my proposed change here:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/11938/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/11938/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <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|hzww3z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>15706</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>