<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55:52 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-1569] B and C: ds benchmark unstable for READ and DELETE operation in 3node cluster</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1569</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;1node ds benchmark jobs dont show unstability&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-1node-periodic-benchmark-all-boron/plot/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-1node-periodic-benchmark-all-boron/plot/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-1node-periodic-benchmark-all-carbon/plot/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-1node-periodic-benchmark-all-carbon/plot/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-1node-periodic-benchmark-only-boron/plot/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-1node-periodic-benchmark-only-boron/plot/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-1node-periodic-benchmark-only-carbon/plot/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-1node-periodic-benchmark-only-carbon/plot/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and all operations (READ,PUT,MERGE,DELETE) preforms stable according to the long term thrends&lt;/p&gt;


&lt;p&gt;3node ds benchmark jobs show that PUT and MERGE preform stable, but READ and DELETE dont&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-3node-periodic-benchmark-all-boron/plot/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-3node-periodic-benchmark-all-boron/plot/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-3node-periodic-benchmark-all-carbon/plot/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-3node-periodic-benchmark-all-carbon/plot/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-3node-periodic-benchmark-only-boron/plot/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-3node-periodic-benchmark-only-boron/plot/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-3node-periodic-benchmark-only-carbon/plot/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-3node-periodic-benchmark-only-carbon/plot/&lt;/a&gt;&lt;/p&gt;



&lt;p&gt;Having a closer look at e.g.&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-3node-periodic-benchmark-only-carbon/plot/getPlot?index=1&amp;amp;width=750&amp;amp;height=1000&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-3node-periodic-benchmark-only-carbon/plot/getPlot?index=1&amp;amp;width=750&amp;amp;height=1000&lt;/a&gt;&lt;br/&gt;
shows that ds benchmark with FOL_(running on a follower node) prefix are not that stable&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26123">CONTROLLER-1569</key>
            <summary>B and C: ds benchmark unstable for READ and DELETE operation in 3node cluster</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="rovarga">Robert Varga</assignee>
                                    <reporter username="pgubka@cisco.com">Peter Gubka</reporter>
                        <labels>
                    </labels>
                <created>Thu, 15 Dec 2016 13:28:08 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:16 +0000</updated>
                            <resolved>Mon, 8 May 2017 13:07:07 +0000</resolved>
                                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="51632" author="pgubka@cisco.com" created="Thu, 15 Dec 2016 13:37:40 +0000"  >&lt;p&gt;in the past i wrote an email for this problem too&lt;br/&gt;
&lt;a href=&quot;https://www.mail-archive.com/controller-dev@lists.opendaylight.org/msg00461.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mail-archive.com/controller-dev@lists.opendaylight.org/msg00461.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="51633" author="rovarga" created="Thu, 2 Feb 2017 01:04:17 +0000"  >&lt;p&gt;Interesting fluctuations. It looks like we have a battle between leader and follower, visible from:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-3node-periodic-benchmark-only-carbon/plot/getPlot?index=4&amp;amp;width=1750&amp;amp;height=1450&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-3node-periodic-benchmark-only-carbon/plot/getPlot?index=4&amp;amp;width=1750&amp;amp;height=1450&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note green median (CONFIG) and the wide disconnect between blue and purple set of lines. I think their average is slightly above the config line.&lt;/p&gt;

&lt;p&gt;Is it possible that &apos;follower&apos; and &apos;leader&apos; are really talking to the shard leader?&lt;/p&gt;

&lt;p&gt;Also, could we get the Y-axis show operations per millisecond, i.e. 100K ops in 200ms == 500ops/ms?&lt;/p&gt;

