<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:12 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-111] Testtool takes excessive time starting the simulated devices</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-111</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Start testtool using this command:&lt;/p&gt;

&lt;p&gt;java -Xmx1G -XX:MaxPermSize=256M -jar netconf-testtool-1.0.0-20151201.153854-78-executable.jar --device-count 100 --debug true &lt;/p&gt;

&lt;p&gt;The command essentially says that the devices have a dumb config store without fancy features like transaction processing. Thus they shall start extremely quickly (as quickly as the OS can create the sockets and threads for them).&lt;/p&gt;

&lt;p&gt;Yet it is not the case. After I updated the scaling suite to initialize the testtool devices in a separate test case and added reporting that measured the time taken for these devices to become online, I discovered that on Sandbox each device needs 2 seconds and on my notebook with Manjaro from November 2014 the devices need anywhere from 2 seconds up to 30 seconds to start.&lt;/p&gt;

&lt;p&gt;I included a few log fragments (from testtool start to the point of time where all of the devices are &quot;started successfully&quot;) from these test runs on my notebook showing the anomalous behavior. These logs tell me that the problem is somewhere after &quot;Initiated server XXX at YYY&quot; and before &quot;Creating Nio2Acceptor&quot;.&lt;/p&gt;

&lt;p&gt;I tried to dig around in the Java code, trying to figure out the reason for this behavior but I got lost at &quot;NetconfDeviceSimulator.java&quot;, lines 174 and 195; the trace of the bug ends at a strange type called &quot;ChannelFuture&quot; which does not have a ChannelFuture.java file and thus is impossible to find without a working Java debugger.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21124">NETCONF-111</key>
            <summary>Testtool takes excessive time starting the simulated devices</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="jbehran@cisco.com">Jozef Behran</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Dec 2015 10:13:33 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:17 +0000</updated>
                            <resolved>Fri, 13 Oct 2017 10:35:56 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="39111" author="jbehran@cisco.com" created="Tue, 15 Dec 2015 10:13:33 +0000"  >&lt;p&gt;Attachment testtool-log-fragments.tar.xz has been added with description: XZ compressed tarball with 4 log fragments showing the startup of testtool with 100 devices.&lt;/p&gt;</comment>
                            <comment id="39109" author="tcere" created="Tue, 15 Dec 2015 11:29:06 +0000"  >&lt;p&gt;Known issue, try it with: &lt;br/&gt;
&lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_Controller:Netconf:Testtool#Slow_creation_of_devices_on_virtual_machines&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_Controller:Netconf:Testtool#Slow_creation_of_devices_on_virtual_machines&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="39110" author="tcere" created="Fri, 13 Oct 2017 10:35:56 +0000"  >&lt;p&gt;Use the above workaround&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12649" name="testtool-log-fragments.tar.xz" size="9420" author="jbehran@cisco.com" created="Tue, 15 Dec 2015 10:13:33 +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>4777</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=4777]]></customfieldvalue>

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

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

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