From: Moiz Raja Date: Fri, 20 Feb 2015 11:27:56 +0000 (-0800) Subject: BUG 2676 : Add some tuning parameters to improve the performance of CDS X-Git-Tag: release/helium-sr3~81^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=cc01f0a1d69263e0c57b4c53d28782f93f84e974;p=integration%2Ftest.git BUG 2676 : Add some tuning parameters to improve the performance of CDS Change-Id: I307a27d7d0cbb7e5b6fe49eb36e4ee4996234bce Signed-off-by: Moiz Raja --- diff --git a/test/tools/cluster-deployer/templates/multi-node-test/akka.conf.template b/test/tools/cluster-deployer/templates/multi-node-test/akka.conf.template index 738d538994..c1ae19f620 100644 --- a/test/tools/cluster-deployer/templates/multi-node-test/akka.conf.template +++ b/test/tools/cluster-deployer/templates/multi-node-test/akka.conf.template @@ -24,6 +24,18 @@ odl-cluster-data { "com.google.protobuf.Message" = proto } + + default-dispatcher { + # Setting throughput to 1 makes the dispatcher fair. It processes 1 message from + # the mailbox before moving on to the next mailbox + throughput = 1 + } + + default-mailbox { + # When not using a BalancingDispatcher it is recommended that we use the SingleConsumerOnlyUnboundedMailbox + # as it is the most efficient for multiple producer/single consumer use cases + mailbox-type="akka.dispatch.SingleConsumerOnlyUnboundedMailbox" + } } remote { log-remote-lifecycle-events = off diff --git a/test/tools/cluster-deployer/templates/openflow/akka.conf.template b/test/tools/cluster-deployer/templates/openflow/akka.conf.template index 738d538994..8391ed9e4c 100644 --- a/test/tools/cluster-deployer/templates/openflow/akka.conf.template +++ b/test/tools/cluster-deployer/templates/openflow/akka.conf.template @@ -24,6 +24,19 @@ odl-cluster-data { "com.google.protobuf.Message" = proto } + + default-dispatcher { + # Setting throughput to 1 makes the dispatcher fair. It processes 1 message from + # the mailbox before moving on to the next mailbox + throughput = 1 + } + + default-mailbox { + # When not using a BalancingDispatcher it is recommended that we use the SingleConsumerOnlyUnboundedMailbox + # as it is the most efficient for multiple producer/single consumer use cases + mailbox-type="akka.dispatch.SingleConsumerOnlyUnboundedMailbox" + } + } remote { log-remote-lifecycle-events = off