<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:51 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-1165] Clustering : Use the 95th percentile number to determine the back pressure for creating transactions</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1165</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Currently we have a back-pressure mechanism in place which throttles creation of transactions based on how much time 98% of the transactions take. On my macbook which is a 2.3 GHz i7 with 8 Cores and 16GB RAM this takes about 140-160ms for a 3-node cluster. Consequently we are able to get only 6-7 txns through when we have mininet connected with 127 switches.&lt;/p&gt;

&lt;p&gt;Based on experimentation I see that if I switch to using the 95th percentile number to throttle transaction creation we can do about 18-20 txn/sec because the 95th percentile number is 40-60ms.&lt;/p&gt;

&lt;p&gt;Just for the record on my mac-book I see 75% of the transactions taking 7-8ms. If back-pressure is set to lower levels however we start seeing some instability in the cluster.&lt;/p&gt;

&lt;p&gt;Here are couple of modifications I had made when I came up with these observations,&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;I set throughput for the default akka dispatcher at 1. This is to make the dispatcher fair. An additional experiment may be to use a different dispatcher for Shards and ShardTransactions.&lt;/li&gt;
	&lt;li&gt;I disabled the IsolatedLeaderCheck. Enabling IsolatedLeaderCheck does seem to have an impact on work processing. This is possibly due to the fact that it uses a schedule to schedule tasks at a fixed interval. If we want to continue to use IsolatedLeaderCheck we may want to change the scheduling strategy, for example we could use the heartbeat mechanism to check if a leader has become isolated. Or we could use the scheduleOnce strategy for scheduling tasks so that we only schedule a task when we have received a message. I need to create a separate defect for this.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25719">CONTROLLER-1165</key>
            <summary>Clustering : Use the 95th percentile number to determine the back pressure for creating transactions</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="moraja@cisco.com">Moiz Raja</assignee>
                                    <reporter username="moraja@cisco.com">Moiz Raja</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Feb 2015 18:13:21 +0000</created>
                <updated>Tue, 24 Feb 2015 02:54:13 +0000</updated>
                            <resolved>Tue, 24 Feb 2015 02:54:13 +0000</resolved>
                                    <version>Post-Helium</version>
                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="50167" author="moraja@cisco.com" created="Tue, 24 Feb 2015 02:54:13 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/15535/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/15535/&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>2734</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=2734]]></customfieldvalue>

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

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

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

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