<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:33 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>[CONTROLLER-653] Cbench throughput mode kills the MD-SAL data store</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-653</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;To reproduce:&lt;/p&gt;

&lt;p&gt;1. Put the drop test feedback to go through the MD-SAL Data Store. From the controller OSGI console, type&lt;br/&gt;
dropAllPackets on&lt;/p&gt;

&lt;p&gt;2. Run cbench in the throughput mode, for example:&lt;/p&gt;

&lt;p&gt;cbench -c 192.168.162.1 -p 6633 -m 10000 -l 10 -s 16 -M 10000 -t&lt;/p&gt;

&lt;p&gt;The throughput is very low (about 2.6% of the latency cbench throughput going through the data store). After the test finishes, the CPU utilization remains very high for several minutes (I had to kill the controller after 5 min, because I ran out of time). This indicates some massive queue buildup in the system.&lt;/p&gt;

&lt;p&gt;I am adding thsi bug to MD-SAL because the throughput mode through RPC loopback is table, and performs very well. It&apos;s the loopback through the data store that knocks out the controller.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: Macintosh&lt;/p&gt;</environment>
        <key id="25207">CONTROLLER-653</key>
            <summary>Cbench throughput mode kills the MD-SAL data store</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="tpantelis">Tom Pantelis</assignee>
                                    <reporter username="jmedved@cisco.com">Jan Medved</reporter>
                        <labels>
                    </labels>
                <created>Tue, 29 Jul 2014 05:42:29 +0000</created>
                <updated>Tue, 16 Sep 2014 13:39:45 +0000</updated>
                            <resolved>Tue, 16 Sep 2014 13:39:45 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>mdsal</component>
                        <due>Thu, 7 Aug 2014 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="48776" author="tpantelis" created="Wed, 30 Jul 2014 16:01:46 +0000"  >&lt;p&gt;It may be the single-threaded datastore commits that are the bottleneck. I&apos;m working on off-loading the notifications with &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=1430&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=1430&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Unfortunately we can&apos;t get any debugging info to see the internal executor/queue stats. It would be nice to have JMX bean wrappers for the internal executors et al so we can view stats via the JConsole. I can look into that.&lt;/p&gt;</comment>
                            <comment id="48777" author="jmedved@cisco.com" created="Wed, 30 Jul 2014 16:28:17 +0000"  >&lt;p&gt;I violently second the request for stats. I&apos;ve asking for whatever MD-SAL stats i can get for over a year now&lt;/p&gt;</comment>
                            <comment id="48778" author="tpantelis" created="Thu, 7 Aug 2014 17:49:14 +0000"  >&lt;p&gt;I&apos;ve prototyped changes to make some stats available via JMX (JConsole).&lt;/p&gt;

&lt;p&gt;Stats for the thread pool executors:&lt;/p&gt;

&lt;p&gt;   activeThreadCount&lt;br/&gt;
   currentThreadPoolSize&lt;br/&gt;
   largestThreadPoolSize&lt;br/&gt;
   maxThreadPoolSize&lt;br/&gt;
   currentQueueSize&lt;br/&gt;
   maxQueueSize&lt;br/&gt;
   completedTaskCount&lt;br/&gt;
   totalTaskCount&lt;/p&gt;

&lt;p&gt;Stats are available for the following executors:&lt;/p&gt;

&lt;p&gt;   Single-threaded commit coordinator&lt;br/&gt;
   Commit Future listener notification&lt;br/&gt;
   Config data store 3-phase commit&lt;br/&gt;
   Config data store DataChangeListener notification&lt;br/&gt;
   Operational data store 3-phase commit&lt;br/&gt;
   Operational data store DataChangeListener notification&lt;/p&gt;

&lt;p&gt;I also added commit stats:&lt;/p&gt;

&lt;p&gt;   totalCommits&lt;br/&gt;
   longestCommitTime&lt;br/&gt;
   shortestCommitTime&lt;br/&gt;
   averageCommitTime&lt;/p&gt;</comment>
                            <comment id="48779" author="tpantelis" created="Wed, 13 Aug 2014 03:12:27 +0000"  >&lt;p&gt;Gerrits for stat work:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/9837/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/9837/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/9797/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/9797/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="48780" author="tpantelis" created="Thu, 11 Sep 2014 16:31:36 +0000"  >&lt;p&gt;I added stats with this bug but it was originally created to address performance issues. There&apos;s been performance fixes since then - do we need to keep this bug open?&lt;/p&gt;</comment>
                            <comment id="48781" author="tpantelis" created="Tue, 16 Sep 2014 13:39:45 +0000"  >&lt;p&gt;There&apos;s been a lot of performance enhancements made upstream since this bug was opened and it appears the IMDS is in pretty good shape. This bug ended up being used to add stats.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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>1446</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=1446]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10365"><![CDATA[Helium-M5]]></customfieldvalue>

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

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