<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:07 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-683] Slow flow addition to operational datastore during 100k flow perf test using Beryllium-SR1 odl-openflowplugin-flow-services-ui</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-683</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;During testing performance of the OpenFlow Plugin using 100k flows we noticed flow addition takes 300 to 700 seconds to show up in operational datastore using Beryllium-SR1 odl-openflowplugin-flow-services-ui. This is a regression from Beryllium release where the numbers were 50 to 150 seconds.&lt;/p&gt;

&lt;p&gt;Reproduction Steps:&lt;br/&gt;
1. Setup Controller and install odl-openflowplugin-flow-services-ui:&lt;br/&gt;
feature:install odl-openflowplugin-flow-services-ui&lt;/p&gt;

&lt;p&gt;2. Start mininet and connect to controller: &lt;br/&gt;
sudo mn --controller=remote,ip=127.0.0.1,port=6653 --topo tree,4&lt;/p&gt;

&lt;p&gt;3. Open a new shell and run the int/test repo tools/odl-mdsal-clustering-tests/clustering-performance-test/odl_tester.py perf script sending one flow per REST request:&lt;br/&gt;
pypy ./odl_tester.py --flows 100000 --threads 5 --timeout 10 &lt;/p&gt;

&lt;p&gt;The test first starts 5 threads, where each thread programs (adds) 20,000 flows using OpenDaylight authenticated REST API. The tool then waits 10 seconds and deletes all 100k flows.&lt;/p&gt;

&lt;p&gt;4. Where mininet is started check flows:&lt;br/&gt;
 ./get-total-found.sh &lt;br/&gt;
Switch s1: 6706 flows&lt;br/&gt;
Switch s2: 6632 flows&lt;br/&gt;
Switch s3: 6604 flows&lt;br/&gt;
Switch s4: 6716 flows&lt;br/&gt;
Switch s5: 6632 flows&lt;br/&gt;
Switch s6: 6574 flows&lt;br/&gt;
Switch s7: 6663 flows&lt;br/&gt;
Switch s8: 6628 flows&lt;br/&gt;
Switch s9: 6809 flows&lt;br/&gt;
Switch s10: 6592 flows&lt;br/&gt;
Switch s11: 6826 flows&lt;br/&gt;
Switch s12: 6607 flows&lt;br/&gt;
Switch s13: 6657 flows&lt;br/&gt;
Switch s14: 6597 flows&lt;br/&gt;
Switch s15: 6757 flows&lt;/p&gt;

&lt;p&gt;Total: 100000&lt;/p&gt;

&lt;p&gt;5. Wait for test to finish and produce report:&lt;br/&gt;
---------------&lt;br/&gt;
 pypy ./odl_tester.py --flows 100000 --threads 5 --timeout 10&lt;/p&gt;

&lt;p&gt;Namespace(bulk_delete=False, flows=100000, fpr=1, host=&apos;127.0.0.1&apos;, no_delete=False, port=&apos;8181&apos;, threads=5, timeout=10)&lt;br/&gt;
BASELINE:&lt;br/&gt;
    devices: 15&lt;br/&gt;
    flows  : 0&lt;br/&gt;
Added 100000 flows in 45.6335361004 seconds &lt;/p&gt;
{204: 100000}

&lt;p&gt;Stats monitoring ...&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
Reported Flows: 13507/100000&lt;br/&gt;
...&lt;br/&gt;
Reported Flows: 68092/100000&lt;br/&gt;
Reported Flows: 68092/100000&lt;br/&gt;
Reported Flows: 68092/100000&lt;br/&gt;
Reported Flows: 68092/100000&lt;br/&gt;
Reported Flows: 68092/100000&lt;br/&gt;
Reported Flows: 68092/100000&lt;br/&gt;
Reported Flows: 68092/100000&lt;br/&gt;
Reported Flows: 85538/100000&lt;br/&gt;
Reported Flows: 85538/100000&lt;br/&gt;
Reported Flows: 85538/100000&lt;br/&gt;
Reported Flows: 85538/100000&lt;br/&gt;
Reported Flows: 85538/100000&lt;br/&gt;
Reported Flows: 85538/100000&lt;br/&gt;
Reported Flows: 85538/100000&lt;br/&gt;
Reported Flows: 85538/100000&lt;br/&gt;
Reported Flows: 85538/100000&lt;br/&gt;
Reported Flows: 85538/100000&lt;br/&gt;
Reported Flows: 85538/100000&lt;br/&gt;
Reported Flows: 85538/100000&lt;br/&gt;
Reported Flows: 85538/100000&lt;br/&gt;
Reported Flows: 85538/100000&lt;br/&gt;
Reported Flows: 85538/100000&lt;br/&gt;
Reported Flows: 100000/100000&lt;br/&gt;
... monitoring finished in +758 seconds&lt;/p&gt;


&lt;p&gt;Flows to be removed: 100000&lt;br/&gt;
Removed 100000 flows in 37.0994989872 seconds &lt;/p&gt;
{200: 100000}


&lt;p&gt;Stats monitoring ...&lt;br/&gt;
Reported Flows: 19/0&lt;br/&gt;
Reported Flows: 19/0&lt;br/&gt;
Reported Flows: 0/0&lt;br/&gt;
... monitoring finished in +2 seconds&lt;/p&gt;


&lt;p&gt;addrate 2191.37083263&lt;br/&gt;
delrate 2695.45419022&lt;/p&gt;

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

&lt;p&gt;Note 758 second flow monitoring time above. &lt;br/&gt;
This is a regression from Beryllium release where the numbers were 50 to 150 seconds for flow monitoring.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27951">OPNFLWPLUG-683</key>
            <summary>Slow flow addition to operational datastore during 100k flow perf test using Beryllium-SR1 odl-openflowplugin-flow-services-ui</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="mgkwill">Marcus G K Williams</reporter>
                        <labels>
                    </labels>
                <created>Fri, 6 May 2016 18:07:49 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:48 +0000</updated>
                            <resolved>Tue, 12 Dec 2017 00:43:35 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="57861" author="miroslav.macko" created="Mon, 31 Oct 2016 14:14:26 +0000"  >&lt;p&gt;Hello Marcus,&lt;/p&gt;

&lt;p&gt;I am sorry I get to this only now. Is it still the issue? &lt;/p&gt;

&lt;p&gt;If it was not fixed in next SRs, I am afraid according the schedule there will be no other release for Beryllium:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://wiki.opendaylight.org/view/Simultaneous_Release:Beryllium_Release_Plan#Milestones.2C_Release_Candidates.2C_and_Service_Releases&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/Simultaneous_Release:Beryllium_Release_Plan#Milestones.2C_Release_Candidates.2C_and_Service_Releases&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So we will probably have to close this bug.&lt;/p&gt;

&lt;p&gt;For actual master it works. And I suppose it will work also in Boron.&lt;/p&gt;

&lt;p&gt;Please let me know, if we can do more on this.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Miro&lt;/p&gt;</comment>
                            <comment id="60394" author="vishnoianil@gmail.com" created="Tue, 12 Dec 2017 00:43:35 +0000"  >&lt;p&gt;Beryllium branch is out of support now. Please re-open the bug if you see the issue in carbon/nitrogen/oxygen branch.&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>5856</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=5856]]></customfieldvalue>

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

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