Openflow Switch Connectio Provider Imp - Boss/Worker threads


Muthukrishnan T
 


Dear Team ,


I am using lithium/boron stable version. I would like to increase the boss/worker threads responsible for handling incoming connection to the port 6633/6653.


I have increased the boss-thread count to 10 to manage 500 incoming switch connection , but even after change only two threads are running ( verified the same in profiling tool visual VM ).

Can anyone tell me how to increase the boss threads/worker threads count and is there any login behind spawning of above threads based on number of incoming connection to the port 6633? 


Change:

<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
            <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
                <!-- default OF-switch-connection-provider (port 6633) -->
                <module>
                    <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl">
                        prefix:openflow-switch-connection-provider-impl
                    </type>
                    <name>openflow-switch-connection-provider-default-impl</name>
                    <port>6633</port>
                    <!--      Possible transport-protocol options: TCP, TLS, UDP -->
                    <transport-protocol>TCP</transport-protocol>
                    <switch-idle-timeout>15000</switch-idle-timeout>
   <threads>

                          <boss-threads>10</boss-threads>
                          <worker-threads>16</worker-threads>
                   </threads>



Reference File :

./openflowplugin-controller-config/src/main/resources/initial/42-openflowplugin-new.xml

./distribution/karaf/target/assembly/system/org/opendaylight/openflowplugin/openflowplugin-controller-config/0.1.5-SNAPSHOT/openflowplugin-controller-config-0.1.5-SNAPSHOT-config-Li.xml


Regards

Muthukrishnan

9952012433

Join {z.archive.openflowjava-dev@lists.opendaylight.org to automatically receive all group messages.