Merge "BUG 2676 : Add some tuning parameters to improve the performance of CDS"
[integration/test.git] / test / tools / cluster-deployer / templates / openflow / akka.conf.template
index 738d538994d93abf97a2e29139c987030d9d1ca1..50982013a79d296d37e6adfc8d894e62fe23ae60 100644 (file)
@@ -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
@@ -39,7 +52,7 @@ odl-cluster-data {
     cluster {
       seed-nodes = {{{DS_SEED_NODES}}}
 
-      auto-down-unreachable-after = 10s
+      auto-down-unreachable-after = 300s
 
       roles = [
         "{{MEMBER_NAME}}"
@@ -71,13 +84,16 @@ odl-cluster-rpc {
       netty.tcp {
         hostname = "{{HOST}}"
         port = 2551
+        maximum-frame-size = 419430400
+        send-buffer-size = 52428800
+        receive-buffer-size = 52428800
       }
     }
 
     cluster {
       seed-nodes = {{{RPC_SEED_NODES}}}
 
-      auto-down-unreachable-after = 10s
+      auto-down-unreachable-after = 300s
     }
   }
 }