<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:54 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>[NETCONF-390] Netconf performance in cluster is way worse than in single node</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-390</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Single node CSIT result &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; is around 400 requests per second.&lt;br/&gt;
Three node test (device configured through node 1, device data accessed through node 3) result &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; is almost 20 times worse.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/netconf-csit-1node-periodic-scale-all-carbon/219/archives/log.html.gz#s1-s2-t5-k3-k15-k6-k2-k2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/netconf-csit-1node-periodic-scale-all-carbon/219/archives/log.html.gz#s1-s2-t5-k3-k15-k6-k2-k2&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://logs.opendaylight.org/sandbox/jenkins091/netconf-csit-3node-periodic-clustering-scale-all-carbon/1/archives/log.html.gz#s1-s2-t6-k3-k15-k6-k2-k2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/sandbox/jenkins091/netconf-csit-3node-periodic-clustering-scale-all-carbon/1/archives/log.html.gz#s1-s2-t6-k3-k15-k6-k2-k2&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21403">NETCONF-390</key>
            <summary>Netconf performance in cluster is way worse than in single node</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="vrpolak">Vratko Polak</assignee>
                                    <reporter username="vrpolak">Vratko Polak</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 Apr 2017 10:30:54 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:39 +0000</updated>
                            <resolved>Fri, 21 Apr 2017 08:36:40 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="39952" author="miroslav.kovac@pantheon.tech" created="Mon, 10 Apr 2017 08:34:55 +0000"  >&lt;p&gt;Could you pleas rerun sandbox job for 3node clustering&lt;/p&gt;</comment>
                            <comment id="39953" author="vrpolak" created="Mon, 10 Apr 2017 12:17:22 +0000"  >&lt;p&gt;The performance for Carbon &lt;del&gt;all&lt;/del&gt; test is now known &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; to be around 20.48 requests per second. Interestingly, Carbon &lt;del&gt;only&lt;/del&gt; test has slightly worse performance of around 19.26 requests per second, result from Sandbox &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/netconf-csit-3node-periodic-clustering-scale-all-carbon/228/archives/log.html.gz#s1-s2-t6-k3-k15-k6-k2-k2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/netconf-csit-3node-periodic-clustering-scale-all-carbon/228/archives/log.html.gz#s1-s2-t6-k3-k15-k6-k2-k2&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://logs.opendaylight.org/sandbox/jenkins091/netconf-csit-3node-periodic-clustering-scale-only-carbon/1/archives/log.html.gz#s1-s2-t6-k3-k15-k6-k2-k2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/sandbox/jenkins091/netconf-csit-3node-periodic-clustering-scale-only-carbon/1/archives/log.html.gz#s1-s2-t6-k3-k15-k6-k2-k2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="39954" author="tcere" created="Thu, 13 Apr 2017 09:43:58 +0000"  >&lt;p&gt;Is this a comparison between the clustered and non-clustered feature or clustered feature running in single and 3 node scenarios?&lt;/p&gt;</comment>
                            <comment id="39955" author="miroslav.kovac@pantheon.tech" created="Tue, 18 Apr 2017 08:21:41 +0000"  >&lt;p&gt;Could you also send me what parameters are you using for testtool and RestPerfClient, please?&lt;/p&gt;

&lt;p&gt;I am not really sure how you could achieve such a big gap in those tests because when I am testing it localy I get only 2 to 5 requests difference. My performance is 17 to 20 requests for netconf-topology and 15 to 17 requests for netconf-clustered-topology.&lt;/p&gt;

