<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:59:42 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>[GENIUS-19] long delays between vm boot and flow installation</title>
                <link>https://jira.opendaylight.org/browse/GENIUS-19</link>
                <project id="10126" key="GENIUS">genius</project>
                    <description>&lt;p&gt;Causes DHCP failures.&lt;/p&gt;

&lt;p&gt;Attaching openflow protocol pcap that indicates the amount of time between the VM port creation and the first flow install to table=0.&lt;/p&gt;

&lt;p&gt;Also attaching ODL log.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="19800">GENIUS-19</key>
            <summary>long delays between vm boot and flow installation</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="tali@hpe.com">Tali Ben-Meir</assignee>
                                    <reporter username="koby.aizer@hpe.com">Koby Aizer</reporter>
                        <labels>
                    </labels>
                <created>Sun, 11 Sep 2016 12:18:35 +0000</created>
                <updated>Mon, 12 Sep 2016 15:56:59 +0000</updated>
                            <resolved>Mon, 12 Sep 2016 15:56:59 +0000</resolved>
                                    <version>(unspecified)</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="35816" author="koby.aizer@hpe.com" created="Sun, 11 Sep 2016 12:19:02 +0000"  >&lt;p&gt;Attachment of-port16-port-status-and-flowmod.pcap has been added with description: openflow pcap&lt;/p&gt;</comment>
                            <comment id="35817" author="koby.aizer@hpe.com" created="Sun, 11 Sep 2016 12:19:28 +0000"  >&lt;p&gt;Attachment karaf.log-long-boot-time-ofport16-filtered.log has been added with description: odl log&lt;/p&gt;</comment>
                            <comment id="35814" author="tali@hpe.com" created="Mon, 12 Sep 2016 10:13:30 +0000"  >&lt;p&gt;Reproducible in compute nodes with many allocated cpus (tested with 48)&lt;br/&gt;
We experience major performance degradation because of the way job-queues are handled by DataStoreJobCoordinator &lt;/p&gt;

&lt;p&gt;The DataStoreJobCoordinator main loop:&lt;/p&gt;

&lt;p&gt;while(true) {&lt;br/&gt;
 for (int i = 0; i &amp;lt; THREADPOOL_SIZE; i++) {&lt;br/&gt;
   Map&amp;lt;String, JobQueue&amp;gt; jobEntriesMap = jobQueueMap.get&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/information.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;;&lt;br/&gt;
   if (jobEntriesMap.isEmpty()) &lt;/p&gt;
{
       Thread.sleep(500);
       continue;
   }

&lt;p&gt;   // handle jobEntriesMap&lt;br/&gt;
   // ...&lt;/p&gt;


&lt;p&gt;   if (jobQueueMap.isEmpty()) {&lt;br/&gt;
      reentrantLock.lock();&lt;br/&gt;
      try &lt;/p&gt;
{
         waitCondition.await();
      }
&lt;p&gt; finally &lt;/p&gt;
{
         reentrantLock.unlock();
      }
&lt;p&gt;   }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;There are 2 main issues here resulting in throttling:&lt;br/&gt;
1. Jobs are not distributed evenly between the entries in the jobQueueMap. As a result this thread sleeps a lot - sometimes ~10-20sec&lt;br/&gt;
2. the condition guarding waitCondition.await is never reached since the jobQueueMap is never empty - it always contain an entry per thread.&lt;/p&gt;</comment>
                            <comment id="35815" author="tali@hpe.com" created="Mon, 12 Sep 2016 11:02:47 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/45477/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/45477/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12129" name="karaf.log-long-boot-time-ofport16-filtered.log" size="82693" author="koby.aizer@hpe.com" created="Sun, 11 Sep 2016 12:19:28 +0000"/>
                            <attachment id="12128" name="of-port16-port-status-and-flowmod.pcap" size="526" author="koby.aizer@hpe.com" created="Sun, 11 Sep 2016 12:19:02 +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>6689</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=6689]]></customfieldvalue>

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

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