&lt;p&gt;I think this needs some profiling to understand what is going on.&lt;/p&gt;</comment>
                            <comment id="51634" author="pgubka@cisco.com" created="Tue, 7 Mar 2017 11:57:51 +0000"  >&lt;p&gt;(In reply to Robert Varga from comment #2)&lt;br/&gt;
&amp;gt; Interesting fluctuations. It looks like we have a battle between leader and&lt;br/&gt;
&amp;gt; follower, visible from:&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/controller/job/controller-csit-&lt;/a&gt;&lt;br/&gt;
&amp;gt; 3node-periodic-benchmark-only-carbon/plot/&lt;br/&gt;
&amp;gt; getPlot?index=4&amp;amp;width=1750&amp;amp;height=1450&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Note green median (CONFIG) and the wide disconnect between blue and purple&lt;br/&gt;
&amp;gt; set of lines. I think their average is slightly above the config line.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Is it possible that &apos;follower&apos; and &apos;leader&apos; are really talking to the shard&lt;br/&gt;
&amp;gt; leader?&lt;/p&gt;

&lt;p&gt;From the log.html it can be seen that before the python bechmarch script starts, the robot iterates over all 3 nodes and gets information about the shard (e.g. from jolokia/read/org.opendaylight.controller:Category=Shards,name=member-1-shard-default-config,type=DistributedConfigDatastore)&lt;br/&gt;
Then runs the python script against the leader&apos;s or follower&apos;s ip address. There is no check during the test about the leader movement.&lt;/p&gt;

&lt;p&gt;&amp;gt; &lt;br/&gt;
&amp;gt; Also, could we get the Y-axis show operations per millisecond, i.e. 100K ops&lt;br/&gt;
&amp;gt; in 200ms == 500ops/ms?&lt;/p&gt;

&lt;p&gt;Is this a request to modify the job? In this case we will either loose history and present graphs or the lines will be plotted in present graphs, but it can be very ugly.&lt;/p&gt;

&lt;p&gt;As csv files are stored for every jenkins run, i can create a post-processing script (if really needed) which will recount/create new csv files with new Y-axis values. It will be run locally and graphs will have to be also created somehow locally.&lt;/p&gt;

&lt;p&gt;&amp;gt; &lt;br/&gt;
&amp;gt; I think this needs some profiling to understand what is going on.&lt;/p&gt;</comment>
                            <comment id="51641" author="pgubka@cisco.com" created="Wed, 29 Mar 2017 13:32:12 +0000"  >&lt;p&gt;Attachment b211_odl3.log has been added with description: Measure_Leader_Operational_Txchain_Read log from #211&lt;/p&gt;</comment>
                            <comment id="51642" author="pgubka@cisco.com" created="Wed, 29 Mar 2017 13:32:37 +0000"  >&lt;p&gt;Attachment b212_odl1.log has been added with description: Measure_Leader_Operational_Txchain_Read log from #212&lt;/p&gt;</comment>
                            <comment id="51635" author="pgubka@cisco.com" created="Wed, 29 Mar 2017 13:32:48 +0000"  >&lt;p&gt;Since the build #210 the job is back to the blue dot.&lt;/p&gt;

&lt;p&gt;Now we have 3 builds with blue dots.&lt;br/&gt;
&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-periodic-benchmark-only-carbon/210/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-periodic-benchmark-only-carbon/210/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-periodic-benchmark-only-carbon/211/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-periodic-benchmark-only-carbon/211/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-periodic-benchmark-only-carbon/212/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-periodic-benchmark-only-carbon/212/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The robot&apos;s log.html details shows that each test case lasts 3-6 minutes. There are exceptions for the READ tests which either lasts usual time or the last up to 35 minuts.&lt;/p&gt;

&lt;p&gt;It does not affect follower&apos;s tests only. &lt;/p&gt;

&lt;p&gt;E.g. test case duration of &lt;/p&gt;

&lt;p&gt;Measure_Leader_Operational_Txchain_Read&lt;br/&gt;
#210 32:52&lt;br/&gt;
#211  2:51&lt;br/&gt;
#212 30:11&lt;/p&gt;

&lt;p&gt;Measure_Follower_Operational_Simpletx_Read&lt;br/&gt;
#211 35:32&lt;br/&gt;
#212  5:00&lt;/p&gt;



&lt;p&gt;Checking logs on leaders for Measure_Leader_Operational_Txchain_Read i fount that a good tc from #211 did not contain any messages like FrontendClientMetadataBuilder    | 206 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | Unknown history for aborted transaction member-1-datastore-config-fe-0-txn-127-0, ignoring&lt;/p&gt;

&lt;p&gt;Logs attached.&lt;/p&gt;</comment>
                            <comment id="51636" author="tpantelis" created="Thu, 30 Mar 2017 08:30:57 +0000"  >&lt;p&gt;I&apos;m not familiar with the tests you&apos;re running but if the test times are fluctuating on jenkins runs perhaps it&apos;s due to instability in the upstream build environment. I would suggest you run the tests multiple times on local systems and compare.&lt;/p&gt;</comment>
                            <comment id="51637" author="pgubka@cisco.com" created="Thu, 30 Mar 2017 12:06:06 +0000"  >&lt;p&gt;(In reply to Tom Pantelis from comment #7)&lt;br/&gt;
&amp;gt; I&apos;m not familiar with the tests you&apos;re running but if the test times are&lt;br/&gt;
&amp;gt; fluctuating on jenkins runs perhaps it&apos;s due to instability in the upstream&lt;br/&gt;
&amp;gt; build environment. I would suggest you run the tests multiple times on local&lt;br/&gt;
&amp;gt; systems and compare.&lt;/p&gt;

&lt;p&gt;Only READ tests have problem. PUT, MERGE and DELETE look ok. I would prefer some hints how to debug the READ problem than reproducing all tests locally.&lt;/p&gt;</comment>
                            <comment id="51638" author="tpantelis" created="Thu, 30 Mar 2017 21:16:12 +0000"  >&lt;p&gt;Perhaps the reads are being performed remotely when they&apos;re intended to be local or the node that is selected could be either a follower or a leader? Remote reads from a follower will be significantly slower than a local read. Also the size of the data could be significant for remote reads as it needs to ser/des and transport it over the wire. Remote reads are largely dependent on the speed of the network.&lt;/p&gt;

&lt;p&gt;(In reply to Peter Gubka from comment #8)&lt;br/&gt;
&amp;gt; (In reply to Tom Pantelis from comment #7)&lt;br/&gt;
&amp;gt; &amp;gt; I&apos;m not familiar with the tests you&apos;re running but if the test times are&lt;br/&gt;
&amp;gt; &amp;gt; fluctuating on jenkins runs perhaps it&apos;s due to instability in the upstream&lt;br/&gt;
&amp;gt; &amp;gt; build environment. I would suggest you run the tests multiple times on local&lt;br/&gt;
&amp;gt; &amp;gt; systems and compare.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Only READ tests have problem. PUT, MERGE and DELETE look ok. I would prefer&lt;br/&gt;
&amp;gt; some hints how to debug the READ problem than reproducing all tests locally.&lt;/p&gt;</comment>
                            <comment id="51639" author="pgubka@cisco.com" created="Wed, 19 Apr 2017 11:34:37 +0000"  >&lt;p&gt;Checking &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-periodic-benchmark-only-carbon/229/archives/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-periodic-benchmark-only-carbon/229/archives/&lt;/a&gt;&lt;br/&gt;
there was no leader change during the test.  All changes are done before suite starts. Same for jobs #225 and #226.&lt;/p&gt;</comment>
                            <comment id="51640" author="rovarga" created="Wed, 26 Apr 2017 18:00:40 +0000"  >&lt;p&gt;I have audited dsbenchmark and the fact is that its results with operational store are irrelevant due to inconsistencies in setup (which writes into operational) and actual execution (which is hard-wired to CONFIG).&lt;/p&gt;

&lt;p&gt;carbon: &lt;a href=&quot;https://git.opendaylight.org/gerrit/56108&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/56108&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We&apos;ll need to see what the results will look like.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13598" name="b211_odl3.log" size="132052" author="pgubka@cisco.com" created="Wed, 29 Mar 2017 13:32:12 +0000"/>
                            <attachment id="13599" name="b212_odl1.log" size="169121" author="pgubka@cisco.com" created="Wed, 29 Mar 2017 13:32:37 +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>7390</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=7390]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

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

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