<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:01:26 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-6580] Poor read performance with many ptlrpcd threads on the client</title>
                <link>https://jira.whamcloud.com/browse/LU-6580</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;With Lustre 2.7.0, we have noticed a very bad impact of the number of ptlrpcd threads on the client over the data read performance.&lt;br/&gt;
If the number of ptlrpcd threads on the client is set to its default value which is the number of cores, then we have a drop in performance of almost 20%, compared to the case where we reduce the number of ptlrpcd threads to 1/3 of the number of cores.&lt;/p&gt;

&lt;p&gt;For instance see the results attached to this ticket. We use IOR with 24 tasks on a Lustre client node with 24 cores and one Infiniband FDR interface.&lt;/p&gt;

&lt;p&gt;What can explain this phenomenon in Lustre 2.7.0, as we do not see it with Lustre 2.5 and 2.6?&lt;br/&gt;
Do you consider this is a bug, or a behavior change due to some modifications in Lustre 2.7 code (in that case we would like to learn more about)?&lt;/p&gt;

&lt;p&gt;Thanks in advance,&lt;br/&gt;
Sebastien.&lt;/p&gt;</description>
                <environment></environment>
        <key id="29906">LU-6580</key>
            <summary>Poor read performance with many ptlrpcd threads on the client</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="3">Duplicate</resolution>
                                        <assignee username="dmiter">Dmitry Eremin</assignee>
                                    <reporter username="sebastien.buisson">Sebastien Buisson</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 May 2015 14:57:31 +0000</created>
                <updated>Wed, 13 Oct 2021 03:07:18 +0000</updated>
                            <resolved>Wed, 13 Oct 2021 03:07:18 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="114609" author="adilger" created="Thu, 7 May 2015 17:17:05 +0000"  >&lt;p&gt;Can you please take a look at the patch in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6325&quot; title=&quot;CPT bound ptlrpcd&amp;#39;s are unimplemented&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6325&quot;&gt;&lt;del&gt;LU-6325&lt;/del&gt;&lt;/a&gt;, which improves the NUMA affinity of the ptlrpcd threads?&lt;/p&gt;

&lt;p&gt;That doesn&apos;t explain why there is a regression in 2.7.0, which still needs to be looked into, but may help fix the problem. &lt;/p&gt;</comment>
                            <comment id="115679" author="sebastien.buisson" created="Mon, 18 May 2015 15:16:29 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I gave a try to patch from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6325&quot; title=&quot;CPT bound ptlrpcd&amp;#39;s are unimplemented&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6325&quot;&gt;&lt;del&gt;LU-6325&lt;/del&gt;&lt;/a&gt; at &lt;a href=&quot;http://review.whamcloud.com/13972&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13972&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I can see two interesting phenomena:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;when not restricting ptlrpcd threads to specific cpts, the write performance is good and stable, whatever the number of ptlrpcd threads. But the read performance is very low, lower than without the patch. See graph ior_24tasks_lu6325_allcpt.png.&lt;/li&gt;
	&lt;li&gt;when restricting ptlrpcd threads to the cpt local to the network adapter, the write performance slightly decreases, but the read performance is much better, and does not drop when I increase the number of ptlrpcd threads. See ior_24tasks_lu6325_cpt0.png.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;These results are obtained with &apos;ptlrpcd_partner_group_size=1&apos;, because using the default value (2) gives slightly lower performance.&lt;/p&gt;

&lt;p&gt;So the ability to restrict ptlrpcd threads to a specific cpt (thanks to patch &lt;a href=&quot;http://review.whamcloud.com/13972&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13972&lt;/a&gt;) is very helpful. But this brings a new question: why read performance is so poor when putting ptlrpcd threads on all cpts?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Sebastien.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="28948">LU-6325</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="17679" name="ior_24tasks.png" size="47954" author="sebastien.buisson" created="Thu, 7 May 2015 14:57:31 +0000"/>
                            <attachment id="17816" name="ior_24tasks_lu6325_allcpt.png" size="40928" author="sebastien.buisson" created="Mon, 18 May 2015 15:16:29 +0000"/>
                            <attachment id="17815" name="ior_24tasks_lu6325_cpt0.png" size="42193" author="sebastien.buisson" created="Mon, 18 May 2015 15:16:29 +0000"/>
                    </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_10490" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 17 Jul 2015 14:57:31 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxcqv:</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>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10493" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 7 May 2015 14:57:31 +0000</customfieldvalue>

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