<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:25 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>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[OPNFLWPLUG-802] Cbench test - ODL throughput drops by increasing the number of switches</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-802</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;ODL version: Beryllium-SR2&lt;br/&gt;
Benchmarking Tool: Cbench&lt;/p&gt;

&lt;p&gt;I conducted a throughput test using cbench on ODL and ONOS. I noticed there&apos;s a huge gap between the numbers that I get from these two controllers. (ONOS throughout is almost x10 and latency is almost x2 better than ODL overall)&lt;/p&gt;

&lt;p&gt;When scaling up the number of switches from 1 to 8 throughout gets better (the maximum observed throughput is with 8 switches). However, throughput drops when increasing the number of switches more than 8.&lt;/p&gt;

&lt;p&gt;Following above observation I figured ONOS and ODL using the same I/O plugin library (Netty) and even ODL uses a newer version. Using more CPU threads, assign more memory, and tweaking Java heap size does not change the numbers that much (Less than 5%)&lt;/p&gt;

&lt;p&gt;Considering the fact these two controllers using the same I/O plugin (which is being tested in cbench throughput test), and allocating more resources to ODL does not help to improve the performance, I&apos;m suspecting maybe there&apos;s a bug in ODL code.&lt;/p&gt;


&lt;p&gt;Cheers,&lt;br/&gt;
Mohamad&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28070">OPNFLWPLUG-802</key>
            <summary>Cbench test - ODL throughput drops by increasing the number of switches</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/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="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="ecelgp">Luis Gomez</assignee>
                                    <reporter username="mohamad.drnn@gmail.com">Mohamad Darianian</reporter>
                        <labels>
                    </labels>
                <created>Tue, 18 Oct 2016 18:09:49 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:56 +0000</updated>
                            <resolved>Mon, 16 Oct 2017 18:10:15 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="58473" author="mohamad.drnn@gmail.com" created="Tue, 18 Oct 2016 18:09:49 +0000"  >&lt;p&gt;Attachment Yourkit Java Profiler Error (When Profiling ODL).txt has been added with description: Java profiler error in TP test&lt;/p&gt;</comment>
                            <comment id="58474" author="mohamad.drnn@gmail.com" created="Tue, 18 Oct 2016 19:45:13 +0000"  >&lt;p&gt;Attachment Installed features of TP test.txt has been added with description: ODL installed features for the throughput test&lt;/p&gt;</comment>
                            <comment id="58475" author="mohamad.drnn@gmail.com" created="Tue, 18 Oct 2016 19:49:44 +0000"  >&lt;p&gt;Attachment Cbench Used Commands.txt has been added with description: Cbench commands&lt;/p&gt;</comment>
                            <comment id="58470" author="ecelgp" created="Thu, 20 Oct 2016 21:33:24 +0000"  >&lt;p&gt;Thanks Mohamad, I will take a deeper look at cbench test next week when I am done with longevity and scalability test refactor.&lt;/p&gt;</comment>
                            <comment id="58471" author="ecelgp" created="Mon, 16 Oct 2017 18:08:45 +0000"  >&lt;p&gt;This was never updated in the bug but there was a mail thread:&lt;/p&gt;


&lt;p&gt;--------------------------------------------------------------------------------------&lt;/p&gt;

&lt;p&gt;I recently did some cbench test with 16 switches in my laptop and ONOS Goldeneye was ~50% faster (60K vs 40K) than ODL Beryllium, however ODL Boron was ~50% faster (~90K) than ONOS.&lt;/p&gt;

&lt;p&gt;I used this command: cbench -c 192.168.0.1 -t -m 12000 -M 100 -l 5 -s 16 -D 5000&lt;/p&gt;

&lt;p&gt;Of course other cbench options (more switches, etc..) could throw other numbers, that is why I am asking Mohamad to post the cbench commands.&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;

&lt;p&gt;See More from Abhijit Kumbhare&lt;/p&gt;

&lt;p&gt;&#8203;&lt;/p&gt;

&lt;p&gt;See More from Abhijit Kumbhare&lt;/p&gt;



&lt;p&gt;I was wondering to ask is there any conclusion and/or report to explain the cbench limitation(s) for ODL performance evaluation? In essence I&apos;m trying to understand regardless of limitation(s) of stress testing tools (cbench, MT-cbench, etc) why ODL throughput is not that good (comparing to other controllers) and it drops drastically with increasing the number of switches?&lt;br/&gt;
I would be grateful if you could shed some light on these ambiguities.&lt;br/&gt;
&#8203;&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br/&gt;
Mohamad&#8203;&lt;/p&gt;




&lt;p&gt;On Fri, Sep 30, 2016 at 3:00 PM, Luis Gomez &amp;lt;ecelgp@gmail.com&amp;gt; wrote:&lt;br/&gt;
Hi Mohamad,&lt;/p&gt;

&lt;p&gt;We use cbench test in ODL just to detect perf regression, but not to get controller numbers because of cbench multiple limitations. Please check this report using other tools like MT-Cbench and Multinet:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://raw.githubusercontent.com/wiki/intracom-telecom-sdn/nstat/files/ODL_performance_report_v1.2.pdf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://raw.githubusercontent.com/wiki/intracom-telecom-sdn/nstat/files/ODL_performance_report_v1.2.pdf&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also please let me know if the results of this report match your observation.&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;

&lt;p&gt;On Sep 30, 2016, at 9:57 AM, Mohamad Darianian &amp;lt;mohamad.drnn@gmail.com&amp;gt; wrote:&lt;/p&gt;

&lt;p&gt;Hi Luis,&lt;/p&gt;

&lt;p&gt;Hope all is well. We (me and my colleague) posted in ODL mailing lists regarding ODL performance issue (more specifically its throughput) a while ago, but, didn&apos;t get any helpful feedback. Here (&lt;a href=&quot;https://lists.opendaylight.org/pipermail/opendaylight-users/2016-September/000656.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/opendaylight-users/2016-September/000656.html&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;I saw you&apos;re very active in the mailing lists and also bugs.opendaylight. Hence, I thought to drop you a line and see if you know the solution to fix this issue or the reason behind ODL&apos;s poor performance when increasing number of switches. Also this issue has been highlighted in a few studies before. The version that we are using is Beryllium-SR2.&lt;/p&gt;

&lt;p&gt;I would greatly appreciate your help. Thank you!&lt;/p&gt;


&lt;p&gt;Cheers,&lt;/p&gt;


&lt;p&gt;Mohamad Darianian&lt;br/&gt;
Sr. Network/Security Engineer&lt;/p&gt;

&lt;p&gt;--------------------------------------------------------------------------------------&lt;/p&gt;</comment>
                            <comment id="58472" author="ecelgp" created="Mon, 16 Oct 2017 18:10:15 +0000"  >&lt;p&gt;I think we can close this as Boron release showed good numbers.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="14094" name="Cbench Used Commands.txt" size="234" author="mohamad.drnn@gmail.com" created="Tue, 18 Oct 2016 19:49:44 +0000"/>
                            <attachment id="14093" name="Installed features of TP test.txt" size="8937" author="mohamad.drnn@gmail.com" created="Tue, 18 Oct 2016 19:45:13 +0000"/>
                            <attachment id="14092" name="Yourkit Java Profiler Error (When Profiling ODL).txt" size="1363" author="mohamad.drnn@gmail.com" created="Tue, 18 Oct 2016 18:09:49 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6983</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=6983]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i033ef:</customfieldvalue>

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