&lt;p&gt;Only time I was able to receive higher amount of requests, was when I was sending requests to mountpoint which was not created and therefore could not write anything. I was just wondering if this can`t be also case of the robot test. Or something similiar.&lt;/p&gt;</comment>
                            <comment id="39956" author="vrpolak" created="Wed, 19 Apr 2017 10:51:11 +0000"  >&lt;p&gt;&amp;gt; Is this a comparison between the clustered and non-clustered feature&lt;/p&gt;

&lt;p&gt;Looking at the job definition: Yes, it is.&lt;br/&gt;
Should the clustered feature be that much slower?&lt;/p&gt;

&lt;p&gt;&amp;gt; what parameters are you using for testtool and RestPerfClient&lt;/p&gt;

&lt;p&gt;Beryllium commands (identical for single node and cluster, except log file name):&lt;br/&gt;
Testtool start &lt;span class=&quot;error&quot;&gt;&amp;#91;4&amp;#93;&lt;/span&gt; (nothing in ./schemas):&lt;br/&gt;
/usr/lib/jvm/java-7-openjdk-amd64/bin/java &lt;del&gt;Xmx1G -XX:MaxPermSize=256M -Dorg.apache.sshd.registerBouncyCastle=false -jar netconf-testtool-1.0.5-20170413.092814-27-executable.jar  --device-count 1 --debug false --schemas-dir ./schemas --md-sal false &amp;gt;testtool&lt;/del&gt;-netconf-scale-txt-Performance.log 2&amp;gt;&amp;amp;1&lt;/p&gt;

&lt;p&gt;Restperfclient start &lt;span class=&quot;error&quot;&gt;&amp;#91;5&amp;#93;&lt;/span&gt;:&lt;br/&gt;
/usr/lib/jvm/java-7-openjdk-amd64/bin/java &lt;del&gt;Xmx1G -XX:MaxPermSize=256M -jar netconf-testtool-1.0.5-20170413.092814-27-rest-perf-client.jar --ip 10.29.13.188 --port 8181 --edits 65536 --edit-content request1.json --async-requests true --auth admin admin --timeout 22 --destination /restconf/config/network-topology:network-topology/topology/topology-netconf/node/17830-sim-device/yang-ext:mount/car:cars 2&amp;gt;&amp;amp;1 | tee restperfclient&lt;/del&gt;-netconf-scale-txt-Performance.log&lt;/p&gt;

&lt;p&gt;request1.json is here &lt;span class=&quot;error&quot;&gt;&amp;#91;6&amp;#93;&lt;/span&gt;.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;4&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/netconf-csit-1node-periodic-scale-only-beryllium/456/archives/log.html.gz#s1-s2-t1-k3-k7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/netconf-csit-1node-periodic-scale-only-beryllium/456/archives/log.html.gz#s1-s2-t1-k3-k7&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;5&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/netconf-csit-1node-periodic-scale-only-beryllium/456/archives/log.html.gz#s1-s2-t5-k3-k15-k4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/netconf-csit-1node-periodic-scale-only-beryllium/456/archives/log.html.gz#s1-s2-t5-k3-k15-k4&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;6&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://github.com/opendaylight/integration-test/blob/master/csit/variables/netconf/RestPerfClient/request1.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/integration-test/blob/master/csit/variables/netconf/RestPerfClient/request1.json&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="39957" author="tcere" created="Wed, 19 Apr 2017 12:03:37 +0000"  >&lt;p&gt;(In reply to Vratko Pol&#225;k from comment #5)&lt;br/&gt;
&amp;gt; &amp;gt; Is this a comparison between the clustered and non-clustered feature&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Looking at the job definition: Yes, it is.&lt;br/&gt;
&amp;gt; Should the clustered feature be that much slower?&lt;br/&gt;
&amp;gt; &lt;/p&gt;

&lt;p&gt;Do we know if the requests are going through the slave mountpoint? The master mountpoint should have similar performance numbers as the nonclustered feature&lt;br/&gt;
 as there&apos;s no overhead afaik, I can only see this happening on the slave mountpoints and I&apos;m not sure there&apos;s space for performance improvements there since it&apos;s only forwarding the requests.&lt;/p&gt;</comment>
                            <comment id="39958" author="miroslav.kovac@pantheon.tech" created="Thu, 20 Apr 2017 06:26:59 +0000"  >&lt;p&gt;Could you try to start Restperfclient with asynRequests --async-requests false??? for both single node and 3 node cluster?&lt;/p&gt;</comment>
                            <comment id="39959" author="andrej.mak@pantheon.tech" created="Thu, 20 Apr 2017 07:44:47 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-1node-periodic-scale-only-carbon/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-1node-periodic-scale-only-carbon/&lt;/a&gt;&lt;br/&gt;
1node runs Rest perf client with --async-requests true&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-3node-periodic-clustering-scale-only-carbon/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-3node-periodic-clustering-scale-only-carbon/&lt;/a&gt;&lt;br/&gt;
3node runs Rest perf client with --async-requests false&lt;/p&gt;

&lt;p&gt;That&apos;s the reason of poor performance. In current implementation of netconf clustered topology it isn&apos;t possible to use async requests, since it permits only one open write transaction at the time and async requests would cause IllegalStateExceptions - Transaction is already opened for another user.&lt;/p&gt;</comment>
                            <comment id="39960" author="andrej.mak@pantheon.tech" created="Thu, 20 Apr 2017 08:09:42 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/52235/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/52235/&lt;/a&gt; would allow to use async requests in tests. However, simultaneous write on real device via either odl-netconf-topology or odl-netconf-clustered-topology would fail, because lock rpc is sent to device before every write and unlock is sent when write completes.&lt;/p&gt;</comment>
                            <comment id="39961" author="vrpolak" created="Thu, 20 Apr 2017 13:34:46 +0000"  >&lt;p&gt;&amp;gt; Do we know if the requests are going through the slave mountpoint?&lt;/p&gt;

&lt;p&gt;Requests are doing through member-3, which is practically always a slave.&lt;/p&gt;</comment>
                            <comment id="39962" author="andrej.mak@pantheon.tech" created="Fri, 21 Apr 2017 07:55:56 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-1node-periodic-scale-only-carbon/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-1node-periodic-scale-only-carbon/&lt;/a&gt; should be adapted to use --async-requests false&lt;/p&gt;</comment>
                            <comment id="39963" author="vrpolak" created="Fri, 21 Apr 2017 08:36:40 +0000"  >&lt;p&gt;&amp;gt; use --async-requests false&lt;/p&gt;

&lt;p&gt;Suite change &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; tested on Sandbox &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; confirms the (sync) performance is basically the same on 1 and 3 nodes.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/55707/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/55707/2&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://jenkins.opendaylight.org/sandbox/job/netconf-csit-1node-periodic-scale-all-carbon/4/robot/netconf-scale.txt/Performance/Run_Restperfclient/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/sandbox/job/netconf-csit-1node-periodic-scale-all-carbon/4/robot/netconf-scale.txt/Performance/Run_Restperfclient/&lt;/a&gt;&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>8149</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=8149]]></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|i01y8v:</customfieldvalue>